Difference between revisions of "Template:Class doclink"

No change in size ,  02:01, 30 August 2020
pass PATH to urlencode, per Help:Magic_words#urlencode
>Ciencia Al Poder
(Apparently only mediawiki-core has the /php path :()
>Shirayuki
(pass PATH to urlencode, per Help:Magic_words#urlencode)
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=__}}|PATH}}|\|_1_1}}}}.{{#if:{{{anchor|}}}|html#{{{anchor}}}|html}} {{{text|{{{2|{{{class|{{{1}}}}}}}}}}}}]</span><noinclude>
<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>
{{documentation}}</noinclude>
{{documentation}}</noinclude>
Anonymous user