Difference between revisions of "Template:Extension"
Jump to navigation
Jump to search
>Wladek92 (T171 avoid red link when category is not translated) |
>Shirayuki (translation tweaks) |
||
Line 549: | Line 549: | ||
<!--T:159--> | <!--T:159--> | ||
* <tvar|unstable>'' | * <tvar|unstable>''{{ll|Category:Unstable extensions|unstable}}''</> (broken - do not use this extension) | ||
* <tvar|experimental>'' | * <tvar|experimental>''{{ll|Category:Experimental extensions|experimental}}''</> (early stages of development, may change drastically) | ||
* <tvar|beta>'' | * <tvar|beta>''{{ll|Category:Beta status extensions|beta}}''</> (stable but not fully tested) | ||
* <tvar|stable>'' | * <tvar|stable>''{{ll|Category:Stable extensions|stable}}''</> (stable version) | ||
* <tvar|unmaintained>'' | * <tvar|unmaintained>''{{ll|Category:Not LTS ready|unmaintained}}''</> (unmaintained - previously claimed to be stable, now unmaintained) | ||
* <tvar|archive>'' | * <tvar|archive>''{{ll|Category:Archived extensions|archive}}''</> (archived - deprecated or merged with another extension) | ||
* <tvar|unknown>'' | * <tvar|unknown>''{{ll|Category:Extensions with unknown status|unknown}}''</> (default) | ||
<!--T:160--> | <!--T:160--> | ||
Line 573: | Line 573: | ||
<!--T:168--> | <!--T:168--> | ||
Allowed values for the '''type1''', '''type2''', ... parameters are: | Allowed values for the '''type1''', '''type2''', ... parameters are: | ||
* <tvar|parser>''''' | * <tvar|parser>'''''{{ll|Category:Parser extensions|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: | ||
** <tvar|conthandl>'' | ** <tvar|conthandl>''{{ll|Category:ContentHandler extensions|contenthandler}}''</> - Extensions using <tvar|contenthandler>{{ll|Manual:ContentHandler|ContentHandler}}</>. | ||
** <tvar|link>'' | ** <tvar|link>''{{ll|Category:Link markup extensions|link}}''</> - customized {{ll|<tvar|url2>Manual:Extending wiki markup</>|link markup}}, e.g. <tvar|xmp1><code><nowiki>[[</nowiki>...]]</code></> | ||
** <tvar|parserfunction>'' | ** <tvar|parserfunction>''{{ll|Category:Parser function extensions|parser function}}''</> - custom {{ll|<tvar|url3>Manual:Parser functions</>|parameterized template markup}}, e.g. <tvar|xmp2><code><nowiki>{{</nowiki>''#name:'' ... <nowiki>}}</nowiki></code></> | ||
** <tvar|tag>'' | ** <tvar|tag>''{{ll|Category:Tag extensions|tag}}''</> - {{ll|<tvar|url4>Manual:Tag extensions</>|custom XML tag markup}}, e.g. <tvar|xmp4><code><nowiki><</nowiki>''tagname''>...<nowiki></</nowiki>''tagname''></code></> | ||
** <tvar|variable>'' | ** <tvar|variable>''{{ll|Category:Variable extensions|variable}}''</> - custom {{ll|<tvar|url5>Manual:Variables</>|unparameterized template markup}}, e.g. <tvar|xmp5><code><nowiki>{{NAME}}</nowiki></code></> | ||
** <tvar|xtdsyntax>'' | ** <tvar|xtdsyntax>''{{ll|Category:Extended syntax extensions|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> | <translate> | ||
<!--T:169--> | <!--T:169--> | ||
* <tvar|access> | * <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: | ||
** <tvar|useractivity> | ** <tvar|useractivity>{{ll|Category:User activity extensions|''user activity''}}</> - extensions that monitor user activity (logins, logouts, new user creation, etc.) | ||
** <tvar|useridentity> | ** <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> | ** <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--> | ||
* <tvar|interface> | * <tvar|interface>{{ll|Category:User interface extensions|'''''interface'''''}}</> - catchall for uncategorized user interface extensions. | ||
** <tvar|media>'' | ** <tvar|media>''{{ll|Category:Media handling extensions|media}}''</> - extensions that permit the embedding of multimedia content on wiki pages by registering a file extension with <tvar|wgMediaHandlers>{{ll|Manual:$wgMediaHandlers|$wgMediaHandlers}}</>. | ||
** <tvar|mywiki>'' | ** <tvar|mywiki>''{{ll|Category:Personalization extensions|mywiki}}''</> - extensions that provide infrastructure so that users may personalize their MediaWiki experience and/or assist in the management of that infrastructure | ||
** <tvar|notify> | ** <tvar|notify>{{ll|Category:Notification extensions|''notify''}}</> - extensions that email users, broadcast messages and provide other forms of community notification | ||
** <tvar|catpageaction>'' | ** <tvar|catpageaction>''{{ll|Category:Page action extensions|''page action''}}''</> - extensions that enhance or modify <tvar|pageaction>{{ll|Manual:Page action|page action}}</>s. This includes anything that implements an action that reads, writes, searches for, creates, renames, deletes, redirects or discusses a page. It does not include rights (use <tvar|userrights>''user rights''</>) or logs (use <tvar|useractivity>''user activity''</>). | ||
** <tvar|search> | ** <tvar|search>{{ll|Category:Search extensions|''search''}}</> - extensions that search through and select articles for users. | ||
** <tvar|skin> | ** <tvar|skin>{{ll|Category:Skin extensions|''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. | ||
** <tvar|catajax> | ** <tvar|catajax>{{ll|Category:Ajax extensions|''ajax''}}</> - extensions that use [[w:AJAX|Ajax]] programming techniques. | ||
** <tvar|special> | ** <tvar|special>{{ll|Category:Special page extensions|''special''}}</> - extensions that subclass the <tvar|specialpage>{{Class doclink|SpecialPage}}</> class, use one of its hooks, or patch one or more functions in <tvar|filephp>{{Git file|file=includes/specialpage/SpecialPage.php|text=SpecialPage.php}}</>. See <tvar|manual>{{ll|Manual:Special pages|Special pages}}</> for more information.</translate> | ||
<translate> | <translate> | ||
<!--T:171--> | <!--T:171--> | ||
* '''other''' | * '''other''' | ||
** <tvar|api> | ** <tvar|api>{{ll|Category:API extensions|''api''}}</> - extensions that add a new API module or extend a core API module. | ||
** <tvar|hook> | ** <tvar|hook>{{ll|Category:Hook extensions|''hook''}}</> - Hook extension - defines a <em>new</em> hook - see hook1, etc. below if you want to define hooks <em>used</em> by your extension | ||
** <tvar|database> | ** <tvar|database>{{ll|Category:Database extensions|''database''}}</> - adds tables and/or fields to the database backing a MediaWiki installation | ||
** <tvar|dataextraction> | ** <tvar|dataextraction>{{ll|Category:Data extraction extensions|''data extraction''}}</> - Data extraction | ||
** <tvar|filerepo>{{ll| | ** <tvar|filerepo>{{ll|Category:File repository extensions|''filerepo''}}</> - extension that adds new file repository types as file backend | ||
** <tvar|example> | ** <tvar|example>{{ll|Category:Extension examples|''example''}}</> - Not a real extension, but an example of how to write one | ||
<!--T:172--> | <!--T:172--> |
Revision as of 13:35, 23 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:}}]]