[pmwiki-users] Links to nothing changes cause side effect
Hans
design at softflow.co.uk
Tue Feb 21 17:14:13 CST 2006
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. This will ensure that
action(query) type links on a page will not show up with
questionmarks. Or at least for the last instance.
And I am not sure what it would mean for a link generated through
pagelist with a format template of form [[{=$Name}?#comments|...]] or
[[{=$Name}?action=...|...]]. It should show always as a link,
never mind if Name exists or not. -- Testing on pmwiki.org now shows
that [[{=$Name}?action=...|...]] shows always as wikilink, and
[[{=$Name}?#comments|...]] as createlink if page does not exists.
That may be good enough and saves blog comment links.
Best,
~Hans
More information about the pmwiki-users
mailing list