[Pmwiki-users] Disabling WikiWords problem with Main group.

Elindal elindal
Wed Sep 10 08:22:29 CDT 2003


I have followed the instructions to disable WikiWords
http://www.pmichaud.com/wiki/Cookbook/DisableWikiWords

I knew this would break a few things in the Main group and in the PmWiki group, so after adding
  $WikiWordPattern = "\001\001";
to local.php, I added
  $WikiWordPattern="[A-Z][A-Za-z0-9]*(?:[A-Z][a-z0-9]|[a-z0-9][A-Z])[A-Za-z0-9]*";
to Main.php and PmWiki.php

I expected this to disable WikiWords in all groups except Main and PmWiki. This is not what happened, WikiWords were still fully enabled.

After trying a few things, I found out that while WikiWords were turned on in Main.php, they were active in every group on the site. This seems odd to me as I would have expected that any changes in Main.php would only have affected that group.

I have removed Main.php and have manually updated all of the stuff in Main to use FreeLinks, but I am still concerned that Main.php overrode local.php for all groups.

Has anyone else seen this?

Richard Canning
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://contra.vosn.net/pipermail/pmwiki-users_pmichaud.com/attachments/20030910/ee7b0f74/attachment.htm


More information about the pmwiki-users mailing list