[Pmwiki-users] Re: Single-Word WikiWords
Patrick R. Michaud
pmichaud
Sat May 8 11:07:13 CDT 2004
On Sat, May 08, 2004 at 01:15:37PM -0300, Fabio Reis Cecin wrote:
>
> > Here's another approach that might work: Instead of maintaining
> > a single page containing the list of disabled WikiWords, how about
> > indicating the disabling via the page itself.
> > [...]
> > should be linked or not or how many times it should be linked.
>
> Seems _perfect_ !
>
> And if you really want to link to the page, then {{BannedWord}} and
> {{bannedsingleword}} will do it, so it is still flexible.
>
> Hopefully this will run fast.
Should be fairly quick. The reading of the page from disk will only occur
the first time the (bare) WikiWord is encountered on a page.
> Anyway it's good to create one of these "switch" PHP variables that
> allows disabling these features that scan wiki.d/ ...
> $EnableWikiWordBanning = [0, 1]; // ?
The switch would be only for SingleWikiWords -- so it'd need to be something
like $EnableSingleWikiWordLinks = [0,1]; Banning of other wikiwords
is normally handled by $WikiWordCount and $WikiWordCountMax.
Pm
More information about the pmwiki-users
mailing list