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": "https://wiki.biligame.com/sg2/%E9%A6%96%E9%A1%B5",
"sitename": "\u5c11\u5e74\u4e09\u56fd\u5fd72WIKI_BWIKI_\u54d4\u54e9\u54d4\u54e9",
"logo": "https://wiki.biligame.com/resources/assets/wiki.png",
"generator": "MediaWiki 1.37.0",
"phpversion": "7.3.21-1+0~20200807.66+debian9~1.gbp18a1c2",
"phpsapi": "fpm-fcgi",
"dbtype": "mysql",
"dbversion": "5.7.36-txsql-log",
"langconversion": "",
"linkconversion": "",
"titleconversion": "",
"linkprefixcharset": "",
"linkprefix": "",
"linktrail": "/^()(.*)$/sD",
"legaltitlechars": " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+",
"invalidusernamechars": "@:",
"fixarabicunicode": "",
"fixmalayalamunicode": "",
"case": "first-letter",
"lang": "zh-cn",
"fallback": [
{
"code": "zh-hans"
},
{
"code": "en"
}
],
"fallback8bitEncoding": "windows-936",
"writeapi": "",
"maxarticlesize": 2097152,
"timezone": "Asia/Shanghai",
"timeoffset": 480,
"articlepath": "/sg2/$1",
"scriptpath": "/sg2",
"script": "/sg2/index.php",
"variantarticlepath": false,
"server": "https://wiki.biligame.com",
"servername": "wiki.biligame.com",
"wikiid": "gamecenter_wiki_sg2-pre_",
"time": "2024-09-28T02:28:31Z",
"uploadsenabled": "",
"maxuploadsize": 8388608,
"minuploadchunksize": 1024,
"galleryoptions": {
"imagesPerRow": 0,
"imageWidth": 120,
"imageHeight": 120,
"captionLength": "",
"showBytes": "",
"showDimensions": "",
"mode": "traditional"
},
"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
},
{
"width": 2560,
"height": 2048
}
],
"favicon": "//static.hdslb.com/images/favicon.ico",
"centralidlookupprovider": "local",
"allcentralidlookupproviders": [
"local"
],
"interwikimagic": "",
"magiclinks": [],
"categorycollation": "pinyin",
"mobileserver": "https://wiki.biligame.com",
"citeresponsivereferences": ""
}
}
}