Difference between revisions of "Template:Extension"
Jump to navigation
Jump to search
>BDavis (WMF) (Fix vagrant-role link) |
>Tacsipacsi (add translation tags) |
||
Line 4: | Line 4: | ||
|#default=unknown | |#default=unknown | ||
}}" cellspacing="0" | }}" cellspacing="0" | ||
|+ '''[[Special:MyLanguage/Manual:Extensions|MediaWiki extensions manual]]''' | |+ '''[[Special:MyLanguage/Manual:Extensions|<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|left|40px]] <span style="font-size: 130%;">{{{name|{{PAGENAME}}}}}</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|left|40px]] <span style="font-size: 130%;">{{{name|{{PAGENAME}}}}}</span><br /> | ||
[[Extension status|Release status:]] {{#switch: {{lc: {{{status|unknown}}} }} | [[Extension status|<translate>Release status:</translate>]] {{#switch: {{lc: {{{status|unknown}}} }} | ||
|unmaintained|archive|milestone|unstable|experimental|beta|stable|magic= | |unmaintained=<translate>unmaintained</translate> | ||
|#default=unknown | |archive=<translate>archive</translate> | ||
|milestone=<translate>milestone</translate> | |||
|unstable=<translate>unstable</translate> | |||
|experimental=<translate>experimental</translate> | |||
|beta=<translate>beta</translate> | |||
|stable=<translate>stable</translate> | |||
|magic=<translate>magic</translate> | |||
|#default=<translate>unknown</translate> | |||
}}<!-- Category logic -->{{#if:{{{license|}}}|{{#ifeq:{{{templatemode|}}}|nocats|<!-- do nothing -->|<!--else-->{{#invoke:Extension|getLicenseCategory|{{{license}}}}}}}}}<!-- | }}<!-- Category logic -->{{#if:{{{license|}}}|{{#ifeq:{{{templatemode|}}}|nocats|<!-- do nothing -->|<!--else-->{{#invoke:Extension|getLicenseCategory|{{{license}}}}}}}}}<!-- | ||
-->{{#ifeq:{{{templatemode|}}}|nocats|<!-- do nothing -->|<!--else-->[[Category:{{#switch: {{lc:{{{status|}}} }} | -->{{#ifeq:{{{templatemode|}}}|nocats|<!-- do nothing -->|<!--else-->[[Category:{{#switch: {{lc:{{{status|}}} }} | ||
Line 22: | Line 29: | ||
|- | |- | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
{{!}} colspan="2" style="text-align: center;" {{!}} [[ | {{!}} colspan="2" style="text-align: center;" {{!}} [[File:{{{image}}}|{{{imagesize|220}}}px]] | ||
{{!}}- | {{!}}- | ||
|{{#if:{{#translation:}}||[[Category:MediaWiki extensions without a screenshot]]}}}} | |{{#if:{{#translation:}}||[[Category:MediaWiki extensions without a screenshot]]}}}} | ||
{{#if:{{{type|}}}{{{type1|}}}| | {{#if:{{{type|}}}{{{type1|}}}| | ||
{{!}} style="vertical-align: top" {{!}} [[Special:MyLanguage/Template:Extension#type|'''Implementation''']] | {{!}} style="vertical-align: top" {{!}} [[Special:MyLanguage/Template:Extension#type|'''<translate>Implementation</translate>''']] | ||
{{!}} {{#invoke:Extension|getTypes}}<!-- | {{!}} {{#invoke:Extension|getTypes}}<!-- | ||
-->|<!--else--><!-- | -->|<!--else--><!-- | ||
Line 39: | Line 46: | ||
|- | |- | ||
{{#if:{{{description|}}}| | {{#if:{{{description|}}}| | ||
{{!}} style="vertical-align: top" {{!}} [[Special:MyLanguage/Template:Extension#description|'''Description''']] | {{!}} style="vertical-align: top" {{!}} [[Special:MyLanguage/Template:Extension#description|'''<translate>Description</translate>''']] | ||
{{!}} {{{description}}} | {{!}} {{{description}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{author|}}}{{{username|}}} | | {{#if:{{{author|}}}{{{username|}}} | | ||
{{!}} style="vertical-align: top" {{!}} [[Special:MyLanguage/Template:Extension#username|'''Author(s)''']] | {{!}} style="vertical-align: top" {{!}} [[Special:MyLanguage/Template:Extension#username|'''<translate>Author(s)</translate>''']] | ||
{{!}} {{#if: {{{username|}}} |<!-- | {{!}} {{#if: {{{username|}}} |<!-- | ||
-->{{#ifeq: {{{username}}}|{{{author|{{{username}}}<!-- -->}}}|<!-- | -->{{#ifeq: {{{username}}}|{{{author|{{{username}}}<!-- -->}}}|<!-- | ||
Line 64: | Line 71: | ||
}} | }} | ||
{{#if:{{{latest release version|{{{latest_release_version|{{{version|}}}}}}}}}| | {{#if:{{{latest release version|{{{latest_release_version|{{{version|}}}}}}}}}| | ||
{{!}} style="vertical-align: top" {{!}} [[Special:MyLanguage/Template:Extension#version|'''Latest version''']] | {{!}} style="vertical-align: top" {{!}} [[Special:MyLanguage/Template:Extension#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" {{!}} [[Special:MyLanguage/Template:Extension#version|'''Latest preview version''']] | {{!}} style="vertical-align: top" {{!}} [[Special:MyLanguage/Template:Extension#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 84: | Line 91: | ||
}} | }} | ||
{{#if:{{{needs-updatephp|}}}| | {{#if:{{{needs-updatephp|}}}| | ||
{{!}} style="vertical-align: top" {{!}} [[Special:MyLanguage/Template:Extension#needs-updatephp|<abbr title="'php update.php' needed after installation">'''Database | {{!}} style="vertical-align: top" {{!}} [[Special:MyLanguage/Template:Extension#needs-updatephp|<abbr title="<translate><tvar|com>'php update.php'</> needed after installation</translate>" style="white-space:nowrap;">'''<translate>Database changes</translate>'''</abbr>]] | ||
{{!}} {{#switch:{{{needs-updatephp}}}|yes|Yes=Yes|no|No=No|{{{needs-updatephp}}}}} | {{!}} {{#switch:{{{needs-updatephp}}}|yes|Yes=Yes|no|No=No|{{{needs-updatephp}}}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{composer|}}}| | {{#if:{{{composer|}}}| | ||
{{!}} style="vertical-align: top" {{!}} [[Composer|<abbr title="Supports 'Composer' for installation">'''Composer'''</abbr>]] | {{!}} style="vertical-align: top" {{!}} [[Composer|<abbr title="<translate>Supports 'Composer' for installation</translate>">'''Composer'''</abbr>]] | ||
{{!}} [https://packagist.org/packages/{{{composer}}} {{{composer}}}] {{#ifeq:{{{templatemode|}}}|nocats|<!-- do nothing -->|<!--else-->{{#if:{{{composer|}}}|[[Category:Extensions supporting Composer{{translation}}]]|}} }} | {{!}} [https://packagist.org/packages/{{{composer}}} {{{composer}}}] {{#ifeq:{{{templatemode|}}}|nocats|<!-- do nothing -->|<!--else-->{{#if:{{{composer|}}}|[[Category:Extensions supporting Composer{{translation}}]]|}} }} | ||
}} | }} | ||
{{!}}- | {{!}}- | ||
{{#if:{{{table1|}}}| | {{#if:{{{table1|}}}| | ||
{{!}} style="vertical-align: top" {{!}} [[Special:MyLanguage/Template:Extension#table1|'''Tables''']] | {{!}} style="vertical-align: top" {{!}} [[Special:MyLanguage/Template:Extension#table1|'''<translate>Tables</translate>''']] | ||
{{!}} [[{{FULLPAGENAME}}/{{{table1}}} table|{{{table1}}}]]<!-- | {{!}} [[{{FULLPAGENAME}}/{{{table1}}} table|{{{table1}}}]]<!-- | ||
-->{{#if:{{{table2|}}}|<br />[[{{FULLPAGENAME}}/{{{table2}}} table|{{{table2}}}]]<!-- -->}}<!-- | -->{{#if:{{{table2|}}}|<br />[[{{FULLPAGENAME}}/{{{table2}}} table|{{{table2}}}]]<!-- -->}}<!-- | ||
Line 108: | Line 115: | ||
}} | }} | ||
|- | |- | ||
| style="vertical-align: top" {{!}} [[Special:MyLanguage/Template:Extension#license|'''License''']] | | style="vertical-align: top" {{!}} [[Special:MyLanguage/Template:Extension#license|'''<translate>License</translate>''']] | ||
| {{#if:{{{license|}}}|{{#invoke:Extension|getFormattedLicense|{{{license}}}}}|No license specified{{#if:{{{nocats|}}}||[[Category:Extensions with no license specified{{translation}}]]}}}} | | {{#if:{{{license|}}}|{{#invoke:Extension|getFormattedLicense|{{{license}}}}}|<translate>No license specified</translate>{{#if:{{{nocats|}}}||[[Category:Extensions with no license specified{{translation}}]]}}}} | ||
|- | |- | ||
| style="vertical-align: top" | '''Download''' | | style="vertical-align: top" | '''<translate>Download</translate>''' | ||
| <!-- | | <!-- | ||
-->{{#if:{{{download|}}}|{{{download}}}|''No link''}}<!-- | -->{{#if:{{{download|}}}|{{{download}}}|''<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" {{!}} [[Special:MyLanguage/Template:Extension#example|'''Example''']] | {{!}} style="vertical-align: top" {{!}} [[Special:MyLanguage/Template:Extension#example|'''<translate>Example</translate>''']] | ||
{{!}} {{{example}}} | {{!}} {{{example}}} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
{{#if:{{{namespace|}}}| | {{#if:{{{namespace|}}}| | ||
{{!}} style="vertical-align: top" {{!}} [[Special:MyLanguage/Template:Extension#namespace|'''Namespace''']] | {{!}} style="vertical-align: top" {{!}} [[Special:MyLanguage/Template:Extension#namespace|'''<translate>Namespace</translate>''']] | ||
{{!}} {{{namespace|}}} | {{!}} {{{namespace|}}} | ||
{{!}}- | {{!}}- | ||
Line 132: | Line 139: | ||
{{{!}} 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: left; padding: 0.2em 0.5em;" {{!}} [[Special:MyLanguage/Template:Extension#parameters|'''Parameters''']] | ! style="vertical-align: top; text-align: left; padding: 0.2em 0.5em;" {{!}} [[Special:MyLanguage/Template:Extension#parameters|'''<translate>Parameters</translate>''']] | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} | ||
Line 143: | Line 150: | ||
{{{!}} 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: left; padding: 0.2em 0.5em;" {{!}} [[Special:MyLanguage/Template:Extension#tags|'''Tags''']] | ! style="vertical-align: top; text-align: left; padding: 0.2em 0.5em;" {{!}} [[Special:MyLanguage/Template:Extension#tags|'''<translate>Tags</translate>''']] | ||
{{!}}- | {{!}}- | ||
{{!}} {{{tags}}} | {{!}} {{{tags}}} | ||
Line 153: | Line 160: | ||
{{{!}} 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: left; padding: 0.2em 0.5em;" {{!}} [[Special:MyLanguage/Template:Extension#rights|'''Added rights''']] | ! style="vertical-align: top; text-align: left; padding: 0.2em 0.5em;" {{!}} [[Special:MyLanguage/Template:Extension#rights|'''<translate>Added rights</translate>''']] | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} | ||
Line 165: | Line 172: | ||
{{{!}} 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: left; padding: 0.2em 0.5em;" {{!}} [[Special:MyLanguage/Template:Extension#hook|'''Hooks used''']] | ! style="vertical-align: top; text-align: left; padding: 0.2em 0.5em;" {{!}} [[Special:MyLanguage/Template:Extension#hook|'''<translate>Hooks used</translate>''']] | ||
{{!}}- | {{!}}- | ||
{{!}}<!-- | {{!}}<!-- | ||
Line 199: | Line 206: | ||
{{{!}} 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: left; padding: 0.2em 0.5em;" {{!}} [[Special:MyLanguage/Template:Extension#newhook|'''Hooks provided''']] | ! style="vertical-align: top; text-align: left; padding: 0.2em 0.5em;" {{!}} [[Special:MyLanguage/Template:Extension#newhook|'''<translate>Hooks provided</translate>''']] | ||
{{!}}- | {{!}}- | ||
{{!}}<!-- | {{!}}<!-- | ||
Line 222: | Line 229: | ||
}} | }} | ||
{{!}} colspan="2" style="text-align:center;" {{!}} | {{!}} colspan="2" style="text-align:center;" {{!}} | ||
[[translatewiki:Special:Translate/{{{translate|ext-{{lc:{{#invoke:String/enwiki|replace|{{BASEPAGENAME}}| |}}}}}}}|Translate the {{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 237: | Line 244: | ||
}}}}} | }}}}} | ||
|<!-- no usage -->| | |<!-- no usage -->| | ||
Check [[wikiapiary:Extension:{{{CheckUsageNameOverride|{{BASEPAGENAMEE}}}}}|usage and version matrix]]; [https://git.wikimedia.org/metrics/mediawiki%2Fextensions%2F{{{CheckUsageNameOverride|{{BASEPAGENAMEE}}}}} code metrics]<!-- | <translate>Check [[<tvar|1>wikiapiary:Extension:{{{CheckUsageNameOverride|{{BASEPAGENAMEE}}}}}</>|usage and version matrix]]; [<tvar|2>https://git.wikimedia.org/metrics/mediawiki%2Fextensions%2F{{{CheckUsageNameOverride|{{BASEPAGENAMEE}}}}}</> code metrics]</translate><!-- | ||
-->}} | -->}} | ||
{{#if:{{{vagrant-role|}}} | | {{#if:{{{vagrant-role|}}} | | ||
{{!}}- | {{!}}- | ||
{{!}} style="vertical-align: top; text-align: left; padding: 0.2em 0.5em;" {{!}} [[MediaWiki-Vagrant# | {{!}} style="vertical-align: top; text-align: left; padding: 0.2em 0.5em;" {{!}} [[MediaWiki-Vagrant#Using roles|'''<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 247: | Line 254: | ||
{{#if: {{{phabricator|{{{bugzilla|}}}}}} | | {{#if: {{{phabricator|{{{bugzilla|}}}}}} | | ||
{{!}} style="vertical-align: top" {{!}} | {{!}} style="vertical-align: top" {{!}} | ||
'''[[Phabricator|Issues]]:''' | '''[[Phabricator|<translate>Issues</translate>]]:''' | ||
{{!}}[[phab:tag/{{lc:{{{phabricator|MediaWiki-extensions-{{{bugzilla}}}}}}}}|Open tasks]] · [https://phabricator.wikimedia.org/maniphest/task/ | {{!}}[[phab:tag/{{lc:{{{phabricator|MediaWiki-extensions-{{{bugzilla}}}}}}}}|<translate>Open tasks</translate>]] · [https://phabricator.wikimedia.org/maniphest/task/create/?projects={{{phabricator|MediaWiki-extensions-{{{bugzilla}}}}}} <translate>Report a bug</translate>] | ||
{{!}}- | {{!}}- | ||
}} | }} |
Revision as of 20:33, 11 March 2016
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]] Template:Languages