[pmwiki-users] Tracking a Pmwiki bug

pmwiki at 911networks.com pmwiki at 911networks.com
Sat Jun 26 10:18:49 CDT 2010


>Hello. Could it be that you have some custom naming function or 
>$MakePageNamePatterns which uses dashes instead of the standard 
>CamelCaseWords? If additionally, in your pagelist template you use 
>{=$Namespaced} instead of {=$Name}, that could be the reason. 

Yes, I allow underscores and dashes

$PageNameChars = '-_[:alnum:]';

$MakePageNamePatterns = array(
    "/[^$PageNameChars]+/" => ' ', # convert non pagename characters to space
    '/((^|[^-\\w])\\w)/e' => "strtoupper('$1')", # convert first character after space to Upper
    '/ /' => '-'); # convert spaces to underline

>
>If you do use {=$Name} or {=$FullName}, it is possible that the
>custom naming scheme breaks the pagelist -- in that case, maybe
>contact the author of the recipe.

I use Triad


-- 
Thanks
http://www.911networks.com
When the network has to work



More information about the pmwiki-users mailing list