This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests
are now tracked at the issue tracker at Github.
Not a bug
FS#1248 problem with 'youarehere' links for namespaces and pages with the same name
Couldn't find any reference on this, so sorry if it has already been dealt with.
I am using the 2007-06-26 version of Dokuwiki in a Windows 2000 server.
I was having a problem with 'youarehere' links for namespaces and pages with the same name.
For example, say I have the namespace foo, and the pages foo and bar in it. The files would be
When I opened the inner page foo (foo/foo.txt), there would be only one 'youarehere' link for itself instead of the namespace>>page (should be foo>>foo). When I opened the page bar, there would be the 'youarehere' link for the namespace (foo>>bar) but it linked to the inner page foo/foo.txt (should be foo.txt).
I followed the code and figured out this is done in function resolve_pageid in inc/pageutils.php
Solved my problem by swapping the elseif's (lines 401 & 405) when checking if the page exists, so my version now first checks if a page named like the namespace exists before checking that inside the namespace.