MediaWiki API 结果
这是JSON格式的HTML表示。HTML对调试很有用,但不适合应用程序使用。
指定format参数以更改输出格式。要查看JSON格式的非HTML表示,设置format=json。
{ "batchcomplete": "", "query": { "pages": { "-1": { "ns": 0, "title": "Main Page", "missing": "" } }, "general": { "mainpage": "\u9996\u9875", "base": "http://wiki.nbs.im/%E9%A6%96%E9%A1%B5", "sitename": "NBSiki", "logo": "http://wiki.nbs.im/skins/common/images/wiki.png", "generator": "MediaWiki 1.25.1", "phpversion": "5.6.40-0+deb8u12", "phpsapi": "fpm-fcgi", "dbtype": "mysql", "dbversion": "10.0.38-MariaDB-0+deb8u1", "imagewhitelistenabled": "", "langconversion": "", "titleconversion": "", "linkprefixcharset": "", "linkprefix": "", "linktrail": "/^()(.*)$/sD", "legaltitlechars": " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+", "case": "first-letter", "lang": "zh-cn", "fallback": [ { "code": "zh-hans" }, { "code": "en" } ], "fallback8bitEncoding": "windows-936", "writeapi": "", "timezone": "Asia/Chongqing", "timeoffset": 480, "articlepath": "/$1", "scriptpath": "", "script": "/index.php", "variantarticlepath": false, "server": "http://wiki.nbs.im", "servername": "wiki.nbs.im", "wikiid": "nbs_wiki", "time": "2024-05-20T14:04:46Z", "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": "http://wiki.nbs.im/favicon.ico" } } }