Difference between revisions of "Template:Extension/doc"
>Egfrank~mediawikiwiki (→Content parameters: added ajax type) |
>Jack Phoenix (...) |
||
Line 61: | Line 61: | ||
== Content parameters == | == Content parameters == | ||
This section describes parameters that govern infobox content. For help with '''templatemode''' and other control parameters, please see '' | This section describes parameters that govern infobox content. For help with '''templatemode''' and other control parameters, please see ''[[#Control parameters|Control parameters]]''. | ||
<!-- BEFORE YOU EDIT THIS: | <!-- BEFORE YOU EDIT THIS: | ||
Line 97: | Line 97: | ||
** ''[[:Category:Extended syntax extensions|extended syntax]]'' - Extensions that add non-standard wiki syntax (i.e. <em>not</em> [[Manual:Tag extensions|tags]], [[Manual:Parser functions|parser functions]], or [[Manual:Variables|variables]]). | ** ''[[:Category:Extended syntax extensions|extended syntax]]'' - Extensions that add non-standard wiki syntax (i.e. <em>not</em> [[Manual:Tag extensions|tags]], [[Manual:Parser functions|parser functions]], or [[Manual:Variables|variables]]). | ||
*: | *: | ||
* [[:Category:User access extensions|'''''access''''']] - catchall for | * [[:Category:User access extensions|'''''access''''']] - catchall for [[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|''user activity'']] - extensions that monitor user activity (logins, logouts, new user creation, etc) | ** [[:Category:User activity extensions|''user activity'']] - extensions that monitor user activity (logins, logouts, new user creation, etc) | ||
** [[:Category:User identity extensions|''user identity'']] - extensions that create and delete users, and/or verify the identity of a user | ** [[:Category:User identity extensions|''user identity'']] - extensions that create and delete users, and/or verify the identity of a user | ||
Line 103: | Line 103: | ||
*: | *: | ||
* [[:Category:User interface extensions|'''''interface''''']] - catchall for uncategorized user interface extensions. | * [[:Category:User interface extensions|'''''interface''''']] - catchall for uncategorized user interface extensions. | ||
** ''[[:Category:Media handling extensions|media]]'' - extensions that permit the embedding of multimedia content on wiki pages by registering a file extension with | ** ''[[:Category:Media handling extensions|media]]'' - extensions that permit the embedding of multimedia content on wiki pages by registering a file extension with [[Manual:$wgMediaHandlers|$wgMediaHandlers]]. | ||
** ''[[: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 | ** ''[[: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 | ||
** [[:Category:Notification extensions|''notify'']] - extensions that email users, broadcast messages and provide other forms of community notification | ** [[:Category:Notification extensions|''notify'']] - extensions that email users, broadcast messages and provide other forms of community notification | ||
** ''[[:Category:Page action extensions|''page action'']]'' - extensions that enhance or modify | ** ''[[:Category:Page action extensions|''page action'']]'' - extensions that enhance or modify [[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 ''user rights'') or logs (use ''user activity''). | ||
** [[:Category:Search extensions|''search'']] - extensions that search through and select articles for users. | ** [[:Category:Search extensions|''search'']] - extensions that search through and select articles for users. | ||
** [[:Category:Skin extensions|''skin'']] - extensions adding [[w: | ** [[: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. | ||
** [[:Category:Ajax extensions|''ajax'']] - extensions that use [[w:Ajax|Ajax]] programming techniques. | ** [[:Category:Ajax extensions|''ajax'']] - extensions that use [[w:Ajax|Ajax]] programming techniques. | ||
** [[:Category:Special page extensions|''special'']] - extensions that subclass the | ** [[:Category:Special page extensions|''special'']] - extensions that subclass the [[Manual:SpecialPage class|SpecialPage class]], use one of its hooks, or patch one or more functions in [http://svn.wikimedia.org/doc/SpecialPage_8php-source.html SpecialPage.php]. See [[Manual:Special pages]] for more information. | ||
Line 117: | Line 117: | ||
* ''[[:Category:Parser function extensions|pfunc]]'' - same as ''parser function'' | * ''[[:Category:Parser function extensions|pfunc]]'' - same as ''parser function'' | ||
<div style="border: thin solid blue">We are in the process of revising the values of this page. Types below this point are likely to be deprecated or redefined. We apologize for the inconvenience. See [[ | <div style="border: thin solid blue">We are in the process of revising the values of this page. Types below this point are likely to be deprecated or redefined. We apologize for the inconvenience. See [[Template talk:Extension#Type taxonomy]] for more information.</div> | ||
* ''[[:Category:Database extensions|database]]'' - adds tables and/or fields to the database backing a MediaWiki installation | * ''[[:Category:Database extensions|database]]'' - adds tables and/or fields to the database backing a MediaWiki installation | ||
* ''[[:Category:Database extensions|db]]'' - same as ''database'' | * ''[[:Category:Database extensions|db]]'' - same as ''database'' | ||
Line 179: | Line 179: | ||
If this is left blank, this template will add the host page to [[:Category:All extensions]] and to one or more additional categories, depending on the values assigned to the | If this is left blank, this template will add the host page to [[:Category:All extensions]] and to one or more additional categories, depending on the values assigned to the [[#Content parameters|Content parameters]]. | ||
|} | |} | ||
Revision as of 16:43, 3 October 2007
Purpose
This template should be added to the main page of all extensions documented on this wiki (and only the main page). It will add a useful infobox using the information supplied (see below) and will automatically add the extension to Category:All extensions, plus the appropriate status and implementation type categories.
Usage
Cut and paste: {{Extension|templatemode = |name = |status = |type1 = |type2 = |hook1 = |hook2 = |username = |author = |description = |image = |version = |update = |mediawiki = |license = |download = |readme = |changelog = |parameters = |rights = |example = }} For help with parameter values, see below. |
Lua error: callParserFunction: function "#translation" was not found.
|
Content parameters
This section describes parameters that govern infobox content. For help with templatemode and other control parameters, please see Control parameters.
Control parameters
Using the infoboxExisting extension pagesIf you want to add the infobox to an existing page, copy and paste the code at the top of this page. Create a new extension articleIf you want to create a new extension page, enter the name below and click the button. A new page will be created with the infobox template already in place.
<translate> A developer sharing their code in the MediaWiki code repository should expect:</translate>
Enhancing this templateIf you would like to improve on this template, thanks! This is a complicated template so here is some help along the way: Fixing documentationIf you would like to fix documentation, please be aware that documentation and code is split into two files:
The Create extension buttonTo improve the create extension button behavior:
Infobox parametersIn general:
|