MediaWiki API 結果

这是JSON格式的HTML表示。HTML对调试很有用,但不适合应用程序使用。

指定format参数以更改输出格式。要查看JSON格式的非HTML表示,设置format=json

参见完整文档,或API 帮助以获取更多信息。

{
    "query": {
        "general": {
            "mainpage": "\u9996\u9801",
            "base": "http://uncyclopedia.tw/wiki/%E9%A6%96%E9%A0%81",
            "sitename": "\u507d\u57fa\u767e\u79d1",
            "logo": "https://images.uncyc.org/zh-tw/b/bc/Wiki.png",
            "generator": "MediaWiki 1.25.2",
            "phpversion": "5.5.38",
            "phpsapi": "apache2handler",
            "dbtype": "mysql",
            "dbversion": "5.5.52-MariaDB",
            "imagewhitelistenabled": "",
            "externalimages": [
                "https://images.uncyc.org/",
                "https://image.uncyc.org/",
                "https://commons.uncyclomedia.org/"
            ],
            "langconversion": "",
            "titleconversion": "",
            "linkprefixcharset": "",
            "linkprefix": "",
            "linktrail": "/^()(.*)$/sD",
            "legaltitlechars": " %!\"$&'()*,\\-.\\/0-9:;[email protected]\\\\^_`a-z~\\x80-\\xFF+",
            "case": "first-letter",
            "lang": "zh-tw",
            "fallback": [
                {
                    "code": "zh-hant"
                },
                {
                    "code": "zh-hans"
                },
                {
                    "code": "en"
                }
            ],
            "fallback8bitEncoding": "windows-950",
            "writeapi": "",
            "timezone": "Asia/Taipei",
            "timeoffset": 480,
            "articlepath": "/wiki/$1",
            "scriptpath": "",
            "script": "/index.php",
            "variantarticlepath": false,
            "server": "http://uncyclopedia.tw",
            "servername": "uncyclopedia.tw",
            "wikiid": "uncyc_zhtw",
            "time": "2017-12-11T16:57:59Z",
            "misermode": "",
            "maxuploadsize": 104857600,
            "thumblimits": [
                120,
                150,
                180,
                200,
                250,
                300
            ],
            "imagelimits": [
                {
                    "width": 320,
                    "height": 240
                },
                {
                    "width": 640,
                    "height": 480
                },
                {
                    "width": 800,
                    "height": 600
                },
                {
                    "width": 1024,
                    "height": 768
                },
                {
                    "width": 1280,
                    "height": 1024
                }
            ],
            "favicon": "https://images.uncyc.org/zh-tw/6/64/Favicon.ico"
        }
    }
}