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://factpedia.org/wiki/%E9%A6%96%E9%A1%B5",
"sitename": "\u6c42\u771f\u767e\u79d1",
"logo": "https://factpedia.org/skins/Spatial/logo.png",
"generator": "MediaWiki 1.31.0",
"phpversion": "7.2.28-3+ubuntu16.04.1+deb.sury.org+1",
"phpsapi": "fpm-fcgi",
"dbtype": "mysql",
"dbversion": "5.7.33-0ubuntu0.16.04.1-log",
"externalimages": [
""
],
"langconversion": "",
"titleconversion": "",
"linkprefixcharset": "",
"linkprefix": "",
"linktrail": "/^()(.*)$/sD",
"legaltitlechars": " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+",
"invalidusernamechars": "@:",
"fixarabicunicode": "",
"fixmalayalamunicode": "",
"git-hash": "6acf2ba2c747e5a52b442b107750f30fb64ca6cf",
"git-branch": "master",
"case": "first-letter",
"lang": "zh",
"fallback": [
{
"code": "zh-hans"
},
{
"code": "en"
}
],
"variants": [
{
"code": "zh",
"name": "\u4e0d\u8f6c\u6362"
},
{
"code": "zh-hans",
"name": "\u7b80\u4f53"
},
{
"code": "zh-hant",
"name": "\u7e41\u9ad4"
}
],
"fallback8bitEncoding": "windows-936",
"writeapi": "",
"maxarticlesize": 2097152,
"timezone": "Asia/Chongqing",
"timeoffset": 480,
"articlepath": "/wiki/$1",
"scriptpath": "",
"script": "/index.php",
"variantarticlepath": false,
"server": "https://factpedia.org",
"servername": "factpedia.org",
"wikiid": "mediawikidb",
"time": "2024-06-27T18:13:02Z",
"misermode": "",
"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": "https://factpedia.org/skins/Spatial/favicon_tmp/favicon.ico",
"centralidlookupprovider": "local",
"allcentralidlookupproviders": [
"local"
],
"interwikimagic": "",
"magiclinks": [],
"categorycollation": "uppercase",
"wikibase-propertytypes": {
"commonsMedia": {
"valuetype": "string"
},
"geo-shape": {
"valuetype": "string"
},
"globe-coordinate": {
"valuetype": "globecoordinate"
},
"monolingualtext": {
"valuetype": "monolingualtext"
},
"quantity": {
"valuetype": "quantity"
},
"string": {
"valuetype": "string"
},
"tabular-data": {
"valuetype": "string"
},
"time": {
"valuetype": "time"
},
"url": {
"valuetype": "string"
},
"external-id": {
"valuetype": "string"
},
"wikibase-item": {
"valuetype": "wikibase-entityid"
},
"wikibase-property": {
"valuetype": "wikibase-entityid"
}
},
"wikibase-conceptbaseuri": "https://factpedia.org/entity/",
"wikibase-geoshapestoragebaseurl": "https://commons.wikimedia.org/wiki/",
"wikibase-tabulardatastoragebaseurl": "https://commons.wikimedia.org/wiki/",
"citeresponsivereferences": "",
"mobileserver": "https://factpedia.org"
}
}
}