[pmwiki-users] page naming oddity or bug
Patrick R. Michaud
pmichaud at pobox.com
Thu Feb 10 10:14:57 CST 2005
On Thu, Feb 10, 2005 at 10:56:12AM -0500, Neil Herber wrote:
>
> However, Main.WikiSandbox behaves differently. The filename does indeed
> change, but PmWiki search seems to find both names (box vs. Box) even
> though only one exists. In the case of TestPage, PmWiki search only finds
> the latest spelling.
>
> Again, this does not cause any problem, it just makes the search result
> look strange. Is Main.WikiSandbox some kind of "special" name or file?
Yes and no. When doing the search PmWiki is likely finding
Main.WikiSandBox in wiki.d/ and it's finding Main.WikiSandbox in
wikilib.d/, so it does its case-sensitive comparison and thinks they're
two separate pages. However, whenever someone requests the sandbox
page (in any letter case), it'll always grab the wiki.d/ version because
Windows treats both "Main.WikiSandbox" and "Main.WikiSandBox" as being
valid names for the file in wiki.d/.
In short, Main.WikiSandbox is "special" only because there's a version
of the page distributed in wikilib.d/ .
Try deleting the sandbox page (in wiki.d/) and the double-entry should
disappear.
Pm
More information about the pmwiki-users
mailing list