Tim Starling wrote:
I would like to hear comments about the syntax, before we put them live. Syntax is guided by consistency with existing functions such as {{localurl:}}, but if it looks too unwieldy then we can probably change it.
I suppose an extension is easier to read and write and you more likely do clean programming instead of hacking around with WikiSyntax:
<conditional> <if test="">...</if> <else>...</else> </conditional>
or
<conditional> <case test="">...</case> <case test="">...</case> ... <otherwise>...</otherwise> </conditional>
and
<expr>...</expr>
Conditional constructs and mathematical expressions should not confuse the normal Wiki Syntax - we also include TeX with <math>...</math> and not with {{math:...}} or something else. <noinclude> and <includeonly> are special cases of conditional content.
Greetings, Jakob