Difference between revisions of "Template:Extension"
Jump to navigation
Jump to search
>Samwilson (Update no-screenshot category name to match other similar cats in Category:Maintenance.) |
>Shirayuki m (style) |
||
Line 6: | Line 6: | ||
|#default=unknown | |#default=unknown | ||
}}" cellspacing="0" | }}" cellspacing="0" | ||
|+ '''{{ll|Manual:Extensions|<translate><!--T:1--> | |+ '''{{ll|Manual:Extensions|<translate><!--T:1--> MediaWiki extensions manual</translate>}}''' | ||
MediaWiki extensions manual</translate>}}''' | |||
|- class="tpl-infobox-header ext-infobox-header" | |- class="tpl-infobox-header ext-infobox-header" | ||
! colspan="2" style="padding-top: 0.5em;" | [[File:{{#ifeq: {{{status|}}} |unstable|Crystal Clear app error.png|<!--else-->Crystal Clear action run.png}}|link=:Special:MyLanguage/Template:Extension#Content|{{dir|{{pagelang}}|right|left}}|40px]] <span style="font-size: 130%;">{{{name|{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}}}}</span><br /> | ! colspan="2" style="padding-top: 0.5em;" | [[File:{{#ifeq: {{{status|}}} |unstable|Crystal Clear app error.png|<!--else-->Crystal Clear action run.png}}|link=:Special:MyLanguage/Template:Extension#Content|{{dir|{{pagelang}}|right|left}}|40px]] <span style="font-size: 130%;">{{{name|{{IfNotTranslation|{{PAGENAME}}|{{BASEPAGENAME}}}}}}}</span><br /> | ||
{{ll|Extension status|<translate><!--T:2--> | {{ll|Extension status|<translate><!--T:2--> Release status:</translate>}} {{#switch: {{lc: {{{status|unknown}}} }} | ||
Release status:</translate>}} {{#switch: {{lc: {{{status|unknown}}} }} | |unmaintained=<translate><!--T:3--> unmaintained</translate> | ||
|unmaintained=<translate><!--T:3--> | |archive=<translate><!--T:4--> archive</translate> | ||
unmaintained</translate> | |milestone=<translate><!--T:5--> milestone</translate> | ||
|archive=<translate><!--T:4--> | |unstable=<translate><!--T:6--> unstable</translate> | ||
archive</translate> | |experimental=<translate><!--T:7--> experimental</translate> | ||
|milestone=<translate><!--T:5--> | |beta=<translate><!--T:8--> beta</translate> | ||
milestone</translate> | |stable=<translate><!--T:9--> stable</translate> | ||
|unstable=<translate><!--T:6--> | |magic=<translate><!--T:10--> magic</translate> | ||
unstable</translate> | |#default=<translate><!--T:11--> unknown</translate> | ||
|experimental=<translate><!--T:7--> | |||
experimental</translate> | |||
|beta=<translate><!--T:8--> | |||
beta</translate> | |||
|stable=<translate><!--T:9--> | |||
stable</translate> | |||
|magic=<translate><!--T:10--> | |||
magic</translate> | |||
|#default=<translate><!--T:11--> | |||
unknown</translate> | |||
}}<!-- Category logic -->{{#if:{{{license|}}}|{{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!-- do nothing -->|<!--else-->{{#invoke:Extension|getLicenseCategory|{{{license}}}}}}}}}<!-- | }}<!-- Category logic -->{{#if:{{{license|}}}|{{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!-- do nothing -->|<!--else-->{{#invoke:Extension|getLicenseCategory|{{{license}}}}}}}}}<!-- | ||
-->{{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!-- do nothing -->|<!--else-->[[Category:{{#switch: {{lc:{{{status|}}} }} | -->{{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!-- do nothing -->|<!--else-->[[Category:{{#switch: {{lc:{{{status|}}} }} | ||
Line 46: | Line 35: | ||
|{{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!-- do nothing -->|<!--else-->{{#if:{{#translation:}}||[[Category:Extensions without an image]]}}}}}} | |{{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!-- do nothing -->|<!--else-->{{#if:{{#translation:}}||[[Category:Extensions without an image]]}}}}}} | ||
{{#if:{{{type|}}}{{{type1|}}}| | {{#if:{{{type|}}}{{{type1|}}}| | ||
{{!}} style="vertical-align: top" {{!}} {{ll|Template:Extension#type|'''<translate><!--T:12--> | {{!}} style="vertical-align: top" {{!}} {{ll|Template:Extension#type|'''<translate><!--T:12--> Implementation</translate>'''}} | ||
Implementation</translate>'''}} | |||
{{!}} {{#invoke:Extension|getTypes}}<!-- | {{!}} {{#invoke:Extension|getTypes}}<!-- | ||
-->|<!--else--><!-- | -->|<!--else--><!-- | ||
Line 60: | Line 48: | ||
|- | |- | ||
{{#if:{{{description|}}}| | {{#if:{{{description|}}}| | ||
{{!}} style="vertical-align: top" {{!}} {{ll|Template:Extension#description|'''<translate><!--T:13--> | {{!}} style="vertical-align: top" {{!}} {{ll|Template:Extension#description|'''<translate><!--T:13--> Description</translate>'''}} | ||
Description</translate>'''}} | |||
{{!}} {{{description}}} | {{!}} {{{description}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{author|}}}{{{username|}}} | | {{#if:{{{author|}}}{{{username|}}} | | ||
{{!}} style="vertical-align: top" {{!}} {{ll|Template:Extension#username|'''<translate><!--T:14--> | {{!}} style="vertical-align: top" {{!}} {{ll|Template:Extension#username|'''<translate><!--T:14--> Author(s)</translate>'''}} | ||
Author(s)</translate>'''}} | |||
{{!}} {{#if: {{{username|}}} |<!-- | {{!}} {{#if: {{{username|}}} |<!-- | ||
-->{{#ifeq: {{{username}}}|{{{author|{{{username}}}<!-- -->}}}|<!-- | -->{{#ifeq: {{{username}}}|{{{author|{{{username}}}<!-- -->}}}|<!-- | ||
Line 87: | Line 73: | ||
}} | }} | ||
{{#if:{{{latest release version|{{{latest_release_version|{{{version|}}}}}}}}}| | {{#if:{{{latest release version|{{{latest_release_version|{{{version|}}}}}}}}}| | ||
{{!}} style="vertical-align: top" {{!}} {{ll|Template:Extension#version|'''<translate><!--T:15--> | {{!}} style="vertical-align: top" {{!}} {{ll|Template:Extension#version|'''<translate><!--T:15--> Latest version</translate>'''}} | ||
Latest version</translate>'''}} | |||
{{!}} {{{latest release version|{{{latest_release_version|{{{version|}}}}}}}}}{{#if:{{{latest release date|{{{latest_release_date|{{{update|}}}}}}}}}| ({{{latest release date|{{{latest_release_date|{{{update}}})}}}}}}}} | {{!}} {{{latest release version|{{{latest_release_version|{{{version|}}}}}}}}}{{#if:{{{latest release date|{{{latest_release_date|{{{update|}}}}}}}}}| ({{{latest release date|{{{latest_release_date|{{{update}}})}}}}}}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{latest preview version|{{{latest_peview_version|{{{version_preview|{{{version preview|}}}}}}}}}}}}| | {{#if:{{{latest preview version|{{{latest_peview_version|{{{version_preview|{{{version preview|}}}}}}}}}}}}| | ||
{{!}} style="vertical-align: top" {{!}} {{ll|Template:Extension#version|'''<translate><!--T:16--> | {{!}} style="vertical-align: top" {{!}} {{ll|Template:Extension#version|'''<translate><!--T:16--> Latest preview version</translate>'''}} | ||
Latest preview version</translate>'''}} | |||
{{!}} {{{latest preview version|{{{latest_preview_version|{{{version_preview|{{{version preview|}}}}}}}}}}}}{{#if:{{{latest preview version|{{{latest_preview_version|{{{update_preview|{{{update preview|}}}}}}}}}}}}| ({{{latest preview version|{{{latest_preview_version|{{{update_preview|{{{update preview}}}}}}}}}}}})}} | {{!}} {{{latest preview version|{{{latest_preview_version|{{{version_preview|{{{version preview|}}}}}}}}}}}}{{#if:{{{latest preview version|{{{latest_preview_version|{{{update_preview|{{{update preview|}}}}}}}}}}}}| ({{{latest preview version|{{{latest_preview_version|{{{update_preview|{{{update preview}}}}}}}}}}}})}} | ||
{{!}}- | {{!}}- | ||
Line 109: | Line 93: | ||
}} | }} | ||
{{#if:{{{needs-updatephp|}}}| | {{#if:{{{needs-updatephp|}}}| | ||
{{!}} style="vertical-align: top" {{!}} {{ll|Template:Extension#needs-updatephp|2=<abbr title="<translate><!--T:17--> | {{!}} style="vertical-align: top" {{!}} {{ll|Template:Extension#needs-updatephp|2=<abbr title="<translate><!--T:17--> <tvar|com>'php update.php'</> needed after installation</translate>" style="white-space:nowrap;">'''<translate><!--T:18--> Database changes</translate>'''</abbr>}} | ||
<tvar|com>'php update.php'</> needed after installation</translate>" style="white-space:nowrap;">'''<translate><!--T:18--> | {{!}} {{#switch:{{{needs-updatephp}}}|yes|Yes=<translate><!--T:38--> Yes</translate>|no|No=<translate><!--T:39--> No</translate>|{{{needs-updatephp}}}}} | ||
Database changes</translate>'''</abbr>}} | |||
{{!}} {{#switch:{{{needs-updatephp}}}|yes|Yes=<translate><!--T:38--> | |||
Yes</translate>|no|No=<translate><!--T:39--> | |||
No</translate>|{{{needs-updatephp}}}}} | |||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{composer|}}}| | {{#if:{{{composer|}}}| | ||
{{!}} style="vertical-align: top" {{!}} {{ll|Composer|2=<abbr title="<translate><!--T:19--> | {{!}} style="vertical-align: top" {{!}} {{ll|Composer|2=<abbr title="<translate><!--T:19--> Supports 'Composer' for installation</translate>">'''Composer'''</abbr>}} | ||
Supports 'Composer' for installation</translate>">'''Composer'''</abbr>}} | |||
{{!}} [https://packagist.org/packages/{{{composer}}} {{{composer}}}] {{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!-- do nothing -->|<!--else-->{{#if:{{{composer|}}}|[[Category:Extensions supporting Composer{{translation}}]]|}} }} | {{!}} [https://packagist.org/packages/{{{composer}}} {{{composer}}}] {{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!-- do nothing -->|<!--else-->{{#if:{{{composer|}}}|[[Category:Extensions supporting Composer{{translation}}]]|}} }} | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{table1|}}}| | {{#if:{{{table1|}}}| | ||
{{!}} style="vertical-align: top" {{!}} {{ll|Template:Extension#table1|'''<translate><!--T:20--> | {{!}} style="vertical-align: top" {{!}} {{ll|Template:Extension#table1|'''<translate><!--T:20--> Tables</translate>'''}} | ||
Tables</translate>'''}} | |||
{{!}} {{ll|{{FULLPAGENAME}}/{{{table1}}} table|{{{table1}}}}}<!-- | {{!}} {{ll|{{FULLPAGENAME}}/{{{table1}}} table|{{{table1}}}}}<!-- | ||
-->{{#if:{{{table2|}}}|<br />{{ll|{{FULLPAGENAME}}/{{{table2}}} table|{{{table2}}}}}<!-- -->}}<!-- | -->{{#if:{{{table2|}}}|<br />{{ll|{{FULLPAGENAME}}/{{{table2}}} table|{{{table2}}}}}<!-- -->}}<!-- | ||
Line 139: | Line 117: | ||
}} | }} | ||
|- | |- | ||
| style="vertical-align: top" {{!}} {{ll|Template:Extension#license|'''<translate><!--T:21--> | | style="vertical-align: top" {{!}} {{ll|Template:Extension#license|'''<translate><!--T:21--> License</translate>'''}} | ||
License</translate>'''}} | | {{#if:{{{license|}}}|{{#invoke:Extension|getFormattedLicense|{{{license}}}}}|<translate><!--T:22--> No license specified</translate> {{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!-- do nothing -->|<!--else-->[[Category:Extensions with no license specified{{translation}}]]}}}} | ||
| {{#if:{{{license|}}}|{{#invoke:Extension|getFormattedLicense|{{{license}}}}}|<translate><!--T:22--> | |||
No license specified</translate> {{#ifeq:{{{templatemode|<noinclude>nocats</noinclude>}}}|nocats|<!-- do nothing -->|<!--else-->[[Category:Extensions with no license specified{{translation}}]]}}}} | |||
|- | |- | ||
| style="vertical-align: top" | '''<translate><!--T:23--> | | style="vertical-align: top" | '''<translate><!--T:23--> Download</translate>''' | ||
Download</translate>''' | |||
| <!-- | | <!-- | ||
-->{{#if:{{{download|}}}|{{{download}}}|''<translate><!--T:24--> | -->{{#if:{{{download|}}}|{{{download}}}|''<translate><!--T:24--> No link</translate>''}}<!-- | ||
No link</translate>''}}<!-- | |||
-->{{#if:{{{readme|}}}|<br />{{{readme}}}<!-- -->}}<!-- | -->{{#if:{{{readme|}}}|<br />{{{readme}}}<!-- -->}}<!-- | ||
-->{{#if:{{{changelog|}}}|<br />{{{changelog}}}<!-- -->}} | -->{{#if:{{{changelog|}}}|<br />{{{changelog}}}<!-- -->}} | ||
|- | |- | ||
{{#if:{{{example|}}}| | {{#if:{{{example|}}}| | ||
{{!}} style="vertical-align: top" {{!}} {{ll|Template:Extension#example|'''<translate><!--T:25--> | {{!}} style="vertical-align: top" {{!}} {{ll|Template:Extension#example|'''<translate><!--T:25--> Example</translate>'''}} | ||
Example</translate>'''}} | |||
{{!}} {{{example}}} | {{!}} {{{example}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{namespace|}}}| | {{#if:{{{namespace|}}}| | ||
{{!}} style="vertical-align: top" {{!}} {{ll|Template:Extension#namespace|'''<translate><!--T:26--> | {{!}} style="vertical-align: top" {{!}} {{ll|Template:Extension#namespace|'''<translate><!--T:26--> Namespace</translate>'''}} | ||
Namespace</translate>'''}} | |||
{{!}} {{{namespace|}}} | {{!}} {{{namespace|}}} | ||
{{!}}- | {{!}}- | ||
Line 169: | Line 141: | ||
{{{!}} class="mw-collapsible mw-collapsed" style="border-collapse: collapse; width: 100%;" | {{{!}} class="mw-collapsible mw-collapsed" style="border-collapse: collapse; width: 100%;" | ||
{{!}}- | {{!}}- | ||
! style="vertical-align:top; text-align:{{dir|{{pagelang}}|right|left}}; padding:0.2em 0.5em" {{!}} {{ll|Template:Extension#parameters|'''<translate><!--T:27--> | ! style="vertical-align:top; text-align:{{dir|{{pagelang}}|right|left}}; padding:0.2em 0.5em" {{!}} {{ll|Template:Extension#parameters|'''<translate><!--T:27--> Parameters</translate>'''}} | ||
Parameters</translate>'''}} | |||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} | ||
Line 181: | Line 152: | ||
{{{!}} class="mw-collapsible mw-collapsed" style="border-collapse: collapse; width: 100%;" | {{{!}} class="mw-collapsible mw-collapsed" style="border-collapse: collapse; width: 100%;" | ||
{{!}}- | {{!}}- | ||
! style="vertical-align:top; text-align:{{dir|{{pagelang}}|right|left}}; padding:0.2em 0.5em" {{!}} {{ll|Template:Extension#tags|'''<translate><!--T:28--> | ! style="vertical-align:top; text-align:{{dir|{{pagelang}}|right|left}}; padding:0.2em 0.5em" {{!}} {{ll|Template:Extension#tags|'''<translate><!--T:28--> Tags</translate>'''}} | ||
Tags</translate>'''}} | |||
{{!}}- | {{!}}- | ||
{{!}} {{{tags}}} | {{!}} {{{tags}}} | ||
Line 192: | Line 162: | ||
{{{!}} class="mw-collapsible mw-collapsed" style="border-collapse: collapse; width: 100%;" | {{{!}} class="mw-collapsible mw-collapsed" style="border-collapse: collapse; width: 100%;" | ||
{{!}}- | {{!}}- | ||
! style="vertical-align:top; text-align:{{dir|{{pagelang}}|right|left}}; padding:0.2em 0.5em" {{!}} {{ll|Template:Extension#rights|'''<translate><!--T:29--> | ! style="vertical-align:top; text-align:{{dir|{{pagelang}}|right|left}}; padding:0.2em 0.5em" {{!}} {{ll|Template:Extension#rights|'''<translate><!--T:29--> Added rights</translate>'''}} | ||
Added rights</translate>'''}} | |||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} | ||
Line 205: | Line 174: | ||
{{{!}} class="mw-collapsible mw-collapsed" style="border-collapse: collapse; width: 100%;" | {{{!}} class="mw-collapsible mw-collapsed" style="border-collapse: collapse; width: 100%;" | ||
{{!}}- | {{!}}- | ||
! style="vertical-align:top; text-align:{{dir|{{pagelang}}|right|left}}; padding:0.2em 0.5em" {{!}} {{ll|Template:Extension#hook|'''<translate><!--T:30--> | ! style="vertical-align:top; text-align:{{dir|{{pagelang}}|right|left}}; padding:0.2em 0.5em" {{!}} {{ll|Template:Extension#hook|'''<translate><!--T:30--> Hooks used</translate>'''}} | ||
Hooks used</translate>'''}} | |||
{{!}}- | {{!}}- | ||
{{!}}<!-- | {{!}}<!-- | ||
Line 240: | Line 208: | ||
{{{!}} class="mw-collapsible mw-collapsed" style="border-collapse: collapse; width: 100%;" | {{{!}} class="mw-collapsible mw-collapsed" style="border-collapse: collapse; width: 100%;" | ||
{{!}}- | {{!}}- | ||
! style="vertical-align:top; text-align:{{dir|{{pagelang}}|right|left}}; padding:0.2em 0.5em" {{!}} {{ll|Template:Extension#newhook|'''<translate><!--T:31--> | ! style="vertical-align:top; text-align:{{dir|{{pagelang}}|right|left}}; padding:0.2em 0.5em" {{!}} {{ll|Template:Extension#newhook|'''<translate><!--T:31--> Hooks provided</translate>'''}} | ||
Hooks provided</translate>'''}} | |||
{{!}}- | {{!}}- | ||
{{!}}<!-- | {{!}}<!-- | ||
Line 264: | Line 231: | ||
}} | }} | ||
{{!}} colspan="2" style="text-align:center;" {{!}} | {{!}} colspan="2" style="text-align:center;" {{!}} | ||
<translate><!--T:32--> | <translate><!--T:32--> [[<tvar|1>translatewiki:Special:Translate/{{{translate|ext-{{lc:{{#invoke:String/enwiki|replace|{{BASEPAGENAME}}| |}}}}}}}</>|Translate the <tvar|2>{{BASEPAGENAME}}</> extension]] if it is available at translatewiki.net</translate> | ||
[[<tvar|1>translatewiki:Special:Translate/{{{translate|ext-{{lc:{{#invoke:String/enwiki|replace|{{BASEPAGENAME}}| |}}}}}}}</>|Translate the <tvar|2>{{BASEPAGENAME}}</> extension]] if it is available at translatewiki.net</translate> | |||
{{!}}- | {{!}}- | ||
{{!}} colspan="2" style="text-align:center;" {{!}}<!-- | {{!}} colspan="2" style="text-align:center;" {{!}}<!-- | ||
Line 287: | Line 253: | ||
{{#if:{{{vagrant-role|}}} | | {{#if:{{{vagrant-role|}}} | | ||
{{!}}- | {{!}}- | ||
{{!}} style="vertical-align:top; text-align:{{dir|{{pagelang}}|right|left}}; padding:0.2em 0.5em" {{!}} {{ll|MediaWiki-Vagrant#Using roles|'''<translate><!--T:34--> | {{!}} style="vertical-align:top; text-align:{{dir|{{pagelang}}|right|left}}; padding:0.2em 0.5em" {{!}} {{ll|MediaWiki-Vagrant#Using roles|'''<translate><!--T:34--> Vagrant role</translate>'''}} | ||
Vagrant role</translate>'''}} | |||
{{!}} [https://doc.wikimedia.org/mediawiki-vagrant/role/{{{vagrant-role}}}.html {{{vagrant-role}}}] | {{!}} [https://doc.wikimedia.org/mediawiki-vagrant/role/{{{vagrant-role}}}.html {{{vagrant-role}}}] | ||
}} | }} | ||
Line 294: | Line 259: | ||
{{#if: {{{phabricator|{{{bugzilla|}}}}}} | | {{#if: {{{phabricator|{{{bugzilla|}}}}}} | | ||
{{!}} style="vertical-align: top" {{!}} | {{!}} style="vertical-align: top" {{!}} | ||
'''{{ll|Phabricator|<translate><!--T:35--> | '''{{ll|Phabricator|<translate><!--T:35--> Issues</translate>}}''' | ||
Issues</translate>}}''' | {{!}}[[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>] | ||
{{!}}[[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>] | |||
{{!}}- | {{!}}- | ||
}} | }} |
Revision as of 12:59, 9 January 2017
<languages/>
Template:IfNotTranslation <translate> Release status:</translate> <translate> unknown</translate> | |
---|---|
<translate> License</translate> | <translate> No license specified</translate> |
<translate> Download</translate> | <translate> No link</translate> |
<translate> [[<tvar|1>translatewiki:Special:Translate/ext-script error: no such module "string/enwiki".</>|Translate the <tvar|2>Extension</> extension]] if it is available at translatewiki.net</translate> | |
Lua error in Module:TNT at line 158: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab.
[[Category:Info templatesTemplate:Translation|Extension]] [[Category:Extension creationTemplate:Translation]] [[Category:Categorizing templatesTemplate:Translation|Extension]] [[Category:Extension templatesTemplate:Translation]]