[pmwiki-users] Cannot use "_" in page and group titles?

Patrick R. Michaud pmichaud at pobox.com
Wed Dec 6 10:47:59 CST 2006


On Wed, Dec 06, 2006 at 10:52:40PM +0800, Shujun LI wrote:
> Hi all,
> 
> I want to name two groups "XYZ_en" and "XYZ_cn", but noticed that the character "_" is always omitted by PmWiki.
> The two groups always show as "XYZen" and "XYZcn".
> Is there a way to overcome this problem?

In local/config.php, set:

    $PageNameChars = '-\\w';

Be sure to set this *before* making any calls to XLPage() or
including one of the xlpage-*.php scripts.

Pm




More information about the pmwiki-users mailing list