[pmwiki-users] Check for existence of page?

Patrick R. Michaud pmichaud at pobox.com
Sat Apr 17 10:05:03 CDT 2010


On Fri, Apr 16, 2010 at 09:45:39PM -0400, Peter Bowers wrote:
> $Conditions['existswc'] = "(boolean)ListPages(FixGlob(\$condparm, '$1*.$2'))";
> [...]
> If indeed it works consistently after more thorough testing then it
> may be a good PITS entry to replace the current "exists" condition
> with this one...

This sounds like a good idea to me, unless someone can
come up with a reason why it might break existing things.

Pm



More information about the pmwiki-users mailing list