MediaWiki API 結果
這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。
指定format參數以變更輸出格式。要查看JSON格式的非HTML實現,設定format=json。
{
"batchcomplete": "",
"query": {
"pages": {
"-1": {
"ns": 0,
"title": "Main Page",
"missing": ""
}
},
"general": {
"mainpage": "\u9996\u9801",
"base": "https://mediapedia.shoutwiki.com/wiki/%E9%A6%96%E9%A0%81",
"sitename": "\u7c73\u8fea\u4e9e\u767e\u79d1",
"logo": "//images.shoutwiki.com/mediapedia/b/bc/Wiki.png",
"generator": "MediaWiki 1.35.13",
"phpversion": "7.4.33",
"phpsapi": "fpm-fcgi",
"dbtype": "mysql",
"dbversion": "10.6.17-MariaDB-1:10.6.17+maria~ubu2004-log",
"imagewhitelistenabled": "",
"langconversion": "",
"titleconversion": "",
"linkprefixcharset": "",
"linkprefix": "",
"linktrail": "/^()(.*)$/sD",
"legaltitlechars": " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+",
"invalidusernamechars": "@:",
"fixarabicunicode": "",
"fixmalayalamunicode": "",
"git-hash": "24ecef6f263855f317d8f8fbeb4b45d5820c6a2e",
"git-branch": "shoutwiki/REL1_35",
"case": "first-letter",
"lang": "zh-tw",
"fallback": [
{
"code": "zh-hant"
},
{
"code": "zh-hans"
},
{
"code": "en"
}
],
"fallback8bitEncoding": "windows-950",
"writeapi": "",
"maxarticlesize": 2097152,
"timezone": "UTC",
"timeoffset": 0,
"articlepath": "/wiki/$1",
"scriptpath": "/w",
"script": "/w/index.php",
"variantarticlepath": false,
"server": "https://mediapedia.shoutwiki.com",
"servername": "mediapedia.shoutwiki.com",
"wikiid": "mediapedia_wiki",
"time": "2024-05-15T03:39:49Z",
"misermode": "",
"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
}
],
"favicon": "//images.shoutwiki.com/mediapedia/6/64/Favicon.ico",
"centralidlookupprovider": "local",
"allcentralidlookupproviders": [
"local"
],
"interwikimagic": "",
"magiclinks": [],
"categorycollation": "uppercase",
"citeresponsivereferences": "",
"mobileserver": "https://mediapedia.shoutwiki.com"
}
}
}