Difference between revisions of "Template:Extension"

From WPRDC Wiki
Jump to navigation Jump to search
>Wladek92
(correct)
>Wladek92
(Marked this version for translation)
Line 688: Line 688:
</tr>
</tr>
<tr>
<tr>
<td><span id="table1">'''table1'''</span><br/>''table2''<br/>''table3''<br/>''table4''<br/>...<br/>''table30''</td><td><translate>'''name of each ''non-core'' table used by the extension'''
<td><span id="table1">'''table1'''</span><br/>''table2''<br/>''table3''<br/>''table4''<br/>...<br/>''table30''</td><td><translate><!--T:204-->
'''name of each ''non-core'' table used by the extension'''


<!--T:205-->
Links to a subpage of your extension page. For instance, "<tvar|table1>table1 = cu_changes</>" at <tvar|url1>{{ll|Extension:CheckUser|Extension:CheckUser}}</> will link to <tvar|url2>{{ll|Extension:CheckUser/cu_changes table|Extension:CheckUser/cu_changes table}}</>. Don't list core tables such as <tvar|page>{{ll|Manual:Page table|page}}</> or <tvar|revision>{{ll|Manual:Revision table|revision}}</>; only list tables that are added by extensions.</translate></td>
Links to a subpage of your extension page. For instance, "<tvar|table1>table1 = cu_changes</>" at <tvar|url1>{{ll|Extension:CheckUser|Extension:CheckUser}}</> will link to <tvar|url2>{{ll|Extension:CheckUser/cu_changes table|Extension:CheckUser/cu_changes table}}</>. Don't list core tables such as <tvar|page>{{ll|Manual:Page table|page}}</> or <tvar|revision>{{ll|Manual:Revision table|revision}}</>; only list tables that are added by extensions.</translate></td>
</tr>
</tr>
<tr>
<tr>
<td><span id="license">license</span></td><td><translate>license governing use of this extension, as one of the codes found in <tvar|url>https://spdx.org/licenses/</>, e.g. <tvar|later2><code>GPL-2.0-or-later</code></>, <tvar|only2><code>GPL-2.0-only</code></> or <tvar|later3><code>GPL-3.0-or-later</code></>, etc.</translate></td>
<td><span id="license">license</span></td><td><translate><!--T:206--> license governing use of this extension, as one of the codes found in <tvar|url>https://spdx.org/licenses/</>, e.g. <tvar|later2><code>GPL-2.0-or-later</code></>, <tvar|only2><code>GPL-2.0-only</code></> or <tvar|later3><code>GPL-3.0-or-later</code></>, etc.</translate></td>
</tr>
</tr>
<tr>
<tr>
<td><span id="download">'''download'''</span></td><td><translate>'''link to the download''' : <tvar|url>[https://phabricator.wikimedia.org/r/project/mediawiki/core Git]</>, <tvar|wikimediadownload>{{tl|WikimediaDownload}}</> 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}}</> 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>
</tr>
</tr>
<tr>
<tr>
<td><span id="readme">readme</span></td><td><translate>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><span id="readme">readme</span></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>
</tr>
</tr>
<tr>
<tr>
<td><span id="changelog">changelog</span></td><td><translate>external link to the changelog file, e.g. <tvar|url>[[Extension:LDAP Authentication/Changelog]]</></translate></td>
<td><span id="changelog">changelog</span></td><td><translate><!--T:209--> external link to the changelog file, e.g. <tvar|url>[[Extension:LDAP Authentication/Changelog]]</></translate></td>
</tr>
</tr>
<tr>
<tr>
Line 711: Line 713:
</tr>
</tr>
<tr>
<tr>
<td>rights</td><td><span id="rights"></span><translate> rights added by the extension. '''Not to be confused with the license!''' Rights are such as <tvar|makebot>''{{ll|Extension:MakeBot|makebot}}''</> or <tvar|desysop>''{{ll|Extension:Desysop|desysop}}''</>, not such as GFDL or LGPL or GPL - those are licenses!</translate></td>
<td>rights</td><td><span id="rights"></span><translate> <!--T:210--> rights added by the extension. '''Not to be confused with the license!''' Rights are such as <tvar|makebot>''{{ll|Extension:MakeBot|makebot}}''</> or <tvar|desysop>''{{ll|Extension:Desysop|desysop}}''</>, not such as GFDL or LGPL or GPL - those are licenses!</translate></td>
</tr>
</tr>
<tr>
<tr>
Line 720: Line 722:
</tr>
</tr>
<tr>
<tr>
<td><span id="compatibility">compatibility</span></td><td><translate>Additional compatibility information, for instance compatibility charts (formerly using <tvar|testext>[[Template:Extension Testing]]</>). It's encouraged to add any client-side compatibility information here too, especially when diverging from {{ll|<tvar|url>Compatibility#Browsers</>|expectations of full support for a browser}}.</translate></td>
<td><span id="compatibility">compatibility</span></td><td><translate><!--T:211--> Additional compatibility information, for instance compatibility charts (formerly using <tvar|testext>[[Template:Extension Testing]]</>). It's encouraged to add any client-side compatibility information here too, especially when diverging from {{ll|<tvar|url>Compatibility#Browsers</>|expectations of full support for a browser}}.</translate></td>
</tr>
</tr>
<tr>
<tr>
<td><span id="translate">translate</span></td><td><translate>Optional parameter to link the exact page where ({{ll|<tvar|url>Help:Extension:Translate/Glossary</>|message group id}} with which) the extension will be translatable on <tvar|translatewiki>[[translatewiki.net]]</> if enabled. If the default link is incorrect, manually set it to:
<td><span id="translate">translate</span></td><td><translate><!--T:212-->
Optional parameter to link the exact page where ({{ll|<tvar|url>Help:Extension:Translate/Glossary</>|message group id}} with which) the extension will be translatable on <tvar|translatewiki>[[translatewiki.net]]</> if enabled. If the default link is incorrect, manually set it to:
* <tvar|lowercase>ext-LOWERCASE</>(<tvar|nospaces>NOSPACES</>(Label as defined in <tvar|file>{{git file|project=translwikmediadef|branch=HEAD|file=groups/MediaWiki/mediawiki-defines.txt|text=config}}</>)), aka
* <tvar|lowercase>ext-LOWERCASE</>(<tvar|nospaces>NOSPACES</>(Label as defined in <tvar|file>{{git file|project=translwikmediadef|branch=HEAD|file=groups/MediaWiki/mediawiki-defines.txt|text=config}}</>)), aka
* the parameter you get in the URL after
* the parameter you get in the URL after

Revision as of 10:22, 18 November 2019

<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:}}]]