[pmwiki-users] markup expr plus problem

Dominique Faure dominique.faure at gmail.com
Wed Mar 5 05:33:25 CST 2008


On Mon, Mar 3, 2008 at 6:06 PM, noskule <noskule at gmx.net> wrote:
> hi Dfaure <http://www.pmwiki.org/wiki/Profiles/Dfaure>
>
> It seams mep doesn't recognize all pagevariables like {*$FullName}.
>
> (:markup:)
> Works:
> * {(add {*$:commentcount} 1 )}
> * {(add {Main.WikiSandbox$:commentcount} 1 )}
> ({Main.WikiSandbox$:commentcount})
> Don't Work:
> * {(add {{*$Group}.WikiSandbox$:commentcount} 1 )}
> ({{*$Group}.WikiSandbox$:commentcount})
> * {(add {{*$FullName}$:commentcount} 1 )} ({{*$FullName}$:commentcount})
> (:commentcount: 5:)
> (:markupend:)
>

Hi,

I suspect you enabled the $EnableExprVarManip flag?
Variable evaluation was only done one time with this parameter set,
which meant only one level definitions were handled.
I updated the script accordingly and added some new features
(HttpVariable recipe compatibility and {(sprintf...)} expression)

Thanks,
Dominique



More information about the pmwiki-users mailing list