[pmwiki-users] '_' gets lost in links, new pages
Patrick R. Michaud
pmichaud at pobox.com
Tue Aug 7 10:26:44 CDT 2007
On Tue, Aug 07, 2007 at 04:03:17PM +0200, Bernd Reinhold wrote:
> Hi all!
>
> If I want to create a new page I insert a link on an existing page, like
> this:
>
> "Further details are provided [[my_beautiful_new_page | on this page]]."
>
> Unfortunately in the link the underscores get lost/ get stripped, so
> that my beautiful new page is actually called Main.mybeautifulnewpage.
>
> This is at first site unfortunate/ undesirable. Is this unavoidable?
> Is there a workaround?
Try setting in local/config.php:
$PageNameChars = '-\\w';
This allows underscores to be preserved in pagenames.
Pm
More information about the pmwiki-users
mailing list