Difference between revisions of "Template:Extension"

From WPRDC Wiki
Jump to navigation Jump to search
>Pppery
(Redoing maintenance links to avoid population Category:Pages with script errors and/or Category:Pages with template loops)
>Pppery
(Support a |repo= parameter to specificy the name of the repository; remove documentation pertaining to obsolete Extension matrix/AutoExtensionList)
Line 234: Line 234:
<td>'''<translate><!--T:23--> Download</translate>'''</td>
<td>'''<translate><!--T:23--> Download</translate>'''</td>
<td><!--
<td><!--
-->{{#if:{{{download|}}}|{{{download}}}|''<translate><!--T:24--> No link</translate>''}}<!--
-->{{#if:{{{repo|}}}|{{WikimediaDownload|{{{repo}}}}}|{{#if:{{{download|}}}|{{{download}}}|''<translate><!--T:24--> No link</translate>''}}}}<!--
-->{{#if:{{{readme|}}}|<br />{{{readme}}}<!-- -->}}<!--
-->{{#if:{{{readme|}}}|<br />{{{readme}}}<!-- -->}}<!--
-->{{#if:{{{changelog|}}}|<br />{{{changelog}}}<!-- -->}}</td>
-->{{#if:{{{changelog|}}}|<br />{{{changelog}}}<!-- -->}}</td>
Line 684: Line 684:
</tr>
</tr>
<tr>
<tr>
<td><span id="download">'''download'''</span></td><td><translate><!--T:207--> '''link to the download''' : <tvar|url>[https://phabricator.wikimedia.org/r/project/mediawiki/core Git]</>, <tvar|wikimediadownload>{{tl|WikimediaDownload{{#translation:}}}}</> with <tvar|server>server=svn</> in case it was not migrated from <tvar|svn>{{ll|Subversion|Subversion}}</>. If you put the code into page in the MediaWiki wiki, link to it using a full page name and section name, e.g. <tvar|code><code> <nowiki>[[Extension:Example/version_1.22a#Code]]</nowiki> </code></> (it must remain valid when bot-copied elsewhere)</translate></td>
<td><span id="download">'''download'''</span></td><td><translate><!--T:207--> '''link to the download''' : <tvar|url>[https://phabricator.wikimedia.org/r/project/mediawiki/core Git]</>, <tvar|wikimediadownload>{{tl|WikimediaDownload{{#translation:}}}}</> with <tvar|server>server=svn</> in case it was not migrated from <tvar|svn>{{ll|Subversion|Subversion}}</>. </translate></td>
</tr>
</tr>
<td><span id="repo">repo</span></td><td><translate>Name of the Gerrit repository the extension's code is stored in, if different from the page name. Setting this automatically sets {{para|download}}, and allows the template to automatically load data from the appropriate <tvar|1><code>extension.json</code></> file.</translate></td>
<tr>
<tr>
<td>{{visible anchor|readme}}</td><td><translate><!--T:208--> external link to the <tvar|readme>readme</> file, e.g. <tvar|url>https://phabricator.wikimedia.org/r/browse/mediawiki/extensions/Flow;master;README</></translate></td>
<td>{{visible anchor|readme}}</td><td><translate><!--T:208--> external link to the <tvar|readme>readme</> file, e.g. <tvar|url>https://phabricator.wikimedia.org/r/browse/mediawiki/extensions/Flow;master;README</></translate></td>

Revision as of 21:01, 16 May 2020

<languages/> Lua error in Module:TNT at line 158: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab.[[Category:Template documentation pages{{#translation:}}]] Maintenance: vulnerabilities, archived

[[Category:Info templates{{#translation:}}|Extension]] [[Category:Extension creation{{#translation:}}]] [[Category:Categorizing templates{{#translation:}}|Extension]] [[Category:Extension templates{{#translation:}}]]