[pmwiki-users] Page Names

Hans design5 at softflow.co.uk
Wed Jul 16 04:18:23 CDT 2008

Wednesday, July 16, 2008, 9:41:44 AM, Hans wrote:

> Would the new target string splitting rule not be good as PmWiki
> default? Allowing dot-followed-by-space generally?

How about changing the core MakePageName function so that
the splitting of group and name part is not hardcoded, but
defined with a global:

either the current default:
   SDV($GroupSeparatorPattern, '/[.\\/]/');

or a new one allowing dot-spaces in names:
   SDV($GroupSeparatorPattern, '/\\/|\\.(?!\\s)/');

Then it can be customised alongside $PageNameChars and
$MakePageNamePatterns, and without having to introduce a
whole custom MakePageName function.

MakePageName is such a central core function; and while a recipe
version may work very well, there is the danger it may be outdated.


More information about the pmwiki-users mailing list