MediaWiki API 结果
这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。
指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json。
{
"batchcomplete": "",
"query": {
"general": {
"mainpage": "Main Page",
"base": "https://titswiki.kefengcreative.cc/wiki/Main_Page",
"sitename": "Trials in Tainted Space Bilingual Wiki",
"logo": "https://titswiki.kefengcreative.cc/resources/titswiki-icon.svg",
"generator": "MediaWiki 1.43.8",
"phpversion": "8.3.31",
"phpsapi": "apache2handler",
"dbtype": "mysql",
"dbversion": "11.4.12-MariaDB-ubu2404",
"langconversion": "",
"linkconversion": "",
"titleconversion": "",
"linkprefixcharset": "",
"linkprefix": "",
"linktrail": "/^([a-z]+)(.*)$/sD",
"legaltitlechars": " %!\"$&'()*,\\-.\\/0-9:;=?@A-Z\\\\^_`a-z~\\x80-\\xFF+",
"invalidusernamechars": "@:>=",
"fixarabicunicode": "",
"fixmalayalamunicode": "",
"case": "first-letter",
"lang": "en",
"fallback": [],
"fallback8bitEncoding": "windows-1252",
"writeapi": "",
"maxarticlesize": 2097152,
"timezone": "Asia/Hong_Kong",
"timeoffset": 480,
"articlepath": "/wiki/$1",
"scriptpath": "",
"script": "/index.php",
"variantarticlepath": false,
"server": "https://titswiki.kefengcreative.cc",
"servername": "titswiki.kefengcreative.cc",
"wikiid": "titswiki",
"time": "2026-07-17T09:20:42Z",
"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://titswiki.kefengcreative.cc/resources/titswiki-icon.svg",
"centralidlookupprovider": "local",
"allcentralidlookupproviders": [
"local"
],
"interwikimagic": "",
"magiclinks": [],
"categorycollation": "uppercase",
"nofollowlinks": "",
"nofollownsexceptions": [],
"nofollowdomainexceptions": [
"mediawiki.org"
]
},
"namespaces": {
"-2": {
"id": -2,
"case": "first-letter",
"canonical": "Media",
"*": "Media"
},
"-1": {
"id": -1,
"case": "first-letter",
"canonical": "Special",
"*": "Special"
},
"0": {
"id": 0,
"case": "first-letter",
"content": "",
"*": ""
},
"1": {
"id": 1,
"case": "first-letter",
"subpages": "",
"canonical": "Talk",
"namespaceprotection": "translationadmin",
"*": "Talk"
},
"2": {
"id": 2,
"case": "first-letter",
"subpages": "",
"canonical": "User",
"namespaceprotection": "translationadmin",
"*": "User"
},
"3": {
"id": 3,
"case": "first-letter",
"subpages": "",
"canonical": "User talk",
"namespaceprotection": "translationadmin",
"*": "User talk"
},
"4": {
"id": 4,
"case": "first-letter",
"subpages": "",
"canonical": "Project",
"namespaceprotection": "translationadmin",
"*": "TiTS Wiki"
},
"5": {
"id": 5,
"case": "first-letter",
"subpages": "",
"canonical": "Project talk",
"namespaceprotection": "translationadmin",
"*": "TiTS Wiki talk"
},
"6": {
"id": 6,
"case": "first-letter",
"canonical": "File",
"namespaceprotection": "translationadmin",
"*": "File"
},
"7": {
"id": 7,
"case": "first-letter",
"subpages": "",
"canonical": "File talk",
"namespaceprotection": "translationadmin",
"*": "File talk"
},
"8": {
"id": 8,
"case": "first-letter",
"subpages": "",
"canonical": "MediaWiki",
"namespaceprotection": "editinterface",
"*": "MediaWiki"
},
"9": {
"id": 9,
"case": "first-letter",
"subpages": "",
"canonical": "MediaWiki talk",
"namespaceprotection": "translationadmin",
"*": "MediaWiki talk"
},
"10": {
"id": 10,
"case": "first-letter",
"subpages": "",
"canonical": "Template",
"namespaceprotection": "translationadmin",
"*": "Template"
},
"11": {
"id": 11,
"case": "first-letter",
"subpages": "",
"canonical": "Template talk",
"namespaceprotection": "translationadmin",
"*": "Template talk"
},
"12": {
"id": 12,
"case": "first-letter",
"subpages": "",
"canonical": "Help",
"namespaceprotection": "translationadmin",
"*": "Help"
},
"13": {
"id": 13,
"case": "first-letter",
"subpages": "",
"canonical": "Help talk",
"namespaceprotection": "translationadmin",
"*": "Help talk"
},
"14": {
"id": 14,
"case": "first-letter",
"canonical": "Category",
"namespaceprotection": "translationadmin",
"*": "Category"
},
"15": {
"id": 15,
"case": "first-letter",
"subpages": "",
"canonical": "Category talk",
"namespaceprotection": "translationadmin",
"*": "Category talk"
},
"828": {
"id": 828,
"case": "first-letter",
"subpages": "",
"canonical": "Module",
"namespaceprotection": "translationadmin",
"*": "Module"
},
"829": {
"id": 829,
"case": "first-letter",
"subpages": "",
"canonical": "Module talk",
"namespaceprotection": "translationadmin",
"*": "Module talk"
},
"1198": {
"id": 1198,
"case": "first-letter",
"subpages": "",
"canonical": "Translations",
"namespaceprotection": "translate",
"*": "Translations"
},
"1199": {
"id": 1199,
"case": "first-letter",
"subpages": "",
"canonical": "Translations talk",
"namespaceprotection": "translationadmin",
"*": "Translations talk"
}
},
"namespacealiases": [
{
"id": 6,
"*": "Image"
},
{
"id": 7,
"*": "Image talk"
}
],
"statistics": {
"pages": 32626,
"articles": 4741,
"edits": 75034,
"images": 2301,
"users": 13,
"activeusers": 5,
"admins": 3,
"jobs": 0
}
}
}