Difference between revisions of "Template:Extension"
Jump to navigation
Jump to search
>Shirayuki (translation tweaks) |
>Shirayuki (Marked this version for translation) |
||
Line 478: | Line 478: | ||
--> | --> | ||
<table class="wikitable"> | <table class="wikitable"> | ||
<caption>'''<translate>Content parameters</translate>'''</caption> | <caption>'''<translate><!--T:58--> Content parameters</translate>'''</caption> | ||
<tr> | <tr> | ||
<th>Parameter</th> | <th>Parameter</th> | ||
Line 484: | Line 484: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td><span id="name">'''name'''</span></td><td>'''<translate>name of the extension</translate>'''</td> | <td><span id="name">'''name'''</span></td><td>'''<translate><!--T:59--> name of the extension</translate>'''</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td><span id="status">'''status'''</span></td><td>'''<translate>current release status</translate>''' | <td><span id="status">'''status'''</span></td><td>'''<translate><!--T:60--> current release status</translate>''' | ||
One of: | One of: | ||
* ''[[:Category:Unstable extensions{{#translation:}}|unstable]]'' (broken - do not use this extension) | * ''[[:Category:Unstable extensions{{#translation:}}|unstable]]'' (broken - do not use this extension) | ||
Line 500: | Line 500: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td>'''type1'''<br/>''type2''<br/>''type3''<br/>''type4''<br/>''type5''<br/>''type6''<br/></td><td><span id="type">'''<translate>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 --> | ||
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. 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. | ||
Line 540: | Line 540: | ||
<tr> | <tr> | ||
<td><span id="hook">'''hook1'''</span><br/>''hook2''<br/>''hook3''<br/>''hook4''<br/>...<br/>''hook30''</td> | <td><span id="hook">'''hook1'''</span><br/>''hook2''<br/>''hook3''<br/>''hook4''<br/>...<br/>''hook30''</td> | ||
<td valign="top">'''<translate>name of each hook used by the extension</translate>''' | <td valign="top">'''<translate><!--T:62--> name of each hook used by the extension</translate>''' | ||
Entering values in this field is a good way to get exposure for your extension and help other developers. Each documented hook will automatically add the extension to a category listing extensions that use that hook. This category is autolinked to each hook article so that programmers can easily find examples of extensions that use a particular hook. | Entering values in this field is a good way to get exposure for your extension and help other developers. Each documented hook will automatically add the extension to a category listing extensions that use that hook. This category is autolinked to each hook article so that programmers can easily find examples of extensions that use a particular hook. | ||
Line 559: | Line 559: | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td><span id="username">'''username'''</span></td><td><translate>The author's username on MediaWiki.org (if they have one).</translate> <translate>May be omitted, but if present it will be used to link to the author's user & user_talk page.</translate> <translate>It should be provided without namespace and without <tvar|1><nowiki>[[]]</nowiki></>s.</translate></td> | <td><span id="username">'''username'''</span></td><td><translate><!--T:63--> The author's username on MediaWiki.org (if they have one).</translate> <translate><!--T:64--> May be omitted, but if present it will be used to link to the author's user & user_talk page.</translate> <translate><!--T:65--> It should be provided without namespace and without <tvar|1><nowiki>[[]]</nowiki></>s.</translate></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td><span id="author">author</span></td><td><translate>The extension author's name, if different from their MediaWiki.org username.</translate> <translate>Free text.</translate> <translate>If omitted then the 'username' field will be used (if present).</translate></td> | <td><span id="author">author</span></td><td><translate><!--T:66--> The extension author's name, if different from their MediaWiki.org username.</translate> <translate><!--T:67--> Free text.</translate> <translate><!--T:68--> If omitted then the 'username' field will be used (if present).</translate></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td><span id="description">'''description'''</span></td><td>'''<translate>short description</translate>'''</td> | <td><span id="description">'''description'''</span></td><td>'''<translate><!--T:69--> short description</translate>'''</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td><span id="image">image</span></td><td><translate>screenshot or logo of extension.</translate> <translate>It should be provided without namespace and without <tvar|1><nowiki>[[]]</nowiki></>s.</translate></td> | <td><span id="image">image</span></td><td><translate><!--T:70--> screenshot or logo of extension.</translate> <translate><!--T:71--> It should be provided without namespace and without <tvar|1><nowiki>[[]]</nowiki></>s.</translate></td> | ||
</tr> | </tr> | ||
<tr> | <tr> |
Revision as of 02:40, 17 November 2018
<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:}}]]