[pmwiki-users] Page Names
design5 at softflow.co.uk
Wed Jul 16 03:41:44 CDT 2008
Wednesday, July 16, 2008, 3:56:30 AM, Petko Yotov wrote:
> Here is an experimental solution, suggested by Pm, that needs to be tested but
> it seems to work:
> While there is no guarantee, the recipe seems to fix the above issues .
> Testing and comments are welcome...
Interesting. Certainly much better than my suggested markup change.
This recipe replaces the MakePageName function with its own version
The difference seems to be that with it a target string is split
either by a dash '/' or a dot '.', but only if the dot is not
followed by a space (which is exactly what we want).
The other difference is the line in var $MakePageNamePatterns:
"/\\. /" => ' ', # dot-space to space
But when I comment it out, I still get the same links, so I wonder if
it is needed at all?
Would the new target string splitting rule not be good as PmWiki
default? Allowing dot-followed-by-space generally?
More information about the pmwiki-users