[pmwiki-users] Disabled wikiword is still spaced, even though it's disabled

Patrick R. Michaud pmichaud at pobox.com
Fri Oct 6 02:51:06 CDT 2006


On Fri, Oct 06, 2006 at 11:55:18AM +1000, Matt Doran wrote:
> Patrick R. Michaud wrote:
> > On Fri, Oct 06, 2006 at 11:27:47AM +1000, Matt Doran wrote:
> > > I recently upgraded from PmWiki V1 to V2 (2.1.26).  We have
> > > "$SpaceWikiWords = 1" and we've found that even though we've disabled a
> > > wiki word  using:
> > >
> > >   $WikiWordCount['WikiWord'] = 0;
> > >
> > > The word still is spaced.  e.g. Wiki Word
> >
> > $WikiWordCount[] is simply intended to control the number of times
> > a wikiword is converted into a link, it doesn't change the way
> > that the wikiword is displayed (including spacing).
> 
>    The main reason we need this is that our company/product name is 
>    [a WikiWord] ... and we don't want it to be spaced.   Is there a 
>    way to stop the spacing for just that word?

In version 2.2.0-beta14 (just released), you can now set:

    $WikiWordCount['WikiWord'] = -1;

which in addition to preventing WikiWord from becoming a link will
also cause it to ignore any $SpaceWikiWords setting.  Does that
work?

Pm




More information about the pmwiki-users mailing list