Difference between revisions of "Template:Extension"

From WPRDC Wiki
Jump to navigation Jump to search
>Shirayuki
(translation tweaks)
>Danny B.
(Marked this version for translation)
Line 6: Line 6:
|#default=unknown
|#default=unknown
}}" cellspacing="0"
}}" cellspacing="0"
|+ '''{{ll|Manual:Extensions|<translate>MediaWiki extensions manual</translate>}}'''
|+ '''{{ll|Manual:Extensions|<translate><!--T:1-->
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|{{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|{{dir|{{pagelang}}|right|left}}|40px]] <span style="font-size: 130%;">{{{name|{{PAGENAME}}}}}</span><br />
{{ll|Extension status|<translate>Release status:</translate>}} {{#switch: {{lc: {{{status|unknown}}} }}
{{ll|Extension status|<translate><!--T:2-->
   |unmaintained=<translate>unmaintained</translate>
Release status:</translate>}} {{#switch: {{lc: {{{status|unknown}}} }}
   |archive=<translate>archive</translate>
   |unmaintained=<translate><!--T:3-->
   |milestone=<translate>milestone</translate>
unmaintained</translate>
   |unstable=<translate>unstable</translate>
   |archive=<translate><!--T:4-->
   |experimental=<translate>experimental</translate>
archive</translate>
   |beta=<translate>beta</translate>
   |milestone=<translate><!--T:5-->
   |stable=<translate>stable</translate>
milestone</translate>
   |magic=<translate>magic</translate>
   |unstable=<translate><!--T:6-->
   |#default=<translate>unknown</translate>
unstable</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|}}}|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 35: Line 46:
|{{#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" {{!}} {{ll|Template:Extension#type|'''<translate>Implementation</translate>'''}}
{{!}} style="vertical-align: top" {{!}} {{ll|Template:Extension#type|'''<translate><!--T:12-->
Implementation</translate>'''}}
{{!}} {{#invoke:Extension|getTypes}}<!--
{{!}} {{#invoke:Extension|getTypes}}<!--
-->|<!--else--><!--
-->|<!--else--><!--
Line 48: Line 60:
|-
|-
{{#if:{{{description|}}}|
{{#if:{{{description|}}}|
{{!}} style="vertical-align: top" {{!}} {{ll|Template:Extension#description|'''<translate>Description</translate>'''}}
{{!}} style="vertical-align: top" {{!}} {{ll|Template:Extension#description|'''<translate><!--T:13-->
Description</translate>'''}}
{{!}} {{{description}}}
{{!}} {{{description}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{author|}}}{{{username|}}} |
{{#if:{{{author|}}}{{{username|}}} |
{{!}} style="vertical-align: top" {{!}} {{ll|Template:Extension#username|'''<translate>Author(s)</translate>'''}}
{{!}} style="vertical-align: top" {{!}} {{ll|Template:Extension#username|'''<translate><!--T:14-->
Author(s)</translate>'''}}
{{!}} {{#if: {{{username|}}} |<!--
{{!}} {{#if: {{{username|}}} |<!--
       -->{{#ifeq: {{{username}}}|{{{author|{{{username}}}<!-- -->}}}|<!--
       -->{{#ifeq: {{{username}}}|{{{author|{{{username}}}<!-- -->}}}|<!--
Line 73: Line 87:
}}
}}
{{#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>Latest version</translate>'''}}
{{!}} style="vertical-align: top" {{!}} {{ll|Template:Extension#version|'''<translate><!--T:15-->
Latest version</translate>'''}}
{{!}} {{{latest release version|{{{latest_release_version|{{{version|}}}}}}}}}{{#if:{{{latest release date|{{{latest_release_date|{{{update|}}}}}}}}}|&#160;({{{latest release date|{{{latest_release_date|{{{update}}})}}}}}}}}
{{!}} {{{latest release version|{{{latest_release_version|{{{version|}}}}}}}}}{{#if:{{{latest release date|{{{latest_release_date|{{{update|}}}}}}}}}|&#160;({{{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>Latest preview version</translate>'''}}
{{!}} style="vertical-align: top" {{!}} {{ll|Template:Extension#version|'''<translate><!--T:16-->
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|}}}}}}}}}}}}|&#160;({{{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|}}}}}}}}}}}}|&#160;({{{latest preview version|{{{latest_preview_version|{{{update_preview|{{{update preview}}}}}}}}}}}})}}
{{!}}-
{{!}}-
Line 93: Line 109:
}}
}}
{{#if:{{{needs-updatephp|}}}|
{{#if:{{{needs-updatephp|}}}|
{{!}} style="vertical-align: top" {{!}} {{ll|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>}}
{{!}} style="vertical-align: top" {{!}} {{ll|Template:Extension#needs-updatephp|<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>}}
{{!}} {{#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" {{!}} {{ll|Composer|<abbr title="<translate>Supports 'Composer' for installation</translate>">'''Composer'''</abbr>}}
{{!}} style="vertical-align: top" {{!}} {{ll|Composer|<abbr title="<translate><!--T:19-->
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" {{!}} {{ll|Template:Extension#table1|'''<translate>Tables</translate>'''}}
{{!}} style="vertical-align: top" {{!}} {{ll|Template:Extension#table1|'''<translate><!--T:20-->
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 117: Line 137:
}}
}}
|-
|-
| style="vertical-align: top" {{!}} {{ll|Template:Extension#license|'''<translate>License</translate>'''}}
| style="vertical-align: top" {{!}} {{ll|Template:Extension#license|'''<translate><!--T:21-->
| {{#if:{{{license|}}}|{{#invoke:Extension|getFormattedLicense|{{{license}}}}}|<translate>No license specified</translate>{{#if:{{{nocats|}}}||[[Category:Extensions with no license specified{{translation}}]]}}}}
License</translate>'''}}
| {{#if:{{{license|}}}|{{#invoke:Extension|getFormattedLicense|{{{license}}}}}|<translate><!--T:22-->
No license specified</translate>{{#if:{{{nocats|}}}||[[Category:Extensions with no license specified{{translation}}]]}}}}
|-
|-
| style="vertical-align: top" | '''<translate>Download</translate>'''
| style="vertical-align: top" | '''<translate><!--T:23-->
Download</translate>'''
| <!--
| <!--
-->{{#if:{{{download|}}}|{{{download}}}|''<translate>No link</translate>''}}<!--
-->{{#if:{{{download|}}}|{{{download}}}|''<translate><!--T:24-->
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>Example</translate>'''}}
{{!}} style="vertical-align: top" {{!}} {{ll|Template:Extension#example|'''<translate><!--T:25-->
Example</translate>'''}}
{{!}} {{{example}}}
{{!}} {{{example}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{namespace|}}}|
{{#if:{{{namespace|}}}|
{{!}} style="vertical-align: top" {{!}} {{ll|Template:Extension#namespace|'''<translate>Namespace</translate>'''}}
{{!}} style="vertical-align: top" {{!}} {{ll|Template:Extension#namespace|'''<translate><!--T:26-->
Namespace</translate>'''}}
{{!}} {{{namespace|}}}
{{!}} {{{namespace|}}}
{{!}}-
{{!}}-
Line 141: Line 167:
{{{!}} 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>Parameters</translate>'''}}
! style="vertical-align:top; text-align:{{dir|{{pagelang}}|right|left}}; padding:0.2em 0.5em" {{!}} {{ll|Template:Extension#parameters|'''<translate><!--T:27-->
Parameters</translate>'''}}
{{!}}-
{{!}}-
{{!}}
{{!}}
Line 152: Line 179:
{{{!}} 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>Tags</translate>'''}}
! 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}}}
{{!}} {{{tags}}}
Line 162: Line 190:
{{{!}} 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>Added rights</translate>'''}}
! 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>'''}}
{{!}}-
{{!}}-
{{!}}
{{!}}
Line 174: Line 203:
{{{!}} 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>Hooks used</translate>'''}}
! 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>'''}}
{{!}}-
{{!}}-
{{!}}<!--
{{!}}<!--
Line 208: Line 238:
{{{!}} 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>Hooks provided</translate>'''}}
! 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>'''}}
{{!}}-
{{!}}-
{{!}}<!--
{{!}}<!--
Line 231: Line 262:
}}
}}
{{!}} colspan="2" style="text-align:center;" {{!}}
{{!}} colspan="2" style="text-align:center;" {{!}}
<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>
<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>
{{!}}-
{{!}}-
{{!}} colspan="2" style="text-align:center;" {{!}}<!--
{{!}} colspan="2" style="text-align:center;" {{!}}<!--
Line 246: Line 278:
                     }}}}}
                     }}}}}
     |<!-- no usage -->|
     |<!-- no usage -->|
