[Mediawiki-l] parserfunctions question: evaluate vs. display?
Rolf Lampa
rolf.lampa at rilnet.com
Wed Apr 9 02:06:20 UTC 2008
Brion Vibber wrote:
> Daniel Barrett wrote:
>
>> In a parserfunctions statement like this:
>>
>> {{#if: {{#some-condition:}} | {{#some-big-computation:}} }}
>>
>> if #some-condition is false, which of the following should happen?
>>
>> 1. #some-big-computation gets fully evaluated, but results are not
>> displayed
>> 2. #some-big-computation is not evaluated at all
>>
>
> #2 (logical shortcut).
>
> I can confirm this is how it works in both 1.12 and trunk (1.13 dev branch).
>
Wow! thank you for this news! =)
Regards,
// Rolf Lampa
More information about the MediaWiki-l
mailing list