On Nov 20, 2007 2:57 PM, Roman <[EMAIL PROTECTED]> wrote:
> Thank you Hans. I slightly modified the recipe this way
>
> SDV($MakePageNamePatterns, array(
> "/'/" => '',
> "/[^$PageNameChars]+/" => ' ',
> "/\\s+/" => '-'
> ));
>
> so page names don't use CamelCase and spaces are converted to hyphens
> which is more SEO friendly.
Better rule is this:
SDV($MakePageNamePatterns, array(
"/'/" => '',
"/[^$PageNameChars]+/" => '-',
'/((^|[^-\\w])\\w)/e' => "strtoupper('$1')"
));
because PmWiki currently does not support page names beginning with
lowercase character in all functions.
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users