« Modèle:Localized link » : différence entre les versions
A smarter way to track the link without using {{#ifexist:}}, which is totally unnecessary. Just put the link always, inside a template argument that never produces output. It was causing the expensive pf count on Manual:Configuration settings to be exceeded (865/500!!) |
Well... this didn't work actually, mw was smarter than me :( return the hidden span |
||
Ligne 11 : | Ligne 11 : | ||
}}}}}]]{{#ifeq:{{FULLPAGENAME:{{{1}}}}}|{{FULLPAGENAME:{{translatable}}}}<!--self link (including translation pages)--> | }}}}}]]{{#ifeq:{{FULLPAGENAME:{{{1}}}}}|{{FULLPAGENAME:{{translatable}}}}<!--self link (including translation pages)--> | ||
|</b> | |</b> | ||
}} | }}<span style="display:none">[[:{{{1}}}| ]]</span><!-- T63547 --><noinclude> | ||
{{ {{TNTN|documentation}} }} | {{ {{TNTN|documentation}} }} | ||
</noinclude> | </noinclude> |
Version du 28 octobre 2018 à 10:30
{{#ifeq:|
|
}}[[Special:MyLanguage/{{{1}}}|{{#ifexist:Translations:{{{1}}}/Page display title/en
|{{#if: | |{{ Modèle:TNTN }} }}|{{#if: | |{{{1}}} }}
}}]]{{#ifeq:|
|
}}Modèle:TNTN }}
{{