Difference between revisions of "Template:Extension/en"

Jump to navigation Jump to search
182 bytes removed ,  10:05, 11 April 2020
Updating to match new version of source page
>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><span id="author">author</span></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>
<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><span id="image">image</span></td><td>screenshot or logo of extension. It should be provided without namespace and without <nowiki>[[]]</nowiki>s.</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><span id="imagesize">imagesize</span></td><td>''facultative'', size of the image (default size is 220px)</td>
<td>{{visible anchor|imagesize}}</td><td>''facultative'', size of the image (default size is 220px)</td>
</tr>
</tr>
<tr>
<tr>
<td><span id="version">version</span></td><td>last version</td>
<td>{{visible anchor|version}}</td><td>last version</td>
</tr>
</tr>
<tr>
<tr>
<td><span id="update">update</span></td><td>date of the last update</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><span id="mediawiki">mediawiki</span></td><td>required version of MediaWiki</td>
<td>{{visible anchor|mediawiki}}</td><td>required version of MediaWiki</td>
</tr>
</tr>
<tr>
<tr>
<td><span id="php">php</span></td><td>required version of PHP</td>
<td>{{visible anchor|php}}</td><td>required version of PHP</td>
</tr>
</tr>
<tr>
<tr>
<td><span id="needs-updatephp">needs-updatephp</span></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
<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><span id="license">license</span></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>
<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><span id="readme">readme</span></td><td>external link to the readme file, e.g. https://phabricator.wikimedia.org/r/browse/mediawiki/extensions/Flow;master;README</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><span id="changelog">changelog</span></td><td>external link to the changelog file, e.g. [[Extension:LDAP Authentication/Changelog]]</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><span id="parameters">parameters</span></td><td>available parameters for LocalSettings.php</td>
<td>{{visible anchor|parameters}}</td><td>available parameters for LocalSettings.php</td>
</tr>
</tr>
<tr>
<tr>
<td><span id="tags">tags</span></td><td>any tags your extension uses (e.g. &lt;tag1&gt;, &lt;tag2&gt;).</td>
<td>{{visible anchor|tags}}</td><td>any tags your extension uses (e.g. &lt;tag1&gt;, &lt;tag2&gt;).</td>
</tr>
</tr>
<tr>
<tr>
<td>rights</td><td><span id="rights"></span> 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>
<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><span id="namespace">namespace</span></td><td>namespace in which this extension is used</td>
<td>{{visible anchor|namespace}}</td><td>namespace in which this extension is used</td>
</tr>
</tr>
<tr>
<tr>
<td><span id="example">example</span></td><td>example, website or screenshot of working extension</td>
<td>{{visible anchor|example}}</td><td>example, website or screenshot of working extension</td>
</tr>
</tr>
<tr>
<tr>
<td><span id="compatibility">compatibility</span></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>
<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><span id="translate">translate</span></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:
<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><span id="bugzilla">bugzilla</span></td><td>Bugzilla MediaWiki extension component name</td>
<td>{{visible anchor|bugzilla}}</td><td>Bugzilla MediaWiki extension component name</td>
</tr>
</tr>
<tr>
<tr>
<td><span id="phabricator">phabricator</span></td><td>Phabricator project name</td>
<td>{{visible anchor|phabricator}}</td><td>Phabricator project name</td>
</tr>
</tr>
<tr>
<tr>
<td><span id="CheckUsageNameOverride">CheckUsageNameOverride</span></td><td>override the page name used for the check usage link.
<td>{{visible anchor|CheckUsageNameOverride}}</td><td>override the page name used for the check usage link.
</tr>
</tr>
</table>
</table>
Anonymous user

Navigation menu