<translate> [[<tvar|1>Special:MyLanguage/Phabricator</>|Issue tracker]]:</translate> [[phab:tag/{{{phabricator}}}/|#{{{phabricator}}}]]

Difference between revisions of "Template:Extension/en"

From WPRDC Wiki
Jump to navigation Jump to search
>FuzzyBot
(Updating to match new version of source page)
>FuzzyBot
(Updating to match new version of source page)
Line 416: Line 416:
   {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Extension|noshift=1}}
   {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Extension|noshift=1}}
}}</includeonly><noinclude>{{Documentation|content=
}}</includeonly><noinclude>{{Documentation|content=
 
{{intricate template}}
This template should be added to all extension pages on this wiki (but only the main page).
This template should be added to all extension pages on this wiki (but only the main page).
It will add a useful infobox (see below) and will automatically add the extension to {{ll|Category:All extensions}}, along with the appropriate {{ll|Category:Extensions by status|status}} and {{ll|Category:Extensions by implementation type|implementation type}} categories.
It will add a useful infobox (see below) and will automatically add the extension to {{ll|Category:All extensions}}, along with the appropriate {{ll|Category:Extensions by status|status}} and {{ll|Category:Extensions by implementation type|implementation type}} categories.
Line 550: Line 550:
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.


Legal values for the '''type1''', '''type2''', ... parameters are:
Allowed values for the '''type1''', '''type2''', ... parameters are:
* '''''[[:Category:Parser extensions{{#translation:}}|parser]]''''' - catchall for uncategorized {{ll|Manual:Extending wiki markup|parser extensions}}. If you have written a parser extension, please use one of the following more specific types:
* '''''[[:Category:Parser extensions{{#translation:}}|parser]]''''' - catchall for uncategorized {{ll|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}}.
** ''[[:Category:ContentHandler extensions{{#translation:}}|contenthandler]]'' - Extensions using {{ll|Manual:ContentHandler|ContentHandler}}.
Line 567: Line 567:
** ''[[:Category:Personalization extensions{{#translation:}}|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{{#translation:}}|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{{#translation:}}|''notify'']] - extensions that email users, broadcast messages and provide other forms of community notification
** [[:Category:Notification extensions{{#translation:}}|''notify'']] - extensions that email users, broadcast messages and provide other forms of community notification
** ''[[:Category:Page action extensions{{#translation:}}|''page action'']]'' - extensions that enhance or modify [[Special:MyLanguage/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:Page action extensions{{#translation:}}|''page action'']]'' - extensions that enhance or modify {{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 ''user rights'') or logs (use ''user activity'').
** [[:Category:Search extensions{{#translation:}}|''search'']] - extensions that search through and select articles for users.
** [[:Category:Search extensions{{#translation:}}|''search'']] - extensions that search through and select articles for users.
** [[: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 {{ll|Manual:Special pages|Special pages}} for more information.
* '''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 587: Line 587:
<td><span id="hook">'''hook1'''</span><br/>''hook2''<br/>''hook3''<br/>''hook4''<br/>...<br/>''hook90''</td>
<td><span id="hook">'''hook1'''</span><br/>''hook2''<br/>''hook3''<br/>''hook4''<br/>...<br/>''hook90''</td>
<td valign="top">'''name of each hook used by the extension'''
<td valign="top">'''name of each hook used by the extension'''
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.


For built-in hooks:
For built-in hooks:
* use the hook name alone. Please see [[Special:MyLanguage/Manual:Hooks|Manual:Hooks]] for values (but omit introductory '/').
* use the hook name alone. Please see {{ll|Manual:Hooks|Manual:Hooks}} for values (but omit introductory '/').


For custom hooks defined by extensions:
For custom hooks defined by extensions:
Line 600: Line 599:
<tr>
<tr>
<td><span id="newhook">'''newhook1'''</span><br/>''newhook2''<br/>''newhook3''<br/>''newhook4''<br/>...<br/>''newhook90''</td>
<td><span id="newhook">'''newhook1'''</span><br/>''newhook2''<br/>''newhook3''<br/>''newhook4''<br/>...<br/>''newhook90''</td>
<td valign="top">'''name of each hook provided by the extension'''
<td valign="top">'''name of each hook provided by the extension'''  


You might also want to add the hooks to [[Extension hook registry]].</td>
You might also want to add the hooks to [[Extension hook registry]].</td>

Revision as of 20:18, 16 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/en]] [[Category:Extension creation{{#translation:}}]] [[Category:Categorizing templates{{#translation:}}|Extension/en]] [[Category:Extension templates{{#translation:}}]]