[pmwiki-users] PHP 5.3 woes.
Vince Admin Account
vadmin at math.uconn.edu
Fri Oct 23 15:01:12 CDT 2009
On Oct 19, 2009, at 5:13 PM, rogutes at googlemail.com wrote:
> The problem with pagelists lies in GlobToPCRE() function in pmwiki.php
> and is tracked at http://pmwiki.org/wiki/PITS/01149 . It concerns
> exclusion patterns (name=-Page) only.
The suggested workaround for exclusion patterns (at least in my case)
allows the pagelist to work, but does not
exclude anything. A workaround for this is to use $SearchPatterns in
the config.php file. This worked well for me.
For example, to exclude all groups having a "-" in their name:
$SearchPatterns['default'] = '!^[A-Za-z]*-[A-Za-z]\.!;
I know this will not work if the group names have special or
international characters in their name, but it should be easy to adapt.
Thanks for pointing out the PITS entry.
More information about the pmwiki-users