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

Tegan Dowling tmdowling at gmail.com
Mon Mar 27 10:08:53 CST 2006


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");
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20060327/91fe0eea/attachment.html 


More information about the pmwiki-users mailing list