[Pmwiki-users] tag to disable wikiword generation

Patrick R. Michaud pmichaud
Tue Jun 8 16:30:42 CDT 2004


On Tue, Jun 08, 2004 at 02:08:19PM -0400, Dan wrote:
> How can I disable the generation of wikiwords for a page?
> 
> For example, if I have a page of source code that uses mixed-cased names, I 
> get a lot of unreferenced wiki pages because these mixed-case names creates 
> the wikiword.
> 
> Is there a special code I can place in the page that will disable this auto 
> generation?

There isn't one in the default version of PmWiki, but you can add the
following to your config.php to create one:

   $BrowseDirectives['[[nowikiwords]]'] =
     '$GLOBALS["WikiWordCountMax"]=0;';

With this in place, any page containing "[[nowikiwords]]" will have 
its wikiwords disabled on that page.

Pm



More information about the pmwiki-users mailing list