MediaWiki API 结果
这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。
指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json。
{
"batchcomplete": "",
"continue": {
"lecontinue": "20210307201856|621",
"continue": "-||"
},
"query": {
"logevents": [
{
"logid": 631,
"ns": 2,
"title": "\u7528\u6237:#3",
"pageid": 0,
"logpage": 0,
"params": {},
"type": "block",
"action": "unblock",
"user": "Yuanyuanowo",
"timestamp": "2026-10-05T09:37:00Z",
"comment": "Remove autoblock artefact of local testing"
},
{
"logid": 630,
"ns": 2,
"title": "\u7528\u6237:Potato Server",
"pageid": 217,
"logpage": 217,
"params": {
"duration": "infinity",
"flags": [
"nocreate",
"noemail",
"nousertalk"
],
"sitewide": ""
},
"type": "block",
"action": "block",
"user": "Yuanyuanowo",
"timestamp": "2026-10-05T09:35:08Z",
"comment": "Access revoked by wiki owner request"
},
{
"logid": 629,
"ns": 2,
"title": "\u7528\u6237:99988775",
"pageid": 0,
"logpage": 0,
"params": {
"duration": "infinity",
"flags": [
"nocreate",
"noemail",
"nousertalk"
],
"sitewide": ""
},
"type": "block",
"action": "block",
"user": "Potato Server",
"timestamp": "2026-10-05T09:09:37Z",
"comment": "Vandalism: blanked Mainpage and Category:xiaozhen (2021-03-22)"
},
{
"logid": 628,
"ns": 828,
"title": "\u6a21\u5757:String",
"pageid": 288,
"logpage": 288,
"revid": 893,
"params": {},
"type": "create",
"action": "create",
"user": "Maintenance script",
"timestamp": "2026-10-05T08:58:56Z",
"comment": "Import Module:String from mediawiki.org (needed by Str_len / str_find)"
},
{
"logid": 627,
"ns": 8,
"title": "MediaWiki:Common.css",
"pageid": 2,
"logpage": 2,
"params": {
"curid": 889,
"previd": 86,
"auto": ""
},
"type": "patrol",
"action": "autopatrol",
"user": "Admin",
"timestamp": "2026-02-20T13:12:57Z",
"comment": ""
},
{
"logid": 626,
"ns": 2,
"title": "\u7528\u6237:99988775",
"pageid": 0,
"logpage": 0,
"params": {
"userid": 38
},
"type": "newusers",
"action": "create",
"user": "99988775",
"timestamp": "2021-03-22T13:56:36Z",
"comment": ""
},
{
"logid": 625,
"ns": 6,
"title": "\u6587\u4ef6:\u6838\u5f39\u793e-Logo.png",
"pageid": 270,
"logpage": 270,
"params": {},
"type": "delete",
"action": "delete",
"user": "Potato Server",
"timestamp": "2021-03-07T20:22:32Z",
"comment": "\u5df2\u522a\u9664\u820a\u4fee\u8a02 20210307202223!\u6838\u5f39\u793e-Logo.png"
},
{
"logid": 624,
"ns": 6,
"title": "\u6587\u4ef6:\u6838\u5f39\u793e-Logo.png",
"pageid": 270,
"logpage": 270,
"params": {
"curid": 876,
"previd": 0,
"auto": ""
},
"type": "patrol",
"action": "autopatrol",
"user": "Potato Server",
"timestamp": "2021-03-07T20:22:23Z",
"comment": ""
},
{
"logid": 623,
"ns": 6,
"title": "\u6587\u4ef6:\u6838\u5f39\u793e-Logo.png",
"pageid": 270,
"logpage": 270,
"revid": 876,
"params": {
"img_sha1": "j6kgx60z1b9ki7kquh41jcrb1qtrmwv",
"img_timestamp": "2021-03-07T20:22:23Z"
},
"type": "upload",
"action": "overwrite",
"user": "Potato Server",
"timestamp": "2021-03-07T20:22:23Z",
"comment": "2021\u5e74\u7684\u7248\u672c"
},
{
"logid": 622,
"ns": 6,
"title": "\u6587\u4ef6:\u6838\u5f39\u793e-Logo.png",
"pageid": 270,
"logpage": 270,
"params": {
"curid": 875,
"previd": 0,
"auto": ""
},
"type": "patrol",
"action": "autopatrol",
"user": "Potato Server",
"timestamp": "2021-03-07T20:18:56Z",
"comment": ""
}
]
}
}