Difference between revisions of "Template:Extension/doc"
Jump to navigation
Jump to search
cleanup/reformat JSON
>Uzume (TemplateData: expand number of documented hooks supported from 48 to 90) |
>Uzume (cleanup/reformat JSON) |
||
Line 4: | Line 4: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
"description":"An infobox for a MediaWiki extension.", | |||
"params":{ | |||
"status":{ | |||
"description":"Current release status. One of: unstable, experimental, beta, stable, unmaintained, unknown.", | |||
"default":"unknown", | |||
"label":"Status", | |||
"type":"string" | |||
}, | |||
"name":{ | |||
"description":"name of the extension", | |||
"label":"Name", | |||
"type":"string" | |||
}, | |||
"license":{ | |||
"description":"Extension's license.", | |||
"label":"License", | |||
"type":"string" | |||
}, | |||
"templatemode":{ | |||
"description":"Controls auto-categorization of host page. Normally left blank. Alternate values are: nocats, nousage.", | |||
"label":"Mode" | |||
}, | |||
"image":{ | |||
"description":"Screenshot or logo of extension. It should be provided without namespace and without [[]]s.", | |||
"label":"Screenshot or logo" | |||
}, | |||
"imagesize":{ | |||
"description":"Facultative, size of the image (default size is 220px)" | |||
}, | |||
"type":{ | |||
"description":"Implementation type. See detailed doc.", | |||
"label":"Primary type" | |||
}, | |||
"type1":{ | |||
"description":"Implementation type. See detailed doc.", | |||
"label":"Secondary type" | |||
}, | |||
"type2":{ | |||
"description":"Implementation type. See detailed doc.", | |||
"label":"Tertiary type" | |||
}, | |||
"type3":{ | |||
"description":"Implementation type. See detailed doc.", | |||
"label":"Quaternary type" | |||
}, | |||
"type4":{ | |||
"description":"Implementation type. See detailed doc.", | |||
"label":"Quaternary type" | |||
}, | |||
"type5":{ | |||
"description":"Implementation type. See detailed doc.", | |||
"label":"Quinary type" | |||
}, | |||
"type6":{ | |||
"description":"Implementation type. See detailed doc.", | |||
"label":"Senary type" | |||
}, | |||
"description":{ | |||
"description":"Short description." | |||
}, | |||
"author":{ | |||
"description":"The extension author's name, if different from their MediaWiki.org username. Free text. If omitted then the 'username' field will be used (if present)." | |||
}, | |||
"username":{ | |||
"description":"The author's username on MediaWiki.org (if they have one). May be omitted, but if present it will be used to link to the author's user & user_talk page. It should be provided without namespace and without [[]]s." | |||
}, | |||
"version":{ | |||
"aliases":[ | |||
"latest release version", | |||
"latest_release_version" | |||
] | |||
}, | |||
"update":{ | |||
"description":"date of the last update" | |||
}, | |||
"version preview":{ | |||
"description":"version preview" | |||
}, | |||
"update preview":{ | |||
"description":"version preview" | |||
}, | |||
"mediawiki":{ | |||
"description":"Required version of MediaWiki" | |||
}, | |||
"php":{ | |||
"description":"Required version of PHP" | |||
}, | |||
"needs-updatephp":{ | |||
"description":"Yes indicates that the extension requires a database table schema change or a similar action, before the MediaWiki can run. It is a common pitfall: your MediaWiki will stall, if you forgot to run update.php - if the extension requires it. No should be set as a value since this assures that the extension does not need update.php to be run and thus avoids uncertainty." | |||
}, | |||
"composer":{ | |||
"description":"If applicable the name of |