Difference between revisions of "Template:Extension"

From WPRDC Wiki
Jump to navigation Jump to search
>Shirayuki
(Marked this version for translation)
>Shirayuki
(wrong markup :()
Line 606: Line 606:
** ''{{ll|Category:Extended syntax extensions|extended syntax}}'' - <translate><!--T:220--> Extensions that add non-standard wiki syntax (i.e. <em>not</em> [[<tvar|1>Special:MyLanguage/Manual:Tag extensions</>|tags]], [[<tvar|2>Special:MyLanguage/Manual:Parser functions</>|parser functions]], or [[<tvar|3>Special:MyLanguage/Manual:Variables</>|variables]]).</translate>
** ''{{ll|Category:Extended syntax extensions|extended syntax}}'' - <translate><!--T:220--> Extensions that add non-standard wiki syntax (i.e. <em>not</em> [[<tvar|1>Special:MyLanguage/Manual:Tag extensions</>|tags]], [[<tvar|2>Special:MyLanguage/Manual:Parser functions</>|parser functions]], or [[<tvar|3>Special:MyLanguage/Manual:Variables</>|variables]]).</translate>
*:
*:
<translate>
* {{ll|Category:User access extensions|'''''access'''''}} - <translate><!--T:169--> catchall for <tvar|1>{{ll|Manual:User access extensions|nsp=0}}</>, that is, extensions that create, authenticate, grant permissions, revoke permissions, or monitor the activity of users. If you have written an access extension, please use one of the following more specific types:</translate>
<!--T:169-->
** {{ll|Category:User activity extensions|''user activity''}} - <translate>extensions that monitor user activity (logins, logouts, new user creation, etc.)</translate>
* <tvar|access>{{ll|Category:User access extensions|'''''access'''''}}</> - catchall for {{ll|<tvar|url1>Manual:User access extensions</>|user access extensions}}, that is, extensions that create, authenticate, grant permissions, revoke permissions, or monitor the activity of users. If you have written an access extension, please use one of the following more specific types:
** {{ll|Category:User identity extensions|''user identity''}} - <translate>extensions that create and delete users, and/or verify the identity of a user</translate>
** <tvar|useractivity>{{ll|Category:User activity extensions|''user activity''}}</> - extensions that monitor user activity (logins, logouts, new user creation, etc.)
** {{ll|Category:User rights extensions|''user rights''}} - <translate>extensions to the rights management system, e.g. changes to the way rights are assigned, API, maintenance tools (does not include extensions that merely name the rights needed to use the features of that extension; for this purpose use the [[<tvar|1>#rights</>|rights parameter]])</translate>
** <tvar|useridentity>{{ll|Category:User identity extensions|''user identity''}}</> - extensions that create and delete users, and/or verify the identity of a user
** <tvar|userrights>{{ll|Category:User rights extensions|''user rights''}}</> - extensions to the rights management system, e.g. changes to the way rights are assigned, API, maintenance tools (does not include extensions that merely name the rights needed to use the features of that extension; for this purpose use the [[<tvar|skip>#rights</>|rights parameter]])</translate>
<translate>
<translate>
<!--T:170-->
<!--T:170-->
Line 747: Line 745:
</tr>
</tr>
<tr>
<tr>
<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>
<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 [[<tvar|1>Special:MyLanguage/Compatibility#Browsers</>|expectations of full support for a browser]].</translate></td>
</tr>
</tr>
<tr>
<tr>
<td><span id="translate">translate</span></td><td><translate><!--T:212-->
<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:
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
* the parameter you get in the URL after
* the parameter you get in the URL after
Line 784: Line 782:
<!--T:192-->
<!--T:192-->
Normally left blank. Alternate values are:
Normally left blank. Alternate values are:
* <tvar|nocats>''nocats''</> - suppresses categorization and the 'check usage' link. Use this value if you are adding this template to {{ll|<tvar|url>Help:Subpage</>|subpages}} of an extension or to how-to documentation of extensions. For example, the usage image above sets <tvar|nocats><code>templatemode=nocats</code></> because this isn't an actual extension page and we don't want to add this page to any categories on account of it.
</translate>
* <tvar|nousage>''nousage''</> - suppresses the 'check usage' link. Link is also suppressed if the page is a subpage; it is not in the Extension: namespace; or if suppressed by '<tvar|templatemode>templatemode=nocats</>'
* ''nocats'' - <translate>suppresses categorization and the 'check usage' link. Use this value if you are adding this template to [[<tvar|1>Special:MyLanguage/Help:Subpage</>|subpages]] of an extension or to how-to documentation of extensions. For example, the usage image above sets <tvar|nocats><code>templatemode=nocats</code></> because this isn't an actual extension page and we don't want to add this page to any categories on account of it.</translate>
* ''nousage'' - <translate>suppresses the 'check usage' link. Link is also suppressed if the page is a subpage; it is not in the Extension: namespace; or if suppressed by '<tvar|templatemode>templatemode=nocats</>'</translate>


<translate>
<!--T:193-->
<!--T:193-->
If this is left blank, this template will add the host page to <tvar|allextcat>[[:Category:All extensions{{#translation:}}]]</> and to one or more additional categories, depending on the values assigned to the [[<tvar|anchor>#Content parameters</>|Content parameters]].</translate></td>
If this is left blank, this template will add the host page to <tvar|allextcat>[[:Category:All extensions{{#translation:}}]]</> and to one or more additional categories, depending on the values assigned to the [[<tvar|anchor>#Content parameters</>|Content parameters]].</translate></td>
Line 835: Line 835:


<!--T:185-->
<!--T:185-->
* To make this template easy to use, each label in the infobox is linked to documentation on the template parameter(s) it displays. If you add a parameter, please be sure to also add it to the {{ll|<tvar|anchor>Template:Extension#Content parameters</>|content parameter documentation}} and link its label to that documentation.
* To make this template easy to use, each label in the infobox is linked to documentation on the template parameter(s) it displays. If you add a parameter, please be sure to also add it to the [[<tvar|1>Special:MyLanguage/Template:Extension#Content parameters</>|content parameter documentation]] and link its label to that documentation.


<!--T:186-->
<!--T:186-->

Revision as of 11:27, 1 December 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:}}]]