[Pmwiki-users] yet another answer for "nowikiwords"

Patrick R. Michaud pmichaud
Thu Jan 22 12:36:46 CST 2004


On Thu, Jan 22, 2004 at 06:14:30PM -0000, dave.jackson wrote:
>   
> Well wasn't that easy :-)

PmWiki is designed to make such customizations easy to implement
(if not always easy to figure out).  Sometimes it just takes some good
examples to work from.  :-)

> Works a treat & does exactly what I want.

Excellent.  Here's yet another version of [[nowikiwords]], which still 
allows WikiWord links to existing pages but turns off the ?-links 
to non-existing pages (thus WikiWord links in double brackets 
can continue to work):

   $BrowseDirectives['[[nowikiwords]]'] =
     '$GLOBALS["WikiPageCreateFmt"] = "\$LinkText";
      $GLOBALS["WikiPageCreateSpaceFmt"] = "\$LinkText";';

Available for experimentation and testing at 
http://www.pmichaud.com/wiki/Development/NoWikiWords2 .

Although, perhaps this directive should be "[[nonewwikiwords]]" 
(gee, that's ugly) or "[[nocreatelinks]]" or something along those 
lines, since WikiWord links to existing pages are still active 
in this approach.

Pm



More information about the pmwiki-users mailing list