Difference between revisions of "Template:Extension/doc"

453 bytes removed ,  23:55, 20 October 2021
Drop parameters that aren't supported from the TemplateData
>Proactive programming
>Pppery
(Drop parameters that aren't supported from the TemplateData)
 
(10 intermediate revisions by 5 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 version of MediaWiki",
"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",
"suggested": true
"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"
},
"mw.1.36-status": {
"description": "Status of extension under Mediawiki 1.36.  Examples: Works, no known issues; Does not install; Installs, but does not work;  Usable, minor issues;  Not useable, major issues; Does not work, general;",
"label": "mw.1.36.status",
"example": "Not formally tested",
"type": "string"
},
"mw.1.34-status": {
"description": "Status of extension under Mediawiki 1.34.  Examples: Works, no known issues; Does not install; Installs, but does not work;  Usable, minor issues;  Not useable, major issues; Does not work, general;",
"label": "mw.1.34.status",
"example": "Not formally tested",
"type": "string"
},
"mw.1.32-status": {
"description": "Status of extension under Mediawiki 1.32.  Examples: Works, no known issues; Does not install; Installs, but does not work;  Usable, minor issues;  Not useable, major issues; Does not work, general;",
"label": "mw.1.32.status",
"example": "Does not work",
"type": "string"
"type": "string"
},
},
Line 833: Line 818:
}
}
},
},
"format": "block",
"paramOrder": [
"paramOrder": [
"name",
"name",
Line 859: Line 843:
"mediawiki",
"mediawiki",
"php",
"php",
"mw.1.36-status",
"mw.1.34-status",
"mw.1.32-status",
"needs-updatephp",
"needs-updatephp",
"composer",
"composer",
Line 1,071: 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>
Anonymous user