Difference between revisions of "Template:Extension/doc"
Drop parameters that aren't supported from the TemplateData
>Shirayuki m (update) |
>Pppery (Drop parameters that aren't supported from the TemplateData) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
==TemplateData== | <noinclude>{{Documentation subpage}} | ||
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> | |||
</noinclude>== TemplateData == | |||
{{collapse top|title=TemplateData}} | {{collapse top|title=TemplateData}} | ||
{{TemplateData header|editlinks=1|docpage=Extension/doc}} | |||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 92: | Line 95: | ||
}, | }, | ||
"mediawiki": { | "mediawiki": { | ||
"description": "Required | "description": "Required versions of MediaWiki. Not needed if this information is in extension.json.", | ||
"label": "MediaWiki version", | "label": "MediaWiki version", | ||
"example": "1.35 | "example": ">= 1.35", | ||
"type": "string", | "type": "string", | ||
" | "deprecated": "This value will be read from extension.json where possible." | ||
}, | }, | ||
"php": { | "php": { | ||
Line 102: | Line 105: | ||
"label": "PHP version", | "label": "PHP version", | ||
"example": "5.4+", | "example": "5.4+", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
Line 830: | Line 815: | ||
"label": "Maintainer", | "label": "Maintainer", | ||
"description": "Username or other information about who maintains this extension.", | "description": "Username or other information about who maintains this extension.", | ||
"type": "string" | "type": "string" | ||
} | } | ||
}, | }, | ||
"paramOrder": [ | "paramOrder": [ | ||
"name", | "name", | ||
Line 862: | Line 836: | ||
"username", | "username", | ||
"maintainer", | "maintainer", | ||
"latest release version", | "latest release version", | ||
"latest release date", | "latest release date", | ||
Line 871: | Line 843: | ||
"mediawiki", | "mediawiki", | ||
"php", | "php", | ||
"needs-updatephp", | "needs-updatephp", | ||
"composer", | "composer", | ||
Line 1,083: | Line 1,052: | ||
}</templatedata> | }</templatedata> | ||
{{collapse bottom}} | {{collapse bottom}} | ||
<includeonly>{{Sandbox other|| | |||
<!-- Categories below this line; interwikis at Wikidata --> | |||
[[Category:Info templates{{#translation:}}]] | |||
[[Category:Extension creation{{#translation:}}]] | |||
[[Category:Categorizing templates{{#translation:}}]] | |||
[[Category:Extension templates{{#translation:}}]] | |||
}}</includeonly> |