[pmwiki-users] Odd phenom/apparent bug? on pmwiki.org

John Rankin john.rankin at affinity.co.nz
Tue Mar 28 18:04:57 CST 2006


On Tuesday, 28 March 2006 4:08 AM, Tegan Dowling <tmdowling at gmail.com> wrote:
>On 3/26/06, Hans <design at softflow.co.uk> wrote:
>
> In particular it is caused in the 'mac' (macrons) section by the code
>line:
>     $FmtP['/\\$Title/e'] = '(@$PCache[$pagename]["title"]) ?
>          Macronise($PCache[$pagename]["title"]) :
>          (($GLOBALS["SpaceWikiWords"]) ? \'$Namespaced\' :
>\'$Name\')';
>
>Having a skin template with $Titlespaced will have the page title
>appended by 'spaced', and pages with no set title will get the title
>"$Namespacedspacedspaced" (literal!)
>
>Disabling 'mac' in markup extensions will make $Titlespaced work
>again.
>
> For those of you playing from home, this means putting
>
> $MarkupExtensions['mac'] = false;
>
> in config.php, on a line above
>
> include_once("$FarmD/cookbook/extendmarkup.php");
>

This is fixed in the latest version, I hope. However, the latest
version now requires pmwiki 2.1. The transition from $FmtP
to $FmtPV seems to have broken that bit of code.

There are a couple of other bug fixes as well.

Thanks for pointing it out.
-- 
JR
--
John Rankin






More information about the pmwiki-users mailing list