[Pmwiki-users] possible bug in $WikiPageCreateFmt

John Rankin john.rankin
Tue Jul 6 18:47:23 CDT 2004


pmwiki.php contains the line:

    $WikiPageCreateSpaceFmt = &$WikiPageCreateFmt;

If one adds a local definition of $WikiPageCreateSpaceFmt
to config.php, $WikiPageCreateFmt takes on the same value.
I have tested this with an action=diag on a plain PmWiki 
install.

If the line above is changed to read:

    $WikiPageCreateSpaceFmt = $WikiPageCreateFmt;

one can change $WikiPageCreateSpaceFmt and $WikiPageCreateFmt 
keeps its original value.

I think the current behaviour is a bug, introduced some time
in version 0.6. It should be possible to set the spaced and
unspaced formats independently.

-- 
JR
--
John Rankin





More information about the pmwiki-users mailing list