[pmwiki-users] Confused wikitrail in DocumentationIndex (2.1.3)

H. Fox haganfox at users.sourceforge.net
Mon Mar 20 20:16:55 CST 2006

On 3/20/06, ljb <ljb220 at mindspring.com> wrote:
> Looking at 2.1.3, my own site and pmwiki.org, the WikiTrail in
> PmWiki/DocumentationIndex seems to be confused.  Click on the first page
> BasicEditing and look at the trail links at the bottom: the next page
> should be CreatingNewPages but instead it jumps to AccessKeys. And there
> isn't a visible link to AccessKeys on DocumentationIndex.  It is only in
> the invisible >>comment<< links at the bottom of the page (added recently
> for FAQ inclusion). Very confusing to a reader.
> It seems that if you have duplicate page names in the list which makes the
> trail, it uses the last match to make the previous and next links.

It used to be the first match, not the last.  Originally it was a loop
and AccessKeys was outside the loop.  Something must have changed in

>  That's
> what MakeTrailPath() and friends do in trails.php: keeps searching after a
> page name match.  At first glance, it should break out of the loop after
> matching pagename.  But circular trails won't work if you do that.  I
> think there is a basic conflict between the idea of a circular trail and
> of being able to make a block of extra comment links at the bottom for FAQs.

The conflict didn't exist a week ago, because it originally worked.


More information about the pmwiki-users mailing list