[pmwiki-users] Page Titles with Spaces
Patrick R. Michaud
pmichaud at pobox.com
Thu Dec 7 19:38:15 CST 2006
On Thu, Dec 07, 2006 at 04:16:50PM -0500, Scott Connard wrote:
> On 12/7/06, Sivakatirswami <katir at hindu.org> wrote:
> > I'm seeing this peculiar behavior where PMwiki is generating a
> > space in
> > the link text of default page titles.
> >
> > create link:
> >
> > TODOs-LandManagement.test
> >
> > OK, we get the normal question mark for non-existent page... click
> > on the link to create the new page and we have group name in the page
> > title... with a space in it.
> >
> > TOD Os-LandManagement
>
> What I've done to overcome this issue is to define a custom local/
> group.php file with $GroupSpaced defined in it which is what I use in
> the skin's .tmpl file instead of $Group.
That works. It's also possible to replace PmWiki's default
AsSpaced function with a custom function that does exactly
what you want. The $AsSpacedFunction variable holds the
name of the function that PmWiki should call in order to
produce a spaced version of a pagename.
Pm
More information about the pmwiki-users
mailing list