[pmwiki-users] [[Main]] hyperlink oddity

Patrick R. Michaud pmichaud at pobox.com
Fri Jun 22 09:00:23 CDT 2007


On Fri, Jun 22, 2007 at 11:44:41AM +0200, Christophe David wrote:
> In http://www.pmwiki.org/wiki/PmWiki/WikiGroup , we find
> 
> "To link to the default home page of a group (discussed below), the
> name of the page can be omitted, like this:
> 
> *[[Main.]]
> *[[Main/]]"
> 
> In practice, it appears that [[Main]] (without the . or /) has the 
> same effect.
> 
> This is annoying in the following case:
> 
> [[FooBar]] will point to the page FooBar of the current group, UNLESS
> there is a group with the name FooBar, in which case it will point to
> the homepage of that group.
> 
> It that the expected behaviour or should it be fixed ?

The description above isn't the (complete) current default behavior.

[[FooBar]] will always point to FooBar in the current group 
if it exists.  

If FooBar doesn't exist in the current group, then [[FooBar]]
will point to the homepage of the FooBar group if that homepage
exists.

If there's neither a FooBar page in the current group nor a
homepage for the FooBar group, [[FooBar]] generates a link to
create a FooBar page in the current group.

Pm



More information about the pmwiki-users mailing list