MediaWiki API 结果
这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。
指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json。
{
"batchcomplete": "",
"query": {
"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",
"subpages": "",
"content": "",
"*": ""
},
"1": {
"id": 1,
"case": "first-letter",
"subpages": "",
"canonical": "Talk",
"*": "Talk"
},
"2": {
"id": 2,
"case": "first-letter",
"subpages": "",
"canonical": "User",
"*": "User"
},
"3": {
"id": 3,
"case": "first-letter",
"subpages": "",
"canonical": "User talk",
"*": "User talk"
},
"4": {
"id": 4,
"case": "first-letter",
"subpages": "",
"canonical": "Project",
"*": "\u79d1\u5e7b\u5357\u5317\u671d"
},
"5": {
"id": 5,
"case": "first-letter",
"subpages": "",
"canonical": "Project talk",
"*": "\u79d1\u5e7b\u5357\u5317\u671d talk"
},
"6": {
"id": 6,
"case": "first-letter",
"canonical": "File",
"*": "File"
},
"7": {
"id": 7,
"case": "first-letter",
"subpages": "",
"canonical": "File talk",
"*": "File talk"
},
"8": {
"id": 8,
"case": "first-letter",
"canonical": "MediaWiki",
"namespaceprotection": "editinterface",
"*": "MediaWiki"
},
"9": {
"id": 9,
"case": "first-letter",
"subpages": "",
"canonical": "MediaWiki talk",
"*": "MediaWiki talk"
},
"10": {
"id": 10,
"case": "first-letter",
"subpages": "",
"canonical": "Template",
"*": "Template"
},
"11": {
"id": 11,
"case": "first-letter",
"subpages": "",
"canonical": "Template talk",
"*": "Template talk"
},
"12": {
"id": 12,
"case": "first-letter",
"subpages": "",
"canonical": "Help",
"*": "Help"
},
"13": {
"id": 13,
"case": "first-letter",
"subpages": "",
"canonical": "Help talk",
"*": "Help talk"
},
"14": {
"id": 14,
"case": "first-letter",
"canonical": "Category",
"*": "Category"
},
"15": {
"id": 15,
"case": "first-letter",
"subpages": "",
"canonical": "Category talk",
"*": "Category 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"
}
}
}
}