MediaWiki API 结果
这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。
指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json。
{
"batchcomplete": "",
"query": {
"general": {
"mainpage": "\u9996\u9875",
"base": "https://www.vimalakirti.cn/lanka/index.php/%E9%A6%96%E9%A1%B5",
"sitename": "\u695e\u4f3d\u7ecf\u5bfc\u8bfb",
"logo": "https://www.vimalakirti.cn/lanka/resources/assets/wiki.png",
"generator": "MediaWiki 1.37.1",
"phpversion": "7.4.3-4ubuntu2.29",
"phpsapi": "apache2handler",
"dbtype": "mysql",
"dbversion": "8.0.41-0ubuntu0.20.04.1",
"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/Chongqing",
"timeoffset": 480,
"articlepath": "/lanka/index.php/$1",
"scriptpath": "/lanka",
"script": "/lanka/index.php",
"variantarticlepath": false,
"server": "https://www.vimalakirti.cn",
"servername": "www.vimalakirti.cn",
"wikiid": "lanka",
"time": "2025-06-17T11:56:12Z",
"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://www.vimalakirti.cn/favicon.ico",
"centralidlookupprovider": "local",
"allcentralidlookupproviders": [
"local"
],
"interwikimagic": "",
"magiclinks": [],
"categorycollation": "uppercase",
"mobileserver": "https://www.vimalakirti.cn",
"citeresponsivereferences": ""
},
"namespaces": {
"-2": {
"id": -2,
"case": "first-letter",
"canonical": "Media",
"*": "\u5a92\u4f53\u6587\u4ef6"
},
"-1": {
"id": -1,
"case": "first-letter",
"canonical": "Special",
"*": "\u7279\u6b8a"
},
"0": {
"id": 0,
"case": "first-letter",
"subpages": "",
"content": "",
"namespaceprotection": "MAIN-edit",
"*": ""
},
"1": {
"id": 1,
"case": "first-letter",
"subpages": "",
"canonical": "Talk",
"namespaceprotection": "MAIN-edit",
"*": "\u8ba8\u8bba"
},
"2": {
"id": 2,
"case": "first-letter",
"subpages": "",
"canonical": "User",
"namespaceprotection": "MAIN-edit",
"*": "\u7528\u6237"
},
"3": {
"id": 3,
"case": "first-letter",
"subpages": "",
"canonical": "User talk",
"namespaceprotection": "MAIN-edit",
"*": "\u7528\u6237\u8ba8\u8bba"
},
"4": {
"id": 4,
"case": "first-letter",
"subpages": "",
"canonical": "Project",
"namespaceprotection": "MAIN-edit",
"*": "\u695e\u4f3d\u7ecf\u5bfc\u8bfb"
},
"5": {
"id": 5,
"case": "first-letter",
"subpages": "",
"canonical": "Project talk",
"namespaceprotection": "MAIN-edit",
"*": "\u695e\u4f3d\u7ecf\u5bfc\u8bfb\u8ba8\u8bba"
},
"6": {
"id": 6,
"case": "first-letter",
"canonical": "File",
"namespaceprotection": "MAIN-edit",
"*": "\u6587\u4ef6"
},
"7": {
"id": 7,
"case": "first-letter",
"subpages": "",
"canonical": "File talk",
"namespaceprotection": "MAIN-edit",
"*": "\u6587\u4ef6\u8ba8\u8bba"
},
"8": {
"id": 8,
"case": "first-letter",
"subpages": "",
"canonical": "MediaWiki",
"namespaceprotection": "editinterface",
"*": "MediaWiki"
},
"9": {
"id": 9,
"case": "first-letter",
"subpages": "",
"canonical": "MediaWiki talk",
"namespaceprotection": "MAIN-edit",
"*": "MediaWiki\u8ba8\u8bba"
},
"10": {
"id": 10,
"case": "first-letter",
"subpages": "",
"canonical": "Template",
"namespaceprotection": "MAIN-edit",
"*": "\u6a21\u677f"
},
"11": {
"id": 11,
"case": "first-letter",
"subpages": "",
"canonical": "Template talk",
"namespaceprotection": "MAIN-edit",
"*": "\u6a21\u677f\u8ba8\u8bba"
},
"12": {
"id": 12,
"case": "first-letter",
"subpages": "",
"canonical": "Help",
"namespaceprotection": "MAIN-edit",
"*": "\u5e2e\u52a9"
},
"13": {
"id": 13,
"case": "first-letter",
"subpages": "",
"canonical": "Help talk",
"namespaceprotection": "MAIN-edit",
"*": "\u5e2e\u52a9\u8ba8\u8bba"
},
"14": {
"id": 14,
"case": "first-letter",
"canonical": "Category",
"namespaceprotection": "MAIN-edit",
"*": "\u5206\u7c7b"
},
"15": {
"id": 15,
"case": "first-letter",
"subpages": "",
"canonical": "Category talk",
"namespaceprotection": "MAIN-edit",
"*": "\u5206\u7c7b\u8ba8\u8bba"
},
"710": {
"id": 710,
"case": "first-letter",
"canonical": "TimedText",
"*": "TimedText"
},
"711": {
"id": 711,
"case": "first-letter",
"canonical": "TimedText talk",
"*": "TimedText talk"
},
"828": {
"id": 828,
"case": "first-letter",
"subpages": "",
"canonical": "Module",
"*": "\u6a21\u5757"
},
"829": {
"id": 829,
"case": "first-letter",
"subpages": "",
"canonical": "Module talk",
"*": "\u6a21\u5757\u8ba8\u8bba"
},
"2300": {
"id": 2300,
"case": "first-letter",
"canonical": "Gadget",
"namespaceprotection": "gadgets-edit",
"*": "Gadget"
},
"2301": {
"id": 2301,
"case": "first-letter",
"canonical": "Gadget talk",
"*": "Gadget talk"
},
"2302": {
"id": 2302,
"case": "case-sensitive",
"canonical": "Gadget definition",
"namespaceprotection": "gadgets-definition-edit",
"defaultcontentmodel": "GadgetDefinition",
"*": "Gadget definition"
},
"2303": {
"id": 2303,
"case": "case-sensitive",
"canonical": "Gadget definition talk",
"*": "Gadget definition talk"
},
"3000": {
"id": 3000,
"case": "first-letter",
"subpages": "",
"canonical": "V0",
"content": "",
"namespaceprotection": "V0-edit",
"*": "V0"
},
"3002": {
"id": 3002,
"case": "first-letter",
"subpages": "",
"canonical": "L2",
"namespaceprotection": "L2-edit",
"*": "L2"
},
"3004": {
"id": 3004,
"case": "first-letter",
"subpages": "",
"canonical": "L4",
"namespaceprotection": "L4-edit",
"*": "L4"
},
"3006": {
"id": 3006,
"case": "first-letter",
"subpages": "",
"canonical": "BK",
"content": "",
"namespaceprotection": "BK-edit",
"*": "BK"
},
"3008": {
"id": 3008,
"case": "first-letter",
"subpages": "",
"canonical": "ZY",
"content": "",
"namespaceprotection": "ZY-edit",
"*": "ZY"
},
"3010": {
"id": 3010,
"case": "first-letter",
"subpages": "",
"canonical": "JM",
"content": "",
"namespaceprotection": "JM-edit",
"*": "JM"
},
"3012": {
"id": 3012,
"case": "first-letter",
"subpages": "",
"canonical": "BW",
"content": "",
"namespaceprotection": "BW-edit",
"*": "BW"
},
"3014": {
"id": 3014,
"case": "first-letter",
"subpages": "",
"canonical": "VF",
"content": "",
"namespaceprotection": "VF-edit",
"*": "VF"
},
"3016": {
"id": 3016,
"case": "first-letter",
"subpages": "",
"canonical": "LF",
"content": "",
"namespaceprotection": "LF-edit",
"*": "LF"
},
"3018": {
"id": 3018,
"case": "first-letter",
"subpages": "",
"canonical": "LK",
"content": "",
"namespaceprotection": "LK-edit",
"*": "LK"
},
"3020": {
"id": 3020,
"case": "first-letter",
"subpages": "",
"canonical": "FW",
"content": "",
"namespaceprotection": "FW-edit",
"*": "FW"
},
"3022": {
"id": 3022,
"case": "first-letter",
"subpages": "",
"canonical": "JC",
"content": "",
"namespaceprotection": "JC-edit",
"*": "JC"
},
"3024": {
"id": 3024,
"case": "first-letter",
"subpages": "",
"canonical": "QA",
"content": "",
"namespaceprotection": "QA-edit",
"*": "QA"
}
},
"namespacealiases": [
{
"id": -2,
"*": "\u5a92\u4f53"
},
{
"id": 1,
"*": "\u5bf9\u8bdd"
},
{
"id": 3,
"*": "\u7528\u6237\u5bf9\u8bdd"
},
{
"id": 6,
"*": "Image"
},
{
"id": 6,
"*": "\u56fe\u50cf"
},
{
"id": 6,
"*": "\u6863\u6848"
},
{
"id": 7,
"*": "Image talk"
},
{
"id": 7,
"*": "\u56fe\u50cf\u5bf9\u8bdd"
},
{
"id": 7,
"*": "\u56fe\u50cf\u8ba8\u8bba"
},
{
"id": 7,
"*": "\u6587\u4ef6\u5bf9\u8bdd"
},
{
"id": 7,
"*": "\u6863\u6848\u5bf9\u8bdd"
},
{
"id": 7,
"*": "\u6863\u6848\u8ba8\u8bba"
},
{
"id": 11,
"*": "\u6a21\u677f\u5bf9\u8bdd"
},
{
"id": 13,
"*": "\u5e2e\u52a9\u5bf9\u8bdd"
},
{
"id": 15,
"*": "\u5206\u7c7b\u5bf9\u8bdd"
}
],
"statistics": {
"pages": 11812,
"articles": 6795,
"edits": 41721,
"images": 873,
"users": 377,
"activeusers": 0,
"admins": 7,
"jobs": 0
}
}
}