[pmwiki-users] Make URLs not case sensitive?

Neil Herber nospam at mail.eton.ca
Fri Jan 28 14:34:30 CST 2005


At 2005-01-28  01:26 PM -0600, Patrick R. Michaud is rumored to have said:
>If [[page name]] becomes a URL to http://example.com/wiki/main/pagename,
>where is PmWiki supposed to learn that it should be displayed as "Page Name"
>in the title?  We'd have to use "page_name" in the URLs to keep the
>spacing and be able to figure out the capitalization rules (similar to
>how MediaWiki works).
>
>Remember that a page's name should generally have different capitalization
>from how it appears in the text, so one cannot rely strictly on the
>case of the letters in a link to determine the case of the page's title.

Forgive my boldness, but are there not three names involved here?
1) file name - the actual name used by the OS to store and retrieve the file
2) page name - the name of the Wiki page, generally identical to the file 
name except for case
3) page title - the meta tag used to name the page in a browser "title" 
display with a (:title:) directive

To create a page a user either enters a URL that has the non-existent name 
in it, or they create a link on some page to a non-existent page and then 
click on the "?". In either situation (I almost said "case", which would 
have confused things!)  the user has specifically  entered the case of the 
page name which I am assuming PmWiki can store regardless of the case used 
for the file name.

I am not sure I understand the second paragraph quoted above, possibly 
because of name/title usage.


Neil

Neil Herber
Corporate info at http://www.eton.ca/
Eton Systems, 15 Pinepoint Drive, Nepean, ON, Canada K2H 6B1
Tel: (613) 829-4668 




More information about the pmwiki-users mailing list