Aryeh Gregor wrote: > On Fri, Jun 26, 2009 at 6:33 AM, Roan Kattouw<[email protected]> wrote: >> The reason I believe breaking up templates improves performance is >> this: they're typically of the form >> {{#if:{{{someparam|}}}|{{foo}}|{{bar}}}} . The preprocessor will see >> that this is a parser function call with three arguments, and expand >> all three of them before it runs the #if hook. > > I thought this was fixed ages ago with the new preprocessor.
Yes it was fixed in 1.12 (late 2007), as I have repeatedly told this list. The new "if" parser function is passed a placeholder object which can be expanded on demand. -- Tim Starling _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
