<translate> [[<tvar|1>Special:MyLanguage/Phabricator</>|Issue tracker]]:</translate> [[phab:tag/{{{phabricator}}}/|#{{{phabricator}}}]]
Difference between revisions of "Template:Extension/en"
Jump to navigation
Jump to search
>FuzzyBot (Updating to match new version of source page) |
>FuzzyBot (Updating to match new version of source page) |
||
Line 626: | Line 626: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>{{visible anchor|author}}</td><td>The extension author's name, if different from their MediaWiki.org username. Free text. If omitted then the 'username' field will be used (if present).</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 632: | Line 632: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>{{visible anchor|image}}</td><td>screenshot or logo of extension. It should be provided without namespace and without <nowiki>[[]]</nowiki>s.</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>{{visible anchor|imagesize}}</td><td>''facultative'', size of the image (default size is 220px)</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>{{visible anchor|version}}</td><td>last version</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>{{visible anchor|update}}</td><td>date of the last update</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 647: | Line 647: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>{{visible anchor|mediawiki}}</td><td>required version of MediaWiki</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>{{visible anchor|php}}</td><td>required version of PHP</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>{{visible anchor|needs-updatephp}}</td><td><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. <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 | ||
Extensions which conform to MediaWiki extension standards come with a '''schema change script which you need to start manually''' (once) before starting and accessing the MediaWiki through your browser, and after you copied all the extension files to <code>$IP/extensions/ExtensionName</code> and inserted <code>wfLoadExtension( "ExtensionName");</code> into "LocalSettings.php", run from the command line: | Extensions which conform to MediaWiki extension standards come with a '''schema change script which you need to start manually''' (once) before starting and accessing the MediaWiki through your browser, and after you copied all the extension files to <code>$IP/extensions/ExtensionName</code> and inserted <code>wfLoadExtension( "ExtensionName");</code> into "LocalSettings.php", run from the command line: | ||
Line 672: | Line 672: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>{{visible anchor|license}}</td><td>license governing use of this extension, as one of the codes found in https://spdx.org/licenses/, e.g. <code>GPL-2.0-or-later</code>, <code>GPL-2.0-only</code> or <code>GPL-3.0-or-later</code>, etc.</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 678: | Line 678: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>{{visible anchor|readme}}</td><td>external link to the readme file, e.g. https://phabricator.wikimedia.org/r/browse/mediawiki/extensions/Flow;master;README</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>{{visible anchor|changelog}}</td><td>external link to the changelog file, e.g. [[Extension:LDAP Authentication/Changelog]]</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>{{visible anchor|parameters}}</td><td>available parameters for LocalSettings.php</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>{{visible anchor|tags}}</td><td>any tags your extension uses (e.g. <tag1>, <tag2>).</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>rights</td><td | <td>{{visible anchor|rights}}</td><td>rights added by the extension. '''Not to be confused with the license!''' Rights are such as ''{{ll|Extension:MakeBot|makebot}}'' or ''{{ll|Extension:Desysop|desysop}}'', not such as GFDL or LGPL or GPL - those are licenses!</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>{{visible anchor|namespace}}</td><td>namespace in which this extension is used</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>{{visible anchor|example}}</td><td>example, website or screenshot of working extension</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>{{visible anchor|compatibility}}</td><td>Additional compatibility information, for instance compatibility charts (formerly using [[Template:Extension Testing]]). It's encouraged to add any client-side compatibility information here too, especially when diverging from [[Special:MyLanguage/Compatibility#Browsers|expectations of full support for a browser]].</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>{{visible anchor|translate}}</td><td>Optional parameter to link the exact page where ([[Special:MyLanguage/Help:Extension:Translate/Glossary|message group id]] with which) the extension will be translatable on [[translatewiki.net]] if enabled. If the default link is incorrect, manually set it to: | ||
* ext-LOWERCASE(NOSPACES(Label as defined in {{git file|project=translatewiki|branch=HEAD|file=groups/MediaWiki/ExtensionsAgg.yaml|text=config}})), aka | * ext-LOWERCASE(NOSPACES(Label as defined in {{git file|project=translatewiki|branch=HEAD|file=groups/MediaWiki/ExtensionsAgg.yaml|text=config}})), aka | ||
* the parameter you get in the URL after | * the parameter you get in the URL after | ||
Line 709: | Line 709: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>{{visible anchor|bugzilla}}</td><td>Bugzilla MediaWiki extension component name</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>{{visible anchor|phabricator}}</td><td>Phabricator project name</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td> | <td>{{visible anchor|CheckUsageNameOverride}}</td><td>override the page name used for the check usage link. | ||
</tr> | </tr> | ||
</table> | </table> |
Revision as of 10:05, 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/en]] [[Category:Extension creation{{#translation:}}]] [[Category:Categorizing templates{{#translation:}}|Extension/en]] [[Category:Extension templates{{#translation:}}]]