MediaWiki API 結果
這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。
指定format參數以變更輸出格式。要查看JSON格式的非HTML實現,設定format=json。
{
"batchcomplete": "",
"query": {
"namespaces": {
"-2": {
"id": -2,
"case": "first-letter",
"canonical": "Media",
"*": "\u5a92\u9ad4"
},
"-1": {
"id": -1,
"case": "first-letter",
"canonical": "Special",
"*": "\u7279\u6b8a"
},
"0": {
"id": 0,
"case": "first-letter",
"subpages": "",
"content": "",
"*": ""
},
"1": {
"id": 1,
"case": "first-letter",
"subpages": "",
"canonical": "Talk",
"*": "\u8a0e\u8ad6"
},
"2": {
"id": 2,
"case": "first-letter",
"subpages": "",
"canonical": "User",
"*": "\u4f7f\u7528\u8005"
},
"3": {
"id": 3,
"case": "first-letter",
"subpages": "",
"canonical": "User talk",
"*": "\u4f7f\u7528\u8005\u8a0e\u8ad6"
},
"4": {
"id": 4,
"case": "first-letter",
"subpages": "",
"canonical": "Project",
"*": "\u7c73\u8fea\u4e9e\u767e\u79d1"
},
"5": {
"id": 5,
"case": "first-letter",
"subpages": "",
"canonical": "Project talk",
"*": "\u7c73\u8fea\u4e9e\u767e\u79d1\u8a0e\u8ad6"
},
"6": {
"id": 6,
"case": "first-letter",
"canonical": "File",
"*": "\u6a94\u6848"
},
"7": {
"id": 7,
"case": "first-letter",
"subpages": "",
"canonical": "File talk",
"*": "\u6a94\u6848\u8a0e\u8ad6"
},
"8": {
"id": 8,
"case": "first-letter",
"canonical": "MediaWiki",
"namespaceprotection": "editinterface",
"*": "MediaWiki"
},
"9": {
"id": 9,
"case": "first-letter",
"subpages": "",
"canonical": "MediaWiki talk",
"*": "MediaWiki\u8a0e\u8ad6"
},
"10": {
"id": 10,
"case": "first-letter",
"subpages": "",
"canonical": "Template",
"*": "\u6a21\u677f"
},
"11": {
"id": 11,
"case": "first-letter",
"subpages": "",
"canonical": "Template talk",
"*": "\u6a21\u677f\u8a0e\u8ad6"
},
"12": {
"id": 12,
"case": "first-letter",
"subpages": "",
"canonical": "Help",
"*": "\u4f7f\u7528\u8aaa\u660e"
},
"13": {
"id": 13,
"case": "first-letter",
"subpages": "",
"canonical": "Help talk",
"*": "\u4f7f\u7528\u8aaa\u660e\u8a0e\u8ad6"
},
"14": {
"id": 14,
"case": "first-letter",
"canonical": "Category",
"*": "\u5206\u985e"
},
"15": {
"id": 15,
"case": "first-letter",
"subpages": "",
"canonical": "Category talk",
"*": "\u5206\u985e\u8a0e\u8ad6"
},
"828": {
"id": 828,
"case": "first-letter",
"subpages": "",
"canonical": "Module",
"*": "\u6a21\u7d44"
},
"829": {
"id": 829,
"case": "first-letter",
"subpages": "",
"canonical": "Module talk",
"*": "\u6a21\u7d44\u8a0e\u8ad6"
},
"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"
}
}
}
}