[Pmwiki-users] acronyms that aren't wikiwords

Neil Herber nospam
Thu Jan 20 20:16:14 CST 2005


At 2005-01-20  08:40 PM -0600, Kevin Walsh is rumored to have said:
>I have
>
>         $SpaceWikiWords = 1;
>
>But currently words like "CEOs" and "GMOs" are getting wikiworded into "CE 
>Os" and GM Os".
>Is there a setting for "acronyms" (consecutive capital letters) to be 
>exceptions from the above variable?

You can insert the directives:

         (:nospacewikiwords:)
or
         (:spacewikiwords:)

on any page to override the setting either way for the whole page.

If you just want to affect a single word like CEOs in one occurrence, use 
`CEOs.

If you never want it to link, look for these lines in  local/config.php:

##  The $WikiWordCount array can be used to control the number of times
##  a WikiWord is converted to a link.  This is useful for disabling
##  or limiting specific WikiWords.
# $WikiWordCount['PhD'] = 0;               # disables 'PhD'

So what you want is:

         #$WikiWordCount['CEOs'] = 0;



Neil

Neil Herber
Corporate info at http://www.eton.ca/
Eton Systems, 15 Pinepoint Drive, Nepean, ON, Canada K2H 6B1
Tel: (613) 829-4668 




More information about the pmwiki-users mailing list