MediaWiki API result

This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use.

Specify the format parameter to change the output format. To see the non-HTML representation of the JSON format, set format=json.

See the complete documentation, or the API help for more information.

{
    "paraminfo": {
        "helpformat": "none",
        "modules": [
            {
                "name": "parse",
                "classname": "ApiParse",
                "path": "parse",
                "group": "action",
                "prefix": "",
                "source": "MediaWiki",
                "sourcename": "MediaWiki",
                "licensetag": "GPL-2.0+",
                "licenselink": "https://wiki.openmpt.org/Special:Version/License/MediaWiki",
                "readrights": "",
                "helpurls": [
                    "https://www.mediawiki.org/wiki/Special:MyLanguage/API:Parsing_wikitext#parse"
                ],
                "parameters": [
                    {
                        "name": "title",
                        "type": "string"
                    },
                    {
                        "name": "text",
                        "type": "text"
                    },
                    {
                        "name": "summary",
                        "type": "string"
                    },
                    {
                        "name": "page",
                        "type": "string"
                    },
                    {
                        "name": "pageid",
                        "type": "integer"
                    },
                    {
                        "name": "redirects",
                        "type": "boolean"
                    },
                    {
                        "name": "oldid",
                        "type": "integer"
                    },
                    {
                        "name": "prop",
                        "default": "text|langlinks|categories|links|templates|images|externallinks|sections|revid|displaytitle|iwlinks|properties|parsewarnings",
                        "multi": "",
                        "limit": 50,
                        "lowlimit": 50,
                        "highlimit": 500,
                        "type": [
                            "text",
                            "langlinks",
                            "categories",
                            "categorieshtml",
                            "links",
                            "templates",
                            "images",
                            "externallinks",
                            "sections",
                            "revid",
                            "displaytitle",
                            "headitems",
                            "headhtml",
                            "modules",
                            "jsconfigvars",
                            "encodedjsconfigvars",
                            "indicators",
                            "iwlinks",
                            "wikitext",
                            "properties",
                            "limitreportdata",
                            "limitreporthtml",
                            "parsetree",
                            "parsewarnings"
                        ]
                    },
                    {
                        "name": "pst",
                        "type": "boolean"
                    },
                    {
                        "name": "onlypst",
                        "type": "boolean"
                    },
                    {
                        "name": "effectivelanglinks",
                        "type": "boolean"
                    },
                    {
                        "name": "section",
                        "type": "string"
                    },
                    {
                        "name": "sectiontitle",
                        "type": "string"
                    },
                    {
                        "name": "disablepp",
                        "deprecated": "",
                        "type": "boolean"
                    },
                    {
                        "name": "disablelimitreport",
                        "type": "boolean"
                    },
                    {
                        "name": "disableeditsection",
                        "type": "boolean"
                    },
                    {
                        "name": "disabletidy",
                        "type": "boolean"
                    },
                    {
                        "name": "generatexml",
                        "deprecated": "",
                        "type": "boolean"
                    },
                    {
                        "name": "preview",
                        "type": "boolean"
                    },
                    {
                        "name": "sectionpreview",
                        "type": "boolean"
                    },
                    {
                        "name": "disabletoc",
                        "type": "boolean"
                    },
                    {
                        "name": "contentformat",
                        "type": [
                            "text/x-wiki",
                            "text/javascript",
                            "application/json",
                            "text/css",
                            "text/plain"
                        ]
                    },
                    {
                        "name": "contentmodel",
                        "type": [
                            "wikitext",
                            "javascript",
                            "json",
                            "css",
                            "text"
                        ]
                    }
                ]
            },
            {
                "name": "phpfm",
                "classname": "ApiFormatPhp",
                "path": "phpfm",
                "group": "format",
                "prefix": "",
                "source": "MediaWiki",
                "sourcename": "MediaWiki",
                "licensetag": "GPL-2.0+",
                "licenselink": "https://wiki.openmpt.org/Special:Version/License/MediaWiki",
                "readrights": "",
                "helpurls": [
                    "https://www.mediawiki.org/wiki/Special:MyLanguage/API:Data_formats"
                ],
                "parameters": [
                    {
                        "name": "wrappedhtml",
                        "type": "boolean"
                    },
                    {
                        "name": "formatversion",
                        "default": 1,
                        "type": [
                            1,
                            2,
                            "latest"
                        ]
                    }
                ]
            },
            {
                "name": "allpages",
                "classname": "ApiQueryAllPages",
                "path": "query+allpages",
                "group": "list",
                "prefix": "ap",
                "source": "MediaWiki",
                "sourcename": "MediaWiki",
                "licensetag": "GPL-2.0+",
                "licenselink": "https://wiki.openmpt.org/Special:Version/License/MediaWiki",
                "readrights": "",
                "generator": "",
                "helpurls": [
                    "https://www.mediawiki.org/wiki/Special:MyLanguage/API:Allpages"
                ],
                "parameters": [
                    {
                        "name": "from",
                        "type": "string"
                    },
                    {
                        "name": "continue",
                        "type": "string"
                    },
                    {
                        "name": "to",
                        "type": "string"
                    },
                    {
                        "name": "prefix",
                        "type": "string"
                    },
                    {
                        "name": "namespace",
                        "default": 0,
                        "type": "namespace"
                    },
                    {
                        "name": "filterredir",
                        "default": "all",
                        "type": [
                            "all",
                            "redirects",
                            "nonredirects"
                        ]
                    },
                    {
                        "name": "minsize",
                        "type": "integer"
                    },
                    {
                        "name": "maxsize",
                        "type": "integer"
                    },
                    {
                        "name": "prtype",
                        "multi": "",
                        "limit": 50,
                        "lowlimit": 50,
                        "highlimit": 500,
                        "type": [
                            "edit",
                            "move",
                            "upload"
                        ]
                    },
                    {
                        "name": "prlevel",
                        "multi": "",
                        "limit": 50,
                        "lowlimit": 50,
                        "highlimit": 500,
                        "type": [
                            "",
                            "autoconfirmed",
                            "sysop"
                        ]
                    },
                    {
                        "name": "prfiltercascade",
                        "default": "all",
                        "type": [
                            "cascading",
                            "noncascading",
                            "all"
                        ]
                    },
                    {
                        "name": "limit",
                        "default": 10,
                        "type": "limit",
                        "max": 500,
                        "highmax": 5000,
                        "min": 1
                    },
                    {
                        "name": "dir",
                        "default": "ascending",
                        "type": [
                            "ascending",
                            "descending"
                        ]
                    },
                    {
                        "name": "filterlanglinks",
                        "default": "all",
                        "type": [
                            "withlanglinks",
                            "withoutlanglinks",
                            "all"
                        ]
                    },
                    {
                        "name": "prexpiry",
                        "default": "all",
                        "type": [
                            "indefinite",
                            "definite",
                            "all"
                        ]
                    }
                ]
            },
            {
                "name": "siteinfo",
                "classname": "ApiQuerySiteinfo",
                "path": "query+siteinfo",
                "group": "meta",
                "prefix": "si",
                "source": "MediaWiki",
                "sourcename": "MediaWiki",
                "licensetag": "GPL-2.0+",
                "licenselink": "https://wiki.openmpt.org/Special:Version/License/MediaWiki",
                "readrights": "",
                "helpurls": [
                    "https://www.mediawiki.org/wiki/Special:MyLanguage/API:Siteinfo"
                ],
                "parameters": [
                    {
                        "name": "prop",
                        "default": "general",
                        "multi": "",
                        "limit": 50,
                        "lowlimit": 50,
                        "highlimit": 500,
                        "type": [
                            "general",
                            "namespaces",
                            "namespacealiases",
                            "specialpagealiases",
                            "magicwords",
                            "interwikimap",
                            "dbrepllag",
                            "statistics",
                            "usergroups",
                            "libraries",
                            "extensions",
                            "fileextensions",
                            "rightsinfo",
                            "restrictions",
                            "languages",
                            "languagevariants",
                            "skins",
                            "extensiontags",
                            "functionhooks",
                            "showhooks",
                            "variables",
                            "protocols",
                            "defaultoptions",
                            "uploaddialog"
                        ]
                    },
                    {
                        "name": "filteriw",
                        "type": [
                            "local",
                            "!local"
                        ]
                    },
                    {
                        "name": "showalldb",
                        "type": "boolean"
                    },
                    {
                        "name": "numberingroup",
                        "type": "boolean"
                    },
                    {
                        "name": "inlanguagecode",
                        "type": "string"
                    }
                ]
            }
        ]
    }
}