[pmwiki-users] Small problem with changed default page

Patrick R. Michaud pmichaud at pobox.com
Sun Jan 20 21:43:08 CST 2008


On Sun, Jan 20, 2008 at 04:48:21PM -0500, Stirling Westrup wrote:
> Anke Wehner wrote:
> > This works on links inside the wiki - [[Group/]] links to Group.Main
> > and all - but one problem I noticed that when I change the url per
> > hand, say, removing the page name, so I have ...wiki.php/Group , it
> > looks for Group.Group rather than Group.Main.
> > 
> > Is there something obvious I missed? (I'm using  .beta65)
> 
> Alas, that is PmWiki's normal behaviour. $PagePathFmt is a /search/ path 
> that tells PmWiki where to look for an under-specified page (ie, Group 
> or Name part missing). It has no effect if no page is found at all. In 
> that case PmWiki is hardwired to call the page $Group.$Group.

This is no longer true (or at least it's supposed to be no longer
true).  PmWiki now uses either $Group.$Group or
$Group.$DefaultName, whichever appears first in $PagePathFmt.

Pm



More information about the pmwiki-users mailing list