MediaWiki API 结果

这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。

指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json

参见完整文档,或API帮助以获取更多信息。

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20260717040049|4",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 14,
                "ns": 0,
                "title": "\u7f6a\u4eba\u5802Wiki:\u9996\u9875",
                "pageid": 1,
                "logpage": 1,
                "revid": 24,
                "params": {
                    "description": "\u200e[edit=sysop] (\u65e0\u9650\u671f)\u200e[move=sysop] (\u65e0\u9650\u671f)",
                    "details": [
                        {
                            "type": "edit",
                            "level": "sysop",
                            "expiry": "infinite"
                        },
                        {
                            "type": "move",
                            "level": "sysop",
                            "expiry": "infinite"
                        }
                    ]
                },
                "type": "protect",
                "action": "protect",
                "user": "\u4e00\u822c\u840c\u8c5a",
                "timestamp": "2026-07-17T05:01:30Z",
                "comment": ""
            },
            {
                "logid": 13,
                "ns": 0,
                "title": "\u3002\u7f6a\u4eba\u5802Wiki:\u9996\u9875",
                "pageid": 8,
                "logpage": 1,
                "revid": 20,
                "params": {
                    "target_ns": 0,
                    "target_title": "\u7f6a\u4eba\u5802Wiki:\u9996\u9875"
                },
                "type": "move",
                "action": "move",
                "user": "\u4e00\u822c\u840c\u8c5a",
                "timestamp": "2026-07-17T04:31:20Z",
                "comment": "\u6062\u590d"
            },
            {
                "logid": 12,
                "ns": 0,
                "title": "\u7f6a\u4eba\u5802Wiki:\u9996\u9875",
                "pageid": 1,
                "logpage": 1,
                "revid": 19,
                "params": {
                    "target_ns": 0,
                    "target_title": "\u3002\u7f6a\u4eba\u5802Wiki:\u9996\u9875",
                    "suppressredirect": ""
                },
                "type": "move",
                "action": "move",
                "user": "\u4e00\u822c\u840c\u8c5a",
                "timestamp": "2026-07-17T04:30:31Z",
                "comment": ""
            },
            {
                "logid": 11,
                "ns": 0,
                "title": "\u9996\u9875",
                "pageid": 7,
                "logpage": 1,
                "revid": 17,
                "params": {
                    "target_ns": 0,
                    "target_title": "\u7f6a\u4eba\u5802Wiki:\u9996\u9875"
                },
                "type": "move",
                "action": "move",
                "user": "\u4e00\u822c\u840c\u8c5a",
                "timestamp": "2026-07-17T04:28:47Z",
                "comment": ""
            },
            {
                "logid": 10,
                "ns": 10,
                "title": "\u6a21\u677f:\u516c\u544a",
                "pageid": 6,
                "logpage": 6,
                "revid": 15,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u4e00\u822c\u840c\u8c5a",
                "timestamp": "2026-07-17T04:22:39Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<center> <big><big><big>Welcome to '''\u7f6a\u4eba\u5802'''\uff01</big></big></big>  <big><big><b>\u7f6a\u4eba\u5802Wiki\u65e8\u5728\u63ed\u9732\u4e2d\u56fd\u4e92\u8054\u7f51\u6076\u4fd7\u53f2\u3001\u7cfb\u7edf\u53f2\u3001\u6e38\u620f\u53f2\u52a3\u8ff9\uff0c\u540c\u65f6\u8bb0\u5f55\u4e2d\u56fd\u4e92\u8054\u7f51\u5404\u4e2a\u5708\u5b50\u72af\u7f6a\u4e50\u5b50\u4eba\u5458\u7684\u9b54\u6014\u7f6a\u6076\u52a3\u8ff9\uff0c\u8bb0\u5f55\u4e86\u5927\u540d\u9f0e\u9f0e\u7684\u55b7\u86c6\u3001\u7cfb\u7edf\u5708\uff0c\u6e38\u620f\u5708\u7b49\u5404\u8272\u95f2\u6742\u4eba\u5458\uff0c\u5b9e\u5219\u4e3a\u7f51\u7edc\u53f2\u8fd1\u4ee3\u4ee5\u6765\u65b0\u7684\u4e92\u8054\u7f51\u767e\u79d1\u5168\u4e66\uff0c\u5185\u5bb9\u4e3a\u5168\u7ad9\u70b9\u6700\u65b0\u3001\u6700\u5168\u3001\u6301\u7eed\u9ad8\u5f3a\u5ea6\u4e0a\u7ebf\u3001\u4e92\u8054\u7f51\u81ed\u540d\u662d\u2026\u201d"
            },
            {
                "logid": 9,
                "ns": 6,
                "title": "\u6587\u4ef6:Zrtwiki.png",
                "pageid": 5,
                "logpage": 5,
                "revid": 9,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u4e00\u822c\u840c\u8c5a",
                "timestamp": "2026-07-17T04:10:31Z",
                "comment": ""
            },
            {
                "logid": 8,
                "ns": 6,
                "title": "\u6587\u4ef6:Zrtwiki.png",
                "pageid": 5,
                "logpage": 5,
                "revid": 9,
                "params": {
                    "img_sha1": "bwjdghwsrykan7jmlcmeq14v45uisxw",
                    "img_timestamp": "2026-07-17T04:10:31Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "\u4e00\u822c\u840c\u8c5a",
                "timestamp": "2026-07-17T04:10:31Z",
                "comment": ""
            },
            {
                "logid": 7,
                "ns": 6,
                "title": "\u6587\u4ef6:Zrtwiki.jpg",
                "pageid": 4,
                "logpage": 4,
                "revid": 7,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u4e00\u822c\u840c\u8c5a",
                "timestamp": "2026-07-17T04:06:32Z",
                "comment": ""
            },
            {
                "logid": 6,
                "ns": 6,
                "title": "\u6587\u4ef6:Zrtwiki.jpg",
                "pageid": 4,
                "logpage": 4,
                "revid": 7,
                "params": {
                    "img_sha1": "q81wl5scxk7eom8c2vesiqomaxcw6uy",
                    "img_timestamp": "2026-07-17T04:06:32Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "\u4e00\u822c\u840c\u8c5a",
                "timestamp": "2026-07-17T04:06:32Z",
                "comment": ""
            },
            {
                "logid": 5,
                "ns": 0,
                "title": "\u6a21\u7248:\u4ecb\u7ecd\u680f",
                "pageid": 0,
                "logpage": 2,
                "revid": 4,
                "params": {
                    "target_ns": 10,
                    "target_title": "\u6a21\u677f:\u4ecb\u7ecd\u680f",
                    "suppressredirect": ""
                },
                "type": "move",
                "action": "move",
                "user": "\u4e00\u822c\u840c\u8c5a",
                "timestamp": "2026-07-17T04:01:22Z",
                "comment": ""
            }
        ]
    }
}