Difference between revisions of "Template:Class doclink"

From WPRDC Wiki
Jump to navigation Jump to search
>Shirayuki
(pass PATH to urlencode, per Help:Magic_words#urlencode)
>SamanthaNguyen
m (add branch parameter, defaults to "master")
Line 1: Line 1:
<span class=plainlinks>[https://doc.wikimedia.org/{{{project|mediawiki-core}}}/master/{{#ifeq:{{{project|mediawiki-core}}}|mediawiki-core|php/}}{{{type|class}}}{{urlencode:{{replace|{{trim|{{#invoke:String|replace|source={{{class|{{{1}}}}}}|pattern=_|replace=__}}}}|\|_1_1}}|PATH}}.{{#if:{{{anchor|}}}|html#{{{anchor}}}|html}} {{{text|{{{2|{{{class|{{{1}}}}}}}}}}}}]</span><noinclude>
<span class=plainlinks>[https://doc.wikimedia.org/{{{project|mediawiki-core}}}/{{{branch|master}}}/{{#ifeq:{{{project|mediawiki-core}}}|mediawiki-core|php/}}{{{type|class}}}{{urlencode:{{replace|{{trim|{{#invoke:String|replace|source={{{class|{{{1}}}}}}|pattern=_|replace=__}}}}|\|_1_1}}|PATH}}.{{#if:{{{anchor|}}}|html#{{{anchor}}}|html}} {{{text|{{{2|{{{class|{{{1}}}}}}}}}}}}]</span><noinclude>
{{documentation}}</noinclude>
{{documentation}}</noinclude>

Revision as of 05:56, 25 September 2020

{{{1}}} Lua error in Module:TNT at line 158: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab.