Content deleted Content added
Dinoguy1000 (talk | contribs) →#time: fix link to code (I have no idea if there's a "better" link than this) |
|||
Line 80:
===Nested transclusions===
Note that the sizes of the wikitexts of all expanded templates and parser functions are added, even in the case of nesting (see [https://bugzilla.wikimedia.org/show_bug.cgi?id=13260 bugzilla 13260],or [[phab:T15260]]), so extra levels increase the count. If page A transcludes B and B does nothing but transclude C, then the size of C will be counted ''twice'' towards the post-expand include size on page A, and similarly if a template consists of a parser function call, or a parser function has a template call as parameter, etc. This can sometimes be mitigated by letting the parser function produce a template name instead of a template result, e.g. by replacing
:<code><nowiki>{{#if:{{{test|}}}|{{template1}}|{{template2}} }}</nowiki></code>
with
|