MediaWiki API 結果
這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。
指定format參數以變更輸出格式。要查看JSON格式的非HTML實現,設定format=json。
{
"warnings": {
"main": {
"*": "Security Warning: \"$wgDebugAPI\" is enabled."
}
},
"batchcomplete": "",
"query": {
"pages": {
"1": {
"pageid": 1,
"ns": 0,
"title": "\u9996\u9801",
"anoncontributors": 6,
"contributors": [
{
"userid": 1,
"name": "DC"
},
{
"userid": 2,
"name": "MediaWiki default"
}
]
}
}
}
}