Difference between revisions of "Template:Extension"
Jump to navigation
Jump to search
>Pppery |
>Shirayuki (use Template:visible anchor) |
||
Line 669: | Line 669: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>{{visible anchor|author}}</td><td><translate><!--T:66--> The extension author's name, if different from their MediaWiki.org username.</translate> <translate><!--T:67--> Free text.</translate> <translate><!--T:68--> If omitted then the 'username' field will be used (if present).</translate></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 675: | Line 675: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>{{visible anchor|image}}</td><td><translate><!--T:70--> screenshot or logo of extension.</translate> <translate><!--T:71--> It should be provided without namespace and without <tvar|1><nowiki>[[]]</nowiki></>s.</translate></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>{{visible anchor|imagesize}}</td><td><translate><!--T:74--> ''facultative'', size of the image (default size is 220px)</translate></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>{{visible anchor|version}}</td><td><translate><!--T:75--> last version</translate></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>{{visible anchor|update}}</td><td><translate><!--T:76--> date of the last update</translate></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 690: | Line 690: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>{{visible anchor|mediawiki}}</td><td><translate><!--T:79--> required version of MediaWiki</translate></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>{{visible anchor|php}}</td><td><translate><!--T:80--> required version of PHP</translate></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>{{visible anchor|needs-updatephp}}</td><td><translate><!--T:194--> | ||
<tvar|yes><code>yes</code></> indicates that the extension requires a database table schema change or a similar action, before the MediaWiki can run. It is a common pitfall: your MediaWiki will stall, if you forgot to run update.php - if the extension requires it. <tvar|no><code>no</code></> should be set as a value since this assures that the extension does not need update.php to be run and thus avoids uncertainty | <tvar|yes><code>yes</code></> indicates that the extension requires a database table schema change or a similar action, before the MediaWiki can run. It is a common pitfall: your MediaWiki will stall, if you forgot to run update.php - if the extension requires it. <tvar|no><code>no</code></> should be set as a value since this assures that the extension does not need update.php to be run and thus avoids uncertainty | ||
Line 719: | Line 719: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>{{visible anchor|license}}</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> | ||
Line 725: | Line 725: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<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> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>{{visible anchor|changelog}}</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> | ||
<td> | <td>{{visible anchor|parameters}}</td><td><translate><!--T:197--> available parameters for LocalSettings.php</translate></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>{{visible anchor|tags}}</td><td><translate><!--T:198--> any tags your extension uses (e.g. <tvar|tags><tag1>, <tag2></>).</translate></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>rights</td><td | <td>{{visible anchor|rights}}</td><td><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> | ||
<td> | <td>{{visible anchor|namespace}}</td><td><translate><!--T:199--> namespace in which this extension is used</translate></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>{{visible anchor|example}}</td><td><translate><!--T:200--> example, website or screenshot of working extension</translate></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>{{visible anchor|compatibility}}</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 [[<tvar|1>Special:MyLanguage/Compatibility#Browsers</>|expectations of full support for a browser]].</translate></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>{{visible anchor|translate}}</td><td><translate><!--T:212--> | ||
Optional parameter to link the exact page where ([[<tvar|1>Special:MyLanguage/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: | Optional parameter to link the exact page where ([[<tvar|1>Special:MyLanguage/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=translatewiki|branch=HEAD|file=groups/MediaWiki/ExtensionsAgg.yaml|text=config}}</>)), aka | * <tvar|lowercase>ext-LOWERCASE</>(<tvar|nospaces>NOSPACES</>(Label as defined in <tvar|file>{{git file|project=translatewiki|branch=HEAD|file=groups/MediaWiki/ExtensionsAgg.yaml|text=config}}</>)), aka | ||
Line 757: | Line 757: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>{{visible anchor|bugzilla}}</td><td><translate><!--T:201--> Bugzilla MediaWiki extension component name</translate></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>{{visible anchor|phabricator}}</td><td><translate><!--T:202--> Phabricator project name</translate></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>{{visible anchor|CheckUsageNameOverride}}</td><td><translate><!--T:203--> override the page name used for the check usage link.</translate> | ||
</tr> | </tr> | ||
</table> | </table> |
Revision as of 10:03, 11 April 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:}}]]