Difference between revisions of "Template:Extension"

From WPRDC Wiki
Jump to navigation Jump to search
>Shirayuki
m (dummy edit to update translation pages :()
>Shirayuki
(translation tweaks)
Line 10: Line 10:
|#default=unknown
|#default=unknown
}}">
}}">
<caption>'''{{ll|Manual:Extensions|<translate><!--T:1--> MediaWiki extensions manual</translate>}}'''</caption>
<caption>'''{{ll|Manual:Extensions|2=<translate><!--T:1--> MediaWiki extensions manual</translate>}}'''</caption>
<tr class="tpl-infobox-header ext-infobox-header">
<tr class="tpl-infobox-header ext-infobox-header">
<th colspan="2" style="padding-top: 0.5em;">[[File:{{#ifeq: {{lc: {{{status|}}} }} |unstable|OOjs_UI_icon_alert-invert.svg|<!--else-->OOjs UI icon advanced.svg}}|link=Special:MyLanguage/Template:Extension#Content|{{dir|{{pagelang}}|right|left}}|40px]] <span style="font-size: 130%; line-height: 100%;">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME:{{translatable}}}}}}</span><br />
<th colspan="2" style="padding-top: 0.5em;">[[File:{{#ifeq: {{lc: {{{status|}}} }} |unstable|OOjs_UI_icon_alert-invert.svg|<!--else-->OOjs UI icon advanced.svg}}|link=Special:MyLanguage/Template:Extension#Content|{{dir|{{pagelang}}|right|left}}|40px]] <span style="font-size: 130%; line-height: 100%;">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME:{{translatable}}}}}}</span><br />
{{ll|Extension status|<translate><!--T:2--> Release status:</translate>}} {{#switch: {{lc: {{{status|unknown}}} }}
{{ll|Extension status|2=<translate><!--T:2--> Release status:</translate>}} {{#switch: {{lc: {{{status|unknown}}} }}
   |unmaintained=<translate><!--T:3--> unmaintained</translate>
   |unmaintained=<translate><!--T:3--> unmaintained</translate>
   |unstable=<translate><!--T:6--> unstable</translate>
   |unstable=<translate><!--T:6--> unstable</translate>
Line 39: Line 39:
<td>{{#invoke:Extension|getTypes
<td>{{#invoke:Extension|getTypes
  |ajax            = <translate><!--T:94--> [[w:AJAX|Ajax]]</translate>
  |ajax            = <translate><!--T:94--> [[w:AJAX|Ajax]]</translate>
  |api            = {{ll|API:Action API|<translate><!--T:95--> API</translate>}}
  |api            = {{ll|API:Action API|2=<translate><!--T:95--> API</translate>}}
  |beta feature    = {{ll|Beta Features|<translate><!--T:96--> Beta Feature</translate>}}
  |beta feature    = {{ll|Beta Features|2=<translate><!--T:96--> Beta Feature</translate>}}
  |contenthandler  = {{ll|Manual:ContentHandler|ContentHandler}}
  |contenthandler  = {{ll|Manual:ContentHandler|ContentHandler}}
  |database        = {{ll|Manual:Database layout|<translate><!--T:97--> Database</translate>}}
  |database        = {{ll|Manual:Database layout|2=<translate><!--T:97--> Database</translate>}}
  |data extraction = <translate><!--T:98--> Data extraction</translate>
  |data extraction = <translate><!--T:98--> Data extraction</translate>
  |example        = <translate><!--T:99--> Example</translate>
  |example        = <translate><!--T:99--> Example</translate>
  |extended syntax = {{ll|Manual:Extending wiki markup|<translate><!--T:100--> Extended syntax</translate>}}
  |extended syntax = {{ll|Manual:Extending wiki markup|2=<translate><!--T:100--> Extended syntax</translate>}}
  |filerepo        = <translate><!--T:101--> File repository</translate>
  |filerepo        = <translate><!--T:101--> File repository</translate>
  |hook            = {{ll|Manual:Hooks|<translate><!--T:102--> Hook</translate>}}
  |hook            = {{ll|Manual:Hooks|2=<translate><!--T:102--> Hook</translate>}}
  |interface      = <translate><!--T:103--> User interface</translate>
  |interface      = <translate><!--T:103--> User interface</translate>
  |link            = {{ll|Manual:Extending wiki markup|<translate><!--T:104--> Link markup</translate>}}
  |link            = {{ll|Manual:Extending wiki markup|2=<translate><!--T:104--> Link markup</translate>}}
  |media          = <translate><!--T:105--> Media</translate>
  |media          = <translate><!--T:105--> Media</translate>
  |mywiki          = {{ll|Manual:Personalization|<translate><!--T:106--> MyWiki</translate>}}
  |mywiki          = {{ll|Manual:Personalization|2=<translate><!--T:106--> MyWiki</translate>}}
  |notify          = <translate><!--T:107--> Notify</translate>
  |notify          = <translate><!--T:107--> Notify</translate>
  |page action    = {{ll|Manual:Parameters to index.php#Actions|<translate><!--T:108--> Page action</translate>}}
  |page action    = {{ll|Manual:Parameters to index.php#Actions|2=<translate><!--T:108--> Page action</translate>}}
  |parser          = {{ll|Manual:Extending wiki markup|<translate><!--T:109--> Parser extension</translate>}}
  |parser          = {{ll|Manual:Extending wiki markup|2=<translate><!--T:109--> Parser extension</translate>}}
  |parser function = {{ll|Manual:Parser functions|<translate><!--T:110--> Parser function</translate>}}
  |parser function = {{ll|Manual:Parser functions|2=<translate><!--T:110--> Parser function</translate>}}
  |php            = <translate><!--T:111--> PHP</translate>
  |php            = <translate><!--T:111--> PHP</translate>
  |search          = <translate><!--T:112--> Search</translate>
  |search          = <translate><!--T:112--> Search</translate>
  |skin            = {{ll|Manual:Skins|<translate><!--T:113--> Skin</translate>}}
  |skin            = {{ll|Manual:Skins|2=<translate><!--T:113--> Skin</translate>}}
  |special page    = {{ll|Manual:Special pages|<translate><!--T:114--> Special page</translate>}}
  |special page    = {{ll|Manual:Special pages|2=<translate><!--T:114--> Special page</translate>}}
  |locale          = {{ll|Manual:Localization|<translate><!--T:115--> Locale</translate>}}
  |locale          = {{ll|Manual:Localization|2=<translate><!--T:115--> Locale</translate>}}
  |tag            = {{ll|Manual:Tag extensions|<translate><!--T:116--> Tag</translate>}}
  |tag            = {{ll|Manual:Tag extensions|2=<translate><!--T:116--> Tag</translate>}}
  |user access    = {{ll|Manual:Security|<translate><!--T:117--> User access</translate>}}
  |user access    = {{ll|Manual:Security|2=<translate><!--T:117--> User access</translate>}}
  |user identity  = {{ll|Manual:Security|<translate><!--T:118--> User identity</translate>}}
  |user identity  = {{ll|Manual:Security|2=<translate><!--T:118--> User identity</translate>}}
  |user rights    = {{ll|Manual:Security|<translate><!--T:119--> User rights</translate>}}
  |user rights    = {{ll|Manual:Security|2=<translate><!--T:119--> User rights</translate>}}
  |user activity  = {{ll|Manual:Security|<translate><!--T:120--> User activity</translate>}}
  |user activity  = {{ll|Manual:Security|2=<translate><!--T:120--> User activity</translate>}}
  |variable        = {{ll|Manual:Variables|<translate><!--T:121--> Variable</translate>}}
  |variable        = {{ll|Manual:Variables|2=<translate><!--T:121--> Variable</translate>}}
}}<!--
}}<!--
-->|<!--else--><!--
-->|<!--else--><!--
Line 250: Line 250:
<tr>
<tr>
<td class="mw-collapsible mw-collapsed" colspan="2">
<td class="mw-collapsible mw-collapsed" colspan="2">
<div class="mw-collapsible-header">{{ll|Template:Extension#parameters|<translate><!--T:27--> Parameters</translate>}}</div>
<div class="mw-collapsible-header">{{ll|Template:Extension#parameters|2=<translate><!--T:27--> Parameters</translate>}}</div>
<div class="mw-collapsible-content"><!-- the parameter "parameters" should begin on its own line so that bullet lists are correctly recognised by MediaWiki -->
<div class="mw-collapsible-content"><!-- the parameter "parameters" should begin on its own line so that bullet lists are correctly recognised by MediaWiki -->
{{#if:{{{parameters|}}}|{{{parameters}}}|{{#invoke:Extension|getParameters}}}}</div></td>
{{#if:{{{parameters|}}}|{{{parameters}}}|{{#invoke:Extension|getParameters}}}}</div></td>
Line 258: Line 258:
<tr>
<tr>
<td class="mw-collapsible mw-collapsed" colspan="2">
<td class="mw-collapsible mw-collapsed" colspan="2">
<div class="mw-collapsible-header">{{ll|Template:Extension#tags|<translate><!--T:28--> Tags</translate>}}</div>
<div class="mw-collapsible-header">{{ll|Template:Extension#tags|2=<translate><!--T:28--> Tags</translate>}}</div>
<div class="mw-collapsible-content">{{{tags}}}</div></td>
<div class="mw-collapsible-content">{{{tags}}}</div></td>
</tr>
</tr>
Line 265: Line 265:
<tr>
<tr>
<td class="mw-collapsible mw-collapsed" colspan="2">
<td class="mw-collapsible mw-collapsed" colspan="2">
<div class="mw-collapsible-header">{{ll|Template:Extension#rights|<translate><!--T:29--> Added rights</translate>}}</div>
<div class="mw-collapsible-header">{{ll|Template:Extension#rights|2=<translate><!--T:29--> Added rights</translate>}}</div>
<div class="mw-collapsible-content"><!-- the parameter "rights" should begin on its own line so that bullet lists are correctly recognised by MediaWiki -->
<div class="mw-collapsible-content"><!-- the parameter "rights" should begin on its own line so that bullet lists are correctly recognised by MediaWiki -->
{{#if:{{{rights|}}}|{{{rights}}}|{{#invoke:Extension|getRights}}}}
{{#if:{{{rights|}}}|{{{rights}}}|{{#invoke:Extension|getRights}}}}
Line 284: Line 284:
<tr>
<tr>
<td class="mw-collapsible mw-collapsed" colspan="2">
<td class="mw-collapsible mw-collapsed" colspan="2">
<div class="mw-collapsible-header">{{ll|Template:Extension#hook|<translate><!--T:30--> Hooks used</translate>}}</div>
<div class="mw-collapsible-header">{{ll|Template:Extension#hook|2=<translate><!--T:30--> Hooks used</translate>}}</div>
<div class="mw-collapsible-content plainlist"><ul><li>|delim=</li><li>|footer=</li></ul></div>
<div class="mw-collapsible-content plainlist"><ul><li>|delim=</li><li>|footer=</li></ul></div>
</td>
</td>
Line 292: Line 292:
<tr>
<tr>
<td class="mw-collapsible mw-collapsed" colspan="2">
<td class="mw-collapsible mw-collapsed" colspan="2">
<div class="mw-collapsible-header">{{ll|Template:Extension#newhook|<translate><!--T:31--> Hooks provided</translate>}}</div>
<div class="mw-collapsible-header">{{ll|Template:Extension#newhook|2=<translate><!--T:31--> Hooks provided</translate>}}</div>
<div class="mw-collapsible-content plainlist"><ul><li><!--
<div class="mw-collapsible-content plainlist"><ul><li><!--
       -->{{Foreach|Extension/HookProvided|delim=</li><li>|<!--
       -->{{Foreach|Extension/HookProvided|delim=</li><li>|<!--
Line 352: Line 352:
<tr>
<tr>
<td>
<td>
'''{{ll|Phabricator|<translate><!--T:35--> Issues</translate>}}'''</td>
'''{{ll|Phabricator|2=<translate><!--T:35--> Issues</translate>}}'''</td>
<td>[[phab:tag/{{lc:{{{phabricator|MediaWiki-extensions-{{{bugzilla}}}}}}}}|<translate><!--T:36--> Open tasks</translate>]] · [https://phabricator.wikimedia.org/maniphest/task/create/?projects={{{phabricator|MediaWiki-extensions-{{{bugzilla}}}}}} <translate><!--T:37--> Report a bug</translate>]</td>
<td>[[phab:tag/{{lc:{{{phabricator|MediaWiki-extensions-{{{bugzilla}}}}}}}}|<translate><!--T:36--> Open tasks</translate>]] · [https://phabricator.wikimedia.org/maniphest/task/create/?projects={{{phabricator|MediaWiki-extensions-{{{bugzilla}}}}}} <translate><!--T:37--> Report a bug</translate>]</td>
</tr>
</tr>
Line 360: Line 360:
<tr>
<tr>
<td>
<td>
'''{{ll|Gerrit/GitHub|<translate><!--T:40--> Issues</translate>}}'''</td>
'''{{ll|Gerrit/GitHub|2=<translate><!--T:40--> Issues</translate>}}'''</td>
<td>[https://www.github.com/{{{github}}}/issues <translate><!--T:41--> Open issues</translate>] · [https://www.github.com/{{{github}}}/issues/new <translate><!--T:42--> Report a bug</translate>]</td>
<td>[https://www.github.com/{{{github}}}/issues <translate><!--T:41--> Open issues</translate>] · [https://www.github.com/{{{github}}}/issues/new <translate><!--T:42--> Report a bug</translate>]</td>
</tr>
</tr>
Line 643: Line 643:
</tr>
</tr>
<tr>
<tr>
<td><span id="compatibility_policy">compatibility policy</span></td><td><translate><!--T:77--> {{<tvar|1>ll|Compatibility#mediawiki_extensions</>|compatibility policy}} (accepted values are <tvar|2>'''master'''</>, <tvar|3>'''rel'''</>, and <tvar|x>'''ltsrel'''</>).</translate> ({{ll|Category:Extensions without a compatibility policy|<translate><!--T:78--> backlog</translate>}})</td>
<td><span id="compatibility_policy">compatibility policy</span></td><td><translate><!--T:77--> {{<tvar|1>ll|Compatibility#mediawiki_extensions</>|compatibility policy}} (accepted values are <tvar|2>'''master'''</>, <tvar|3>'''rel'''</>, and <tvar|x>'''ltsrel'''</>).</translate> ({{ll|Category:Extensions without a compatibility policy|2=<translate><!--T:78--> backlog</translate>}})</td>
</tr>
</tr>
<tr>
<tr>

Revision as of 05:00, 13 September 2020

<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:}}]]