MediaWiki API 结果
这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。
指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json。
{
"batchcomplete": "",
"continue": {
"lecontinue": "20261031165614|117",
"continue": "-||"
},
"query": {
"logevents": [
{
"logid": 127,
"ns": 2,
"title": "\u7528\u6237:SgLoginTest",
"pageid": 0,
"logpage": 0,
"params": {
"duration": "infinity",
"flags": [
"nocreate",
"noautoblock",
"noemail",
"nousertalk"
],
"blockId": 8,
"sitewide": "",
"duration-l10n": "\u65e0\u9650\u671f"
},
"type": "block",
"action": "block",
"user": "Maintenance script",
"timestamp": "2026-10-31T20:21:01Z",
"comment": "friend/topbar test cleanup"
},
{
"logid": 126,
"ns": 2,
"title": "\u7528\u6237:SgLoginTest",
"pageid": 0,
"logpage": 0,
"params": {
"blockId": 7
},
"type": "block",
"action": "unblock",
"user": "Maintenance script",
"timestamp": "2026-10-31T20:17:41Z",
"comment": "topbar test"
},
{
"logid": 125,
"ns": 200,
"title": "UserWiki:\u4e03\u53f6",
"pageid": 46,
"logpage": 46,
"revid": 210,
"params": {},
"type": "create",
"action": "create",
"user": "\u4e03\u53f6",
"timestamp": "2026-10-31T20:14:49Z",
"comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\u65e0\u201d"
},
{
"logid": 124,
"ns": 2,
"title": "\u7528\u6237:SgLoginTest",
"pageid": 0,
"logpage": 0,
"params": {
"duration": "infinity",
"flags": [
"nocreate",
"noautoblock",
"noemail",
"nousertalk"
],
"blockId": 7,
"sitewide": "",
"duration-l10n": "\u65e0\u9650\u671f"
},
"type": "block",
"action": "block",
"user": "Maintenance script",
"timestamp": "2026-10-31T20:12:28Z",
"comment": "friend UI test cleanup"
},
{
"logid": 123,
"ns": 2,
"title": "\u7528\u6237:SgLoginTest",
"pageid": 0,
"logpage": 0,
"params": {
"blockId": 6
},
"type": "block",
"action": "unblock",
"user": "Maintenance script",
"timestamp": "2026-10-31T20:11:28Z",
"comment": "friend UI test"
},
{
"logid": 122,
"ns": 6,
"title": "\u6587\u4ef6:\u6211\u7684\u4e16\u754c.png",
"pageid": 45,
"logpage": 45,
"revid": 208,
"params": {},
"type": "create",
"action": "create",
"user": "\u4e03\u53f6",
"timestamp": "2026-10-31T20:05:32Z",
"comment": ""
},
{
"logid": 121,
"ns": 6,
"title": "\u6587\u4ef6:\u6211\u7684\u4e16\u754c.png",
"pageid": 45,
"logpage": 45,
"revid": 208,
"params": {
"img_sha1": "13hovpcimxk6ibj3a0ajc0hfyoof2a4",
"img_timestamp": "2026-10-31T20:05:32Z"
},
"type": "upload",
"action": "upload",
"user": "\u4e03\u53f6",
"timestamp": "2026-10-31T20:05:32Z",
"comment": ""
},
{
"logid": 120,
"ns": 6,
"title": "\u6587\u4ef6:\u5141\u8bb8\u6076\u4fd7.png",
"pageid": 44,
"logpage": 44,
"revid": 204,
"params": {},
"type": "create",
"action": "create",
"user": "\u4e03\u53f6",
"timestamp": "2026-10-31T18:16:05Z",
"comment": ""
},
{
"logid": 119,
"ns": 6,
"title": "\u6587\u4ef6:\u5141\u8bb8\u6076\u4fd7.png",
"pageid": 44,
"logpage": 44,
"revid": 204,
"params": {
"img_sha1": "9pfcneayd05lqj7nteydxfrdyz7kmuz",
"img_timestamp": "2026-10-31T18:16:05Z"
},
"type": "upload",
"action": "upload",
"user": "\u4e03\u53f6",
"timestamp": "2026-10-31T18:16:05Z",
"comment": ""
},
{
"logid": 118,
"ns": 3,
"title": "\u7528\u6237\u8ba8\u8bba:\u8a93\u7ea6",
"pageid": 43,
"logpage": 43,
"revid": 201,
"params": {},
"type": "create",
"action": "create",
"user": "\u8a93\u7ea6",
"timestamp": "2026-10-31T16:58:43Z",
"comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\u5176\u5b9e\u8a93\u7ea6\u662f\u4e2a\u91ce\u72d7\ud83e\udd2a\u201d"
}
]
}
}