[Pmwiki-users] Re: Re: AsSpaced function (was pmwiki-2.0.devel9 released)

John Rankin john.rankin
Sun Oct 3 19:48:42 CDT 2004


On Monday, 4 October 2004 12:52 PM, chr at home.se wrote:

>> Another solution is to simply disable the link decorations on links to
>> non-existent pages, so that the WikiWord to a non-existent page looks 
>> like normal text but the link is still available if someone wants to 
>> create the target page.
>
>It's not a bad idea, although it'd still be a matter of only doing this 
>for certain wiki words (e.g. CCDs).

A simple solution might be to write the following local customisation:
(pmwiki 2 markup)

Markup('nowiki','<wikilink','/(\b[[:upper:]]+s)/e',"Keep('$1','L')");

And a suitable $LinkPatterns entry should be able to achieve the same
effect in PmWiki 1.

(Or just omit the ess on plural abbreviations.)

-- 
JR
--
John Rankin





More information about the pmwiki-users mailing list