[Pmwiki-users] RE: pmwiki-0.6.beta1 released

Patrick R. Michaud pmichaud
Thu Jan 22 10:34:50 CST 2004


On Thu, Jan 22, 2004 at 04:36:03PM -0000, dave.jackson wrote:
> 
> To add to the first post, I thought maybe replacing the [[NoWikiWord]]
> with a bit of script that sets the $WikiWord variable to something
> unlikely on Entry to the page, and resets it on Exit.
> 
> Beyond my skill set unfortunately.

...another solution that adds a "[[nowikiwords]]" directive to wiki pages:
place the following in local.php:

  $BrowseDirectives['[[nowikiwords]]'] = 
    'unset($GLOBALS["LinkPatterns"][800]);';

Any page containing [[nowikiwords]] (in the page itself, GroupHeader,
or GroupFooter) will have WikiWords completely disabled for that page,
including double-bracketed links.  FreeLinks, Group.WikiWord, and 
Group/WikiWord links will continue to work.

Pm



More information about the pmwiki-users mailing list