[pmwiki-users] Links to nothing changes cause side effect

Patrick R. Michaud pmichaud at pobox.com
Tue Feb 21 17:19:22 CST 2006


On Tue, Feb 21, 2006 at 11:14:13PM +0000, Hans wrote:
> Tuesday, February 21, 2006, 9:53:31 PM, Patrick wrote:
> > Thus we have (*** = behavior differs from beta25):
> 
> >     [[ExistingPage]]                 class='wikilink'
> >     [[ExistingPage?skin=gemini]]     class='wikilink'
> >     [[ExistingPage?action=diff]]     class='wikilink'
> 
> >     [[NewPage]]                      class='createlink'
> >     [[NewPage?skin=gemini]]          class='createlink'
> >     [[NewPage?year=2006]]            class='createlink'
> >     [[NewPage?action=diff]]          class='wikilink'    ***
> 
> >     [[{$Name}]]                      class='selflink'
> >     [[{$Name}?skin=gemini]]          class='wikilink'
> >     [[{$Name}?action=diff]]          class='wikilink'
> 
> > In the last three instances using {$Name}, if the current page 
> > doesn't exist then the link is always a createlink (this is
> > also the same as beta25).
> 
> This is not what hoped for, unless I misunderstand something.
> For the last two instances, if the current page does not exist, I
> would like the link to be a wikilink. 

Isn't that exactly what the above table says...?

    [[{$Name}?skin=gemini]]          class='wikilink'
    [[{$Name}?action=diff]]          class='wikilink'

Or are you referring to a different "last two instances"?

Pm





More information about the pmwiki-users mailing list