Результат MediaWiki API

Это HTML-представление формата JSON. HTML хорош для отладки, но неудобен для практического применения.

Укажите параметр format для изменения формата вывода. Для отображения не-HTML-представления формата JSON, присвойте format=json.

См. полную документацию или справку API для получения дополнительной информации.

{
    "paraminfo": {
        "helpformat": "none",
        "modules": [
            {
                "name": "parse",
                "classname": "ApiParse",
                "path": "parse",
                "group": "action",
                "prefix": "",
                "source": "MediaWiki",
                "sourcename": "MediaWiki",
                "licensetag": "GPL-2.0-or-later",
                "licenselink": "https://wiki.nntc.nnov.ru/index.php?title=%D0%A1%D0%BB%D1%83%D0%B6%D0%B5%D0%B1%D0%BD%D0%B0%D1%8F:%D0%92%D0%B5%D1%80%D1%81%D0%B8%D1%8F/License/MediaWiki",
                "readrights": "",
                "helpurls": [
                    "https://www.mediawiki.org/wiki/Special:MyLanguage/API:Parsing_wikitext#parse"
                ],
                "parameters": [
                    {
                        "index": 1,
                        "name": "title",
                        "type": "string"
                    },
                    {
                        "index": 2,
                        "name": "text",
                        "type": "text"
                    },
                    {
                        "index": 3,
                        "name": "revid",
                        "type": "integer"
                    },
                    {
                        "index": 4,
                        "name": "summary",
                        "type": "string"
                    },
                    {
                        "index": 5,
                        "name": "page",
                        "type": "string"
                    },
                    {
                        "index": 6,
                        "name": "pageid",
                        "type": "integer"
                    },
                    {
                        "index": 7,
                        "name": "redirects",
                        "type": "boolean"
                    },
                    {
                        "index": 8,
                        "name": "oldid",
                        "type": "integer"
                    },
                    {
                        "index": 9,
                        "name": "prop",
                        "default": "text|langlinks|categories|links|templates|images|externallinks|sections|revid|displaytitle|iwlinks|properties|parsewarnings",
                        "multi": "",
                        "lowlimit": 50,
                        "highlimit": 500,
                        "limit": 50,
                        "type": [
                            "text",
                            "langlinks",
                            "categories",
                            "categorieshtml",
                            "links",
                            "templates",
                            "images",
                            "externallinks",
                            "sections",
                            "revid",
                            "displaytitle",
                            "headhtml",
                            "modules",
                            "jsconfigvars",
                            "encodedjsconfigvars",
                            "indicators",
                            "iwlinks",
                            "wikitext",
                            "properties",
                            "limitreportdata",
                            "limitreporthtml",
                            "parsetree",
                            "parsewarnings",
                            "headitems"
                        ],
                        "deprecatedvalues": [
                            "headitems"
                        ]
                    },
                    {
                        "index": 10,
                        "name": "wrapoutputclass",
                        "default": "mw-parser-output",
                        "type": "string"
                    },
                    {
                        "index": 11,
                        "name": "pst",
                        "type": "boolean"
                    },
                    {
                        "index": 12,
                        "name": "onlypst",
                        "type": "boolean"
                    },
                    {
                        "index": 13,
                        "name": "effectivelanglinks",
                        "deprecated": "",
                        "type": "boolean"
                    },
                    {
                        "index": 14,
                        "name": "section",
                        "type": "string"
                    },
                    {
                        "index": 15,
                        "name": "sectiontitle",
                        "type": "string"
                    },
                    {
                        "index": 16,
                        "name": "disablepp",
                        "deprecated": "",
                        "type": "boolean"
                    },
                    {
                        "index": 17,
                        "name": "disablelimitreport",
                        "type": "boolean"
                    },
                    {
                        "index": 18,
                        "name": "disableeditsection",
                        "type": "boolean"
                    },
                    {
                        "index": 19,
                        "name": "disabletidy",
                        "deprecated": "",
                        "type": "boolean"
                    },
                    {
                        "index": 20,
                        "name": "disablestylededuplication",
                        "type": "boolean"
                    },
                    {
                        "index": 21,
                        "name": "generatexml",
                        "deprecated": "",
                        "type": "boolean"
                    },
                    {
                        "index": 22,
                        "name": "preview",
                        "type": "boolean"
                    },
                    {
                        "index": 23,
                        "name": "sectionpreview",
                        "type": "boolean"
                    },
                    {
                        "index": 24,
                        "name": "disabletoc",
                        "type": "boolean"
                    },
                    {
                        "index": 25,
                        "name": "useskin",
                        "type": [
                            "monobook",
                            "timeless",
                            "vector"
                        ]
                    },
                    {
                        "index": 26,
                        "name": "contentformat",
                        "type": [
                            "text/x-wiki",
                            "text/javascript",
                            "application/json",
                            "text/css",
                            "text/plain"
                        ]
                    },
                    {
                        "index": 27,
                        "name": "contentmodel",
                        "type": [
                            "wikitext",
                            "javascript",
                            "json",
                            "css",
                            "text"
                        ]
                    }
                ],
                "templatedparameters": []
            },
            {
                "name": "phpfm",
                "classname": "ApiFormatPhp",
                "path": "phpfm",
                "group": "format",
                "prefix": "",
                "source": "MediaWiki",
                "sourcename": "MediaWiki",
                "licensetag": "GPL-2.0-or-later",
                "licenselink": "https://wiki.nntc.nnov.ru/index.php?title=%D0%A1%D0%BB%D1%83%D0%B6%D0%B5%D0%B1%D0%BD%D0%B0%D1%8F:%D0%92%D0%B5%D1%80%D1%81%D0%B8%D1%8F/License/MediaWiki",
                "readrights": "",
                "helpurls": [
                    "https://www.mediawiki.org/wiki/Special:MyLanguage/API:Data_formats"
                ],
                "parameters": [
                    {
                        "index": 1,
                        "name": "wrappedhtml",
                        "type": "boolean"
                    },
                    {
                        "index": 2,
                        "name": "formatversion",
                        "default": "1",
                        "type": [
                            "1",
                            "2",
                            "latest"
                        ]
                    }
                ],
                "templatedparameters": []
            },
            {
                "name": "allpages",
                "classname": "ApiQueryAllPages",
                "path": "query+allpages",
                "group": "list",
                "prefix": "ap",
                "source": "MediaWiki",
                "sourcename": "MediaWiki",
                "licensetag": "GPL-2.0-or-later",
                "licenselink": "https://wiki.nntc.nnov.ru/index.php?title=%D0%A1%D0%BB%D1%83%D0%B6%D0%B5%D0%B1%D0%BD%D0%B0%D1%8F:%D0%92%D0%B5%D1%80%D1%81%D0%B8%D1%8F/License/MediaWiki",
                "readrights": "",
                "generator": "",
                "helpurls": [
                    "https://www.mediawiki.org/wiki/Special:MyLanguage/API:Allpages"
                ],
                "parameters": [
                    {
                        "index": 1,
                        "name": "from",
                        "type": "string"
                    },
                    {
                        "index": 2,
                        "name": "continue",
                        "type": "string"
                    },
                    {
                        "index": 3,
                        "name": "to",
                        "type": "string"
                    },
                    {
                        "index": 4,
                        "name": "prefix",
                        "type": "string"
                    },
                    {
                        "index": 5,
                        "name": "namespace",
                        "default": 0,
                        "type": "namespace"
                    },
                    {
                        "index": 6,
                        "name": "filterredir",
                        "default": "all",
                        "type": [
                            "all",
                            "redirects",
                            "nonredirects"
                        ]
                    },
                    {
                        "index": 7,
                        "name": "minsize",
                        "type": "integer"
                    },
                    {
                        "index": 8,
                        "name": "maxsize",
                        "type": "integer"
                    },
                    {
                        "index": 9,
                        "name": "prtype",
                        "multi": "",
                        "lowlimit": 50,
                        "highlimit": 500,
                        "limit": 50,
                        "type": [
                            "edit",
                            "move",
                            "upload"
                        ]
                    },
                    {
                        "index": 10,
                        "name": "prlevel",
                        "multi": "",
                        "lowlimit": 50,
                        "highlimit": 500,
                        "limit": 50,
                        "type": [
                            "",
                            "autoconfirmed",
                            "sysop"
                        ]
                    },
                    {
                        "index": 11,
                        "name": "prfiltercascade",
                        "default": "all",
                        "type": [
                            "cascading",
                            "noncascading",
                            "all"
                        ]
                    },
                    {
                        "index": 12,
                        "name": "limit",
                        "default": 10,
                        "type": "limit",
                        "max": 500,
                        "highmax": 5000,
                        "min": 1
                    },
                    {
                        "index": 13,
                        "name": "dir",
                        "default": "ascending",
                        "type": [
                            "ascending",
                            "descending"
                        ]
                    },
                    {
                        "index": 14,
                        "name": "filterlanglinks",
                        "default": "all",
                        "type": [
                            "withlanglinks",
                            "withoutlanglinks",
                            "all"
                        ]
                    },
                    {
                        "index": 15,
                        "name": "prexpiry",
                        "default": "all",
                        "type": [
                            "indefinite",
                            "definite",
                            "all"
                        ]
                    }
                ],
                "templatedparameters": []
            },
            {
                "name": "siteinfo",
                "classname": "ApiQuerySiteinfo",
                "path": "query+siteinfo",
                "group": "meta",
                "prefix": "si",
                "source": "MediaWiki",
                "sourcename": "MediaWiki",
                "licensetag": "GPL-2.0-or-later",
                "licenselink": "https://wiki.nntc.nnov.ru/index.php?title=%D0%A1%D0%BB%D1%83%D0%B6%D0%B5%D0%B1%D0%BD%D0%B0%D1%8F:%D0%92%D0%B5%D1%80%D1%81%D0%B8%D1%8F/License/MediaWiki",
                "readrights": "",
                "helpurls": [
                    "https://www.mediawiki.org/wiki/Special:MyLanguage/API:Siteinfo"
                ],
                "parameters": [
                    {
                        "index": 1,
                        "name": "prop",
                        "default": "general",
                        "multi": "",
                        "lowlimit": 50,
                        "highlimit": 500,
                        "limit": 50,
                        "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"
                        ]
                    },
                    {
                        "index": 2,
                        "name": "filteriw",
                        "type": [
                            "local",
                            "!local"
                        ]
                    },
                    {
                        "index": 3,
                        "name": "showalldb",
                        "type": "boolean"
                    },
                    {
                        "index": 4,
                        "name": "numberingroup",
                        "type": "boolean"
                    },
                    {
                        "index": 5,
                        "name": "inlanguagecode",
                        "type": "string"
                    }
                ],
                "templatedparameters": []
            }
        ]
    }
}