Difference between revisions of "Template:Extension/doc"

805 bytes removed ,  23:55, 20 October 2021
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 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.35-status": {
"description": "Status of extension under MediaWiki 1.35.  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.35-status",
"example": "Not formally tested",
"type": "string"
},
"mw.1.31-status": {
"description": "Status of extension under MediaWiki 1.31.  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.31-status",
"example": "Not formally tested",
"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"
},
"tester": {
"label": "Tester",
"description": "Username or other information about who tests this extension.",
"type": "string"
},
"documenter": {
"label": "Documenter",
"description": "Username or other information about who wrote the documentation for this extension.",
"type": "string"
"type": "string"
}
}
},
},
"format": "block",
"paramOrder": [
"paramOrder": [
"name",
"name",
Line 862: Line 836:
"username",
"username",
"maintainer",
"maintainer",
"tester",
"documenter",
"latest release version",
"latest release version",
"latest release date",
"latest release date",
Line 871: Line 843:
"mediawiki",
"mediawiki",
"php",
"php",
"mw.1.36-status",
"mw.1.35-status",
"mw.1.31-status",
"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>
Anonymous user