[pmwiki-users] Putting ".html" extensions onto pages
Mikael Nilsson
mini at nada.kth.se
Wed Mar 1 02:57:53 CST 2006
tis 2006-02-28 klockan 18:17 -0600 skrev Patrick R. Michaud:
> On Tue, Feb 28, 2006 at 08:42:10AM -0600, Patrick R. Michaud wrote:
> >
> > I've been planning to add an extension that will allow PmWiki
> > to ignore trailing ".html" extensions on pagenames, and to generate them
> > on page links, but just haven't completed that yet.
>
> A question for the list: I'm thinking of setting the core distribution
> so that it ignores any ".html" extension that happens to appear at
> the end of a pagename in a url. For example, PmWiki would treat
> the following urls as equivalent requests for the Main.WikiSandbox:
>
> http://www.pmwiki.org/wiki/Main/WikiSandbox
> http://www.pmwiki.org/wiki/Main/WikiSandbox.html
The only thing I can see is some confusion:
http://www.pmwiki.org/wiki/Main.html --> redirects to Main/Main or
Main/Html?
> Why do this? Well, for normal interactive sites, it's not needed.
> But some people feel more comfortable seeing page names with ".html"
> in the url, and it also enables more possibilities for creating
> off-line, static copies of pages on the site that can still be
> navigated by a browser.
I must say I really don't understand the rationale at all. Millions and
millions of sites don't use .html at all. How can anyone be
uncomfortable with that (okay, in 1992 that would have been strange, but
2006...)? Please enlighten me :-)
Also, those pages aren't stored as HTML, so why should the page be
referenced by .html? That's illogical to me.
And, while offline support is a good idea, that's certainly not an
argument for understanding .html extensions - sure you could
generate .html files when doing an offline/static copy, but such a
static copy would not be run by pmwiki anyway, so why would pmwiki need
to support .html? Am I missing something?
> Does anyone envision any issues with simply having PmWiki ignore
> trailing ".html" extensions in url requests by default...? If not,
> then it's likely to be included in the next beta release.
As I said, I don't see any real issues, but I also don't see the
point... :-)
/Mikael
--
Plus ça change, plus c'est la même chose
More information about the pmwiki-users
mailing list