Difference between revisions of "Template:Extension"

From WPRDC Wiki
Jump to navigation Jump to search
>Wladek92
(Marked this version for translation)
>Wladek92
(adding < translate > sections)
Line 558: Line 558:


<!--T:160-->
<!--T:160-->
If the status is anything other than the above, it will be ignored and the default value of 'Unknown' will be displayed in the template instead.</translate> <translate><!--T:161--> In cases where the value is omitted, it will be categorized as {{ll|:category:extensions with unknown status|unknown}}.</translate> <translate><!--T:162-->
If the status is anything other than the above, it will be ignored and the default value of 'Unknown' will be displayed in the template instead.</translate> <translate><!--T:161--> In cases where the value is omitted, it will be categorized as {{ll|<tvar|url>:category:extensions with unknown status</>|unknown}}.</translate> <translate><!--T:162-->
In cases where the value is invalid, it will be placed in a {{ll|:category:extensions with invalid status|special category}} so that the error can be caught and fixed.
In cases where the value is invalid, it will be placed in a {{ll|<tvar|url>:category:extensions with invalid status</>|special category}} so that the error can be caught and fixed.


<!--T:163-->
<!--T:163-->
Line 566: Line 566:
<tr>
<tr>
<td>'''type1'''<br/>''type2''<br/>''type3''<br/>''type4''<br/>''type5''<br/>''type6''<br/></td><td><span id="type">'''<translate><!--T:61--> implementation type</translate>'''</span><!-- id here so at top of documentation -->
<td>'''type1'''<br/>''type2''<br/>''type3''<br/>''type4''<br/>''type5''<br/>''type6''<br/></td><td><span id="type">'''<translate><!--T:61--> implementation type</translate>'''</span><!-- id here so at top of documentation -->
 
<translate>
The implementation strategy(s) employed in building this extension. This parameter is used to create categories that help programmers find examples of various MediaWiki specific implementation strategies or patterns. Although the values of this parameter sometimes coincide with the use case or purpose of an extension, that is not reason for this parameter. If the values you have chosen for this parameter do not adequately identify the [[w:Requirements|purpose]] or possible [[w:Use case|use case]]s, we recommend you add additional [[Help:Categories|category links]] as needed.
The implementation strategy(s) employed in building this extension.</translate> <translate>This parameter is used to create categories that help programmers find examples of various MediaWiki specific implementation strategies or patterns.</translate> <translate>Although the values of this parameter sometimes coincide with the use case or purpose of an extension, that is not reason for this parameter.</translate> <translate>If the values you have chosen for this parameter do not adequately identify the [[w:Requirements|purpose]] or possible [[w:Use case|use case]]s, we recommend you add additional [[Help:Categories|category links]] as needed.


Legal values for the '''type1''', '''type2''', ... parameters are:
Legal values for the '''type1''', '''type2''', ... parameters are:
* '''''[[:Category:Parser extensions{{#translation:}}|parser]]''''' - catchall for uncategorized [[Special:MyLanguage/Manual:Extending wiki markup|parser extensions]]. If you have written a parser extension, please use one of the following more specific types:
* <tvar|parser>'''''[[:Category:Parser extensions{{#translation:}}|parser]]'''''</> - catchall for uncategorized {{ll|<tvar|url1>Manual:Extending wiki markup</>|parser extensions}}. If you have written a parser extension, please use one of the following more specific types:
** ''[[:Category:ContentHandler extensions{{#translation:}}|contenthandler]]'' - Extensions using {{ll|Manual:ContentHandler|ContentHandler}}.
** <tvar|conthandl>''[[:Category:ContentHandler extensions{{#translation:}}|contenthandler]]''</> - Extensions using <tvar|contenthandler>{{ll|Manual:ContentHandler|ContentHandler}}</>.
** ''[[:Category:Link markup extensions{{#translation:}}|link]]'' - customized [[Special:MyLanguage/Manual:Extending wiki markup|link markup]], e.g. <code><nowiki>[[</nowiki>...]]</code>
** <tvar|link>''[[:Category:Link markup extensions{{#translation:}}|link]]''</> - customized {{ll|<tvar|url2>Manual:Extending wiki markup</>|link markup}}, e.g. <tvar|xmp1><code><nowiki>[[</nowiki>...]]</code></>
** ''[[:Category:Parser function extensions{{#translation:}}|parser function]]'' - custom [[Special:MyLanguage/Manual:Parser functions|parameterized template markup]], e.g. <code><nowiki>{{</nowiki>''#name:'' ... <nowiki>}}</nowiki></code>
** <tvar|parserfunction>''[[:Category:Parser function extensions{{#translation:}}|parser function]]''</> - custom {{ll|<tvar|url3>Manual:Parser functions</>|parameterized template markup}}, e.g. <tvar|xmp2><code><nowiki>{{</nowiki>''#name:'' ... <nowiki>}}</nowiki></code></>
** ''[[:Category:Tag extensions{{#translation:}}|tag]]'' - [[Special:MyLanguage/Manual:Tag extensions|custom XML tag markup]], e.g. <code><nowiki><</nowiki>''tagname''>...<nowiki></</nowiki>''tagname''></code>
** <tvar|tag>''[[:Category:Tag extensions{{#translation:}}|tag]]''</> - {{ll|<tvar|url4>Manual:Tag extensions</>|custom XML tag markup}}, e.g. <tvar|xmp4><code><nowiki><</nowiki>''tagname''>...<nowiki></</nowiki>''tagname''></code></>
** ''[[:Category:Variable extensions{{#translation:}}|variable]]'' - custom [[Special:MyLanguage/Manual:Variables|unparameterized template markup]], e.g. <code><nowiki>{{NAME}}</nowiki></code>
** <tvar|variable>''[[:Category:Variable extensions{{#translation:}}|variable]]''</> - custom {{ll|<tvar|url5>Manual:Variables</>|unparameterized template markup}}, e.g. <tvar|xmp5><code><nowiki>{{NAME}}</nowiki></code></>
** ''[[:Category:Extended syntax extensions{{#translation:}}|extended syntax]]'' - Extensions that add non-standard wiki syntax (i.e. <em>not</em> [[Special:MyLanguage/Manual:Tag extensions|tags]], [[Special:MyLanguage/Manual:Parser functions|parser functions]], or [[Special:MyLanguage/Manual:Variables|variables]]).
** <tvar|xtdsyntax>''[[:Category:Extended syntax extensions{{#translation:}}|extended syntax]]''</> - Extensions that add non-standard wiki syntax (i.e. <em>not</em> {{ll|<tvar|url61>Manual:Tag extensions</>|tags}}, {{ll|<tvar|url62>Manual:Parser functions</>|parser functions}}, or {{ll|<tvar|url63>Manual:Variables</>|variables}}).</translate>
*:
*:
<translate>
* [[:Category:User access extensions{{#translation:}}|'''''access''''']] - catchall for [[Special:MyLanguage/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:
* [[:Category:User access extensions{{#translation:}}|'''''access''''']] - catchall for [[Special:MyLanguage/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:
** [[:Category:User activity extensions{{#translation:}}|''user activity'']] - extensions that monitor user activity (logins, logouts, new user creation, etc.)
** [[:Category:User activity extensions{{#translation:}}|''user activity'']] - extensions that monitor user activity (logins, logouts, new user creation, etc.)
** [[:Category:User identity extensions{{#translation:}}|''user identity'']] - extensions that create and delete users, and/or verify the identity of a user
** [[:Category:User identity extensions{{#translation:}}|''user identity'']] - extensions that create and delete users, and/or verify the identity of a user
** [[:Category:User rights extensions{{#translation:}}|''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 [[#rights|rights parameter]])
** [[:Category:User rights extensions{{#translation:}}|''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 [[#rights|rights parameter]])</translate>
<translate>
* [[:Category:User interface extensions{{#translation:}}|'''''interface''''']] - catchall for uncategorized user interface extensions.
* [[:Category:User interface extensions{{#translation:}}|'''''interface''''']] - catchall for uncategorized user interface extensions.
** ''[[:Category:Media handling extensions{{#translation:}}|media]]'' - extensions that permit the embedding of multimedia content on wiki pages by registering a file extension with {{ll|Manual:$wgMediaHandlers|$wgMediaHandlers}}.
** ''[[:Category:Media handling extensions{{#translation:}}|media]]'' - extensions that permit the embedding of multimedia content on wiki pages by registering a file extension with {{ll|Manual:$wgMediaHandlers|$wgMediaHandlers}}.
Line 590: Line 592:
** [[:Category:Skin extensions{{#translation:}}|''skin'']] - extensions adding [[w:CSS|CSS]] or [[w:JavaScript|JavaScript]], or implementing hook functions to change the look and feel of MediaWiki via the skins framework.
** [[:Category:Skin extensions{{#translation:}}|''skin'']] - extensions adding [[w:CSS|CSS]] or [[w:JavaScript|JavaScript]], or implementing hook functions to change the look and feel of MediaWiki via the skins framework.
** [[:Category:Ajax extensions{{#translation:}}|''ajax'']] - extensions that use [[w:Ajax|Ajax]] programming techniques.
** [[:Category:Ajax extensions{{#translation:}}|''ajax'']] - extensions that use [[w:Ajax|Ajax]] programming techniques.
** [[:Category:Special page extensions{{#translation:}}|''special'']] - extensions that subclass the {{Class doclink|SpecialPage}} class, use one of its hooks, or patch one or more functions in {{Git file|file=includes/specialpage/SpecialPage.php|text=SpecialPage.php}}. See [[Special:MyLanguage/Manual:Special pages]] for more information.
** [[:Category:Special page extensions{{#translation:}}|''special'']] - extensions that subclass the {{Class doclink|SpecialPage}} class, use one of its hooks, or patch one or more functions in {{Git file|file=includes/specialpage/SpecialPage.php|text=SpecialPage.php}}. See [[Special:MyLanguage/Manual:Special pages]] for more information.</translate>
<translate>
* '''other'''
* '''other'''
** [[:Category:API extensions{{#translation:}}|''api'']] - extensions that add a new API module or extend a core API module.
** [[:Category:API extensions{{#translation:}}|''api'']] - extensions that add a new API module or extend a core API module.
Line 601: Line 604:
Any other value for 'type' is invalid, and will cause the extension to be placed in [[:Category:Extensions with invalid or missing type{{#translation:}}]].
Any other value for 'type' is invalid, and will cause the extension to be placed in [[:Category:Extensions with invalid or missing type{{#translation:}}]].


Note: Many extensions have more than one type, if this applies to yours, replace <code><nowiki>|type=</nowiki></code> with <code><nowiki>|type1=|type2=|type3=...</nowiki></code>. You may define up to six types for an extension.</td>
Note: Many extensions have more than one type, if this applies to yours, replace <code><nowiki>|type=</nowiki></code> with <code><nowiki>|type1=|type2=|type3=...</nowiki></code>. You may define up to six types for an extension.</translate></td>
</tr>
</tr>
<tr>
<tr>

Revision as of 17:12, 15 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:}}]]