MediaWiki API 结果
这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。
指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json。
{
"batchcomplete": "",
"query": {
"pages": {
"1": {
"pageid": 1,
"ns": 0,
"title": "\u9996\u9875",
"revisions": [
{
"user": "Litwak913",
"comment": "// Edit via Wikiplus"
}
]
}
},
"general": {
"mainpage": "\u9996\u9875",
"base": "https://mcbbs.wiki/wiki/%E9%A6%96%E9%A1%B5",
"sitename": "MCBBS Wiki",
"logo": "https://mcbbs.wiki/salt/logo.png",
"generator": "MediaWiki 1.40.3",
"phpversion": "8.1.27",
"phpsapi": "fpm-fcgi",
"dbtype": "mysql",
"dbversion": "10.9.4-MariaDB-log",
"langconversion": "",
"linkconversion": "",
"titleconversion": "",
"linkprefixcharset": "",
"linkprefix": "",
"linktrail": "/^()(.*)$/sD",
"legaltitlechars": " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+",
"invalidusernamechars": "@:>=",
"fixarabicunicode": "",
"fixmalayalamunicode": "",
"case": "case-sensitive",
"lang": "zh-cn",
"fallback": [
{
"code": "zh-hans"
},
{
"code": "zh"
},
{
"code": "zh-hant"
},
{
"code": "en"
}
],
"fallback8bitEncoding": "windows-936",
"writeapi": "",
"maxarticlesize": 2097152,
"timezone": "Asia/Shanghai",
"timeoffset": 480,
"articlepath": "/wiki/$1",
"scriptpath": "",
"script": "/index.php",
"variantarticlepath": false,
"server": "https://mcbbs.wiki",
"servername": "mcbbs.wiki",
"wikiid": "mcbbs_wiki",
"time": "2024-06-01T07:58:16Z",
"uploadsenabled": "",
"maxuploadsize": 104857600,
"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": "https://mcbbs.wiki/favicon.ico",
"centralidlookupprovider": "local",
"allcentralidlookupproviders": [
"local"
],
"interwikimagic": "",
"magiclinks": [],
"categorycollation": "pinyin-noprefix",
"nofollowlinks": "",
"nofollownsexceptions": [],
"nofollowdomainexceptions": [
"mediawiki.org"
],
"externallinktarget": "_blank",
"mobileserver": "https://mcbbs.wiki",
"citeresponsivereferences": "",
"linter": {
"high": [
"deletable-table-tag",
"html5-misnesting",
"misc-tidy-replacement-issues",
"multiline-html-table-in-list",
"multiple-unclosed-formatting-tags",
"pwrap-bug-workaround",
"self-closed-tag",
"tidy-font-bug",
"tidy-whitespace-bug",
"unclosed-quotes-in-heading"
],
"medium": [
"bogus-image-options",
"fostered",
"misnested-tag",
"multi-colon-escape",
"wikilink-in-extlink"
],
"low": [
"missing-end-tag",
"obsolete-tag",
"stripped-tag"
]
}
}
}
}