[pmwiki-users] Putting ".html" extensions onto pages
Susan
pmwiki at onebit.ca
Wed Mar 1 09:30:35 CST 2006
Okay, I was working in the wrong direction. (Note to self: don't do
newsgroup before coffee.)
People who like *my* pages can get careless copying the URL. I rather
like that!
I can still see a problem, depending on how uploaded files work. Is
there a chance that the extension will be the only difference between an
uploaded file and a wiki page?
<Susan does some research on pmwiki.org. Gets conflicting results. Skins
to download are in http://www.pmwiki.org/pmwiki/uploads/Cookbook/
But the pmwiki downloads are in
http://www.pmwiki.org/pub/pmwiki/pmwiki-2.0.13.tgz
So, not all uploads are in /uploads.>
I often have the same thing in .doc, .html and .rtf formats. I don't
recall having .shtml and .html that wasn't a mistake, but it's still a
possibility.
Aha! (We'll see. Track record is rather poor this morning.)
- If the requested page, with requested extension, exists, then use it.
- Otherwise, make the best guess for the wiki page (which is likely to
be dropping the suffix).
Susan
Jonathan Scott Duff wrote:
> On Wed, Mar 01, 2006 at 09:29:58AM -0500, Susan wrote:
>
>>If I'm reading this right:
>
>
> I don't think you are.
>
>
>>I find a page I want to share with my friends,
>>go to the top of the FireFox window,
>>copy the URL : www.asdf.jklsde/qwert/uyiop.htm
>>paste that string into the wiki-code.
>>
>>The program will convert it to
>>www.asdf.jklsde/qwert/uyiop.html
>
>
> Nope. PmWiki will do no "conversion" of URLs. What Pm is talking
> about is just making PmWiki ignore any .html suffix that might appear
> in the URL for wiki pages. So, if you want to publish URLs to your
> PmWiki installation as
>
> http://www.susan.com/wiki/Main/WhoAmI
>
> or as
>
> http://www.susan.com/wiki/Main/WhoAmI.html
>
> PmWiki will treat them equivalently.
>
> However, your email does twiddle my brain a bit. Assuming for the
> moment that PmWiki ignores a .html suffix, should it also ignore a
> .htm suffix? Seems like there should be a user-defined array of
> suffixes to ignore.
>
> -Scott
More information about the pmwiki-users
mailing list