[Mediawiki-l] parserfunctions question: evaluate vs. display?
Daniel Barrett
danb at VistaPrint.com
Tue Apr 8 18:14:02 UTC 2008
So Rolf, are you saying that the #if statement is broken, or that my #if
statement should be changed somehow?
{{#if: {{#some-condition:}} | {{#some-big-computation:}} }}
(Incidentally, my #if statement contains only one boolean expression.
{{#some-big-computation:}} is the "THEN" block.)
DanB
-----Original Message-----
It's absolutely crucial to short circuit boolen logic at first false
result - in cases logically equivalent to AND operations.
More information about the MediaWiki-l
mailing list