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

Patrick R. Michaud pmichaud at pobox.com
Tue Feb 21 14:29:39 CST 2006


On Tue, Feb 21, 2006 at 07:57:47PM +0000, Hans wrote:
> If we don't want links with queries to nonexistent pages be restricted
> to ?action=... in order to be classed as wikilink, perhaps multiple
> class names can be the answer:
> link to nonexistent target with query: class='querylink createlinktext'
> link to nonexistent target without query: class='createlinktext'
> link to existent target with query: class='querylink wikilink'
> link to existent target without query: class='wikilink'

We also need to deal with class='selflink' in the above list.
And each class='...' combination really needs a separate $LinkPage...Fmt
variable, or else we have to have some sort of algorithmic method
for coming up with the different links.

(And for historical reasons, there's also a $LinkPageCreateSpaceFmt
version that has to be handled whenever a link to a non-existent
page has a space in the link text.)

But I'm now thinking we'll do some modification of the beta25 behavior
before it's all done.

Pm




More information about the pmwiki-users mailing list