MediaWiki API 结果
这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。
指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json。
{
"batchcomplete": "",
"continue": {
"gapcontinue": "\u9996\u9875",
"continue": "gapcontinue||"
},
"query": {
"pages": {
"59": {
"pageid": 59,
"ns": 0,
"title": "userChrome.css",
"contentmodel": "wikitext",
"pagelanguage": "zh-hans",
"pagelanguagehtmlcode": "zh-Hans",
"pagelanguagedir": "ltr",
"touched": "2020-07-10T16:43:20Z",
"lastrevid": 151,
"length": 5173
},
"58": {
"pageid": 58,
"ns": 0,
"title": "\u52a8\u6001\u683c\u8a00",
"contentmodel": "json",
"pagelanguage": "en",
"pagelanguagehtmlcode": "en",
"pagelanguagedir": "ltr",
"touched": "2017-10-31T07:15:35Z",
"lastrevid": 121,
"length": 13324
},
"44": {
"pageid": 44,
"ns": 0,
"title": "\u5907\u4efd Wiki \u5e76\u4e0a\u4f20\u81f3\u7f51\u76d8",
"contentmodel": "wikitext",
"pagelanguage": "zh-hans",
"pagelanguagehtmlcode": "zh-Hans",
"pagelanguagedir": "ltr",
"touched": "2016-06-10T10:56:33Z",
"lastrevid": 76,
"length": 1212,
"new": ""
},
"6": {
"pageid": 6,
"ns": 0,
"title": "\u5982\u4f55\u4f7f\u7528 FFmpeg \u8fdb\u884c\u89c6\u9891\u8f6c\u7801",
"contentmodel": "wikitext",
"pagelanguage": "zh-hans",
"pagelanguagehtmlcode": "zh-Hans",
"pagelanguagedir": "ltr",
"touched": "2018-04-17T01:17:33Z",
"lastrevid": 9,
"length": 59,
"redirect": "",
"new": ""
}
}
}
}