Difference between revisions of "Template:Extension/doc"

→‎Content parameters: added span ids to each parameter (so template labels can link to them)
>Egfrank~mediawikiwiki
(→‎Content parameters: fixed id on hook parameter)
>Egfrank~mediawikiwiki
(→‎Content parameters: added span ids to each parameter (so template labels can link to them))
Line 67: Line 67:
|+ '''Content parameters'''
|+ '''Content parameters'''
|-
|-
| '''name''' || '''name of the extension'''
|<span id="name">'''name'''</span> || '''name of the extension'''
|-
|-
| '''status''' || '''current release status'''
|<span id="status">'''status'''</span> || '''current release status'''
One of:  
One of:  
* ''[[:Category:Unstable extensions|unstable]]'' (broken - do not use this extension)
* ''[[:Category:Unstable extensions|unstable]]'' (broken - do not use this extension)
Line 120: Line 120:
For multiple hooks, assign the first hook to '''hook1''', the second to '''hook2''' and so on.
For multiple hooks, assign the first hook to '''hook1''', the second to '''hook2''' and so on.
|-
|-
| '''username''' || The author's username on MediaWiki.org (if they have one). May be omitted, but if present it will be used to link to the author's user & user_talk page.
| <span id="username">'''username'''</span> || The author's username on MediaWiki.org (if they have one). May be omitted, but if present it will be used to link to the author's user & user_talk page.
|-
|-
| author     || 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).
| <span id="author">author</span>|| 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).
|-
|-
| image      || screenshot (of base 270px)
| <span id="description">'''description'''</span>|| '''short description'''
|-
|-
| version    || last version
| <span id="image">image</span>|| screenshot or logo of extension (of base 270px)
|-
|-
| update    || date of the last update
| <span id="version">version</span>|| last version
|-
|-
| mediawiki  || required version of MediaWiki
| <span id="update">update</span>|| date of the last update
|-
|-
| license    || license(s) governing use of this extension, e.g. GPL
| <span id="mediawiki">mediawiki</span>|| required version of MediaWiki
|-
|-
| '''download''' || '''link to the download''' : [http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/ SVN] or other
| <span id="license">license</span>|| license(s) governing use of this extension, e.g. GPL
|-
|-
| readme    || link to the readme file : [http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/Sort/Sort README] or other
| <span id="download">'''download'''</span>|| '''link to the download''' : [http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/ SVN] or other
|-
|-
| changelog  || link to the changelog file : [http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/Sort/Sort CHANGELOG] or other
| <span id="readme">readme</span>|| link to the readme file : [http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/Sort/Sort README] or other
|-
|-
| '''description''' || '''short description'''
| <span id="changelog">changelog</span>|| link to the changelog file : [http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/Sort/Sort CHANGELOG] or other
|-
|-
| parameters || available parameters for LocalSettings.php
| <span id="parameters">parameters</span> || available parameters for LocalSettings.php
|-
|-
| rights     || rights added by the extension. '''Not to be confused with the license!''' Rights are such as ''[[Extension:MakeBot|makebot]]'' or ''[[Extension:Desysop|desysop]]'', not such as GFDL or LGPL or GPL - those are licenses!
| <span id="rights">rights</span>|| rights added by the extension. '''Not to be confused with the license!''' Rights are such as ''[[Extension:MakeBot|makebot]]'' or ''[[Extension:Desysop|desysop]]'', not such as GFDL or LGPL or GPL - those are licenses!
|-
|-
| example   || example, website or screenshot of working extension
| <span id="example">example</span>|| example, website or screenshot of working extension
|}
|}