Difference between revisions of "Template:Extension/doc"

Jump to navigation Jump to search
4,574 bytes removed ,  12:32, 2 April 2020
TemplateData updates
>Ammarpad
(add ltsrel)
>ESanders (WMF)
(TemplateData updates)
Line 3: Line 3:
<templatedata>
<templatedata>
{
{
    "description":"An infobox for a MediaWiki extension.",
"description": "An infobox for a MediaWiki extension.",
    "params":{
"params": {
        "status":{
"status": {
            "description":"Current release status. One of: unstable, experimental, beta, stable, unmaintained, unknown.",
"description": "Current release status. One of: unstable, experimental, beta, stable, unmaintained, unknown.",
            "default":"unknown",
"default": "unknown",
            "label":"Status",
"label": "Status",
            "type":"string"
"type": "string",
        },
"example": "stable",
        "name":{
"suggested": true
            "description":"name of the extension",
},
            "label":"Name",
"name": {
            "type":"string"
"description": "Name of the extension",
        },
"label": "Name",
        "license":{
"type": "string",
            "description":"Extension's license.",
"default": "Current page name",
            "label":"License",
"suggested": true
            "type":"string"
},
        },
"license": {
        "templatemode":{
"description": "Extension's license.",
            "description":"Controls auto-categorization of host page. Normally left blank. Alternate values are: nocats, nousage.",
"label": "License",
            "label":"Mode"
"type": "string",
        },
"suggested": true
        "image":{
},
            "description":"Screenshot or logo of extension. It should be provided without namespace and without [[]]s.",
"templatemode": {
            "label":"Screenshot or logo"
"description": "Controls auto-categorization of host page. Normally left blank. Alternate values are: nocats, nousage.",
        },
"label": "Mode"
        "imagesize":{
},
            "description":"Facultative, size of the image (default size is 220px)"
"image": {
        },
"description": "Screenshot or logo of extension. It should be provided without namespace and without [[]]s.",
        "type":{
"label": "Screenshot or logo",
            "description":"Implementation type. See detailed doc.",
"example": "Example.jpg",
            "label":"Primary type"
"type": "wiki-file-name",
        },
"suggested": true
        "type1":{
},
            "description":"Implementation type. See detailed doc.",
"imagesize": {
            "label":"Secondary type"
"description": "Optional size of the image",
        },
"label": "Image size",
        "type2":{
"default": "220"
            "description":"Implementation type. See detailed doc.",
},
            "label":"Tertiary type"
"type": {
        },
"description": "Implementation type. If more that one type is required, use \"Primary type\", \"Seconary type\", ... instead",
        "type3":{
"label": "Type",
            "description":"Implementation type. See detailed doc.",
"type": "string",
            "label":"Quaternary type"
"suggested": true
        },
},
        "type4":{
"type1": {
            "description":"Implementation type. See detailed doc.",
"description": "Implementation type. See detailed doc.",
            "label":"Quaternary type"
"label": "Primary type",
        },
"type": "string"
        "type5":{
},
            "description":"Implementation type. See detailed doc.",
"type2": {
            "label":"Quinary type"
"description": "Implementation type. See detailed doc.",
        },
"label": "Secondary type"
        "type6":{
},
            "description":"Implementation type. See detailed doc.",
"type3": {
            "label":"Senary type"
"description": "Implementation type. See detailed doc.",
        },
"label": "Third type",
        "description":{
"type": "string"
            "description":"Short description."
},
        },
"type4": {
        "author":{
"description": "Implementation type. See detailed doc.",
            "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)."
"label": "Fourth type",
        },
"type": "string"
        "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."
"type5": {
        },
"description": "Implementation type. See detailed doc.",
        "version":{
"label": "Fifth type",
            "aliases":[
"type": "string"
                "latest release version",
},
                "latest_release_version"
"type6": {
            ]
"description": "Implementation type. See detailed doc.",
        },
"label": "Sixth type",
        "update":{
"type": "string"
            "description":"date of the last update"
},
        },
"description": {
        "version preview":{
"description": "Short description",
            "description":"version preview"
"label": "Description",
        },
"suggested": true
        "update preview":{
},
            "description":"version preview"
"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).",
        "mediawiki":{
"label": "Author",
            "description":"Required version of MediaWiki"
"suggested": true
        },
},
        "php":{
"username": {
            "description":"Required version of PHP"
"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.",
        },
"label": "Username"
        "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."
"version": {
        },
"aliases": [
        "composer":{
"latest release version",
            "description":"If applicable the name
"latest_release_version"
],
"label": "Latest version",
"suggested": true
},
"update": {
"label": "Latest version release date",
"suggested": true
}</templatedata>
}</templatedata>
{{collapse bottom}}
{{collapse bottom}}
Anonymous user

Navigation menu