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

Patrick R. Michaud pmichaud at pobox.com
Tue Feb 21 17:23:55 CST 2006


On Tue, Feb 21, 2006 at 05:19:22PM -0600, Patrick R. Michaud wrote:
> 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'

Sorry, I totally misread your post (if the current page does not
exist).  My fault.

I'll try again next post.

Pm




More information about the pmwiki-users mailing list