<translate>Check [[<tvar|1>wikiapiary:Extension:{{{CheckUsageNameOverride|{{BASEPAGENAMEE}}}}}</>|usage&nbsp;and&nbsp;version&nbsp;matrix]]; [<tvar|2>https://git.wikimedia.org/metrics/mediawiki%2Fextensions%2F{{{CheckUsageNameOverride|{{BASEPAGENAMEE}}}}}</> code&nbsp;metrics]</translate><!--
<translate><!--T:33-->
Check [[<tvar|1>wikiapiary:Extension:{{{CheckUsageNameOverride|{{BASEPAGENAMEE}}}}}</>|usage&nbsp;and&nbsp;version&nbsp;matrix]]; [<tvar|2>https://git.wikimedia.org/metrics/mediawiki%2Fextensions%2F{{{CheckUsageNameOverride|{{BASEPAGENAMEE}}}}}</> code&nbsp;metrics]</translate><!--
-->}}
-->}}
{{#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>Vagrant role</translate>'''}}
{{!}} 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>'''}}
{{!}} [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 256: Line 290:
{{#if: {{{phabricator|{{{bugzilla|}}}}}} |
{{#if: {{{phabricator|{{{bugzilla|}}}}}} |
{{!}} style="vertical-align: top" {{!}}  
{{!}} style="vertical-align: top" {{!}}  
'''<translate>[[<tvar|phab>Special:MyLanguage/Phabricator</>|Issues]]:</translate>'''  
'''<translate><!--T:35-->
{{!}}[[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>]
[[<tvar|phab>Special:MyLanguage/Phabricator</>|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>]
{{!}}-
{{!}}-
}}
}}

Revision as of 18:19, 20 June 2016

Template:Languages 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]]