MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20260701143826|1947",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 1957,
                "ns": 10,
                "title": "\u6a21\u677f:\u5e74\u9f84",
                "pageid": 1394,
                "logpage": 1394,
                "revid": 3513,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "MM \u55b5\u4e86\u4e2a",
                "timestamp": "2026-07-24T06:21:52Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<includeonly>{{#expr: {{CURRENTYEAR}} - {{{1}}} - ( ( {{CURRENTMONTH}} < {{{2|1}}} ) or ( {{CURRENTMONTH}} == {{{2|1}}} and {{CURRENTDAY2}} < {{{3|1}}} ) )}}</includeonly>\u201d"
            },
            {
                "logid": 1956,
                "ns": 10,
                "title": "\u6a21\u677f:\u9996\u9875/styles.css",
                "pageid": 1363,
                "logpage": 1363,
                "params": {
                    "oldtitle_ns": 0,
                    "oldtitle_title": "\u9996\u9875/styles.css"
                },
                "type": "protect",
                "action": "move_prot",
                "user": "MM \u55b5\u4e86\u4e2a",
                "timestamp": "2026-07-24T04:58:29Z",
                "comment": "[[\u9996\u9875/styles.css]]\u79fb\u52a8\u81f3[[\u6a21\u677f:\u9996\u9875/styles.css]]"
            },
            {
                "logid": 1955,
                "ns": 0,
                "title": "\u9996\u9875/styles.css",
                "pageid": 0,
                "logpage": 1363,
                "revid": 3512,
                "params": {
                    "target_ns": 10,
                    "target_title": "\u6a21\u677f:\u9996\u9875/styles.css",
                    "suppressredirect": ""
                },
                "type": "move",
                "action": "move",
                "user": "MM \u55b5\u4e86\u4e2a",
                "timestamp": "2026-07-24T04:58:29Z",
                "comment": ""
            },
            {
                "logid": 1954,
                "ns": 0,
                "title": "\u9996\u9875/styles.css",
                "pageid": 0,
                "logpage": 1363,
                "params": {
                    "oldtitle_ns": 10,
                    "oldtitle_title": "\u6a21\u677f:\u9996\u9875/styles.css"
                },
                "type": "protect",
                "action": "move_prot",
                "user": "MM \u55b5\u4e86\u4e2a",
                "timestamp": "2026-07-24T04:57:01Z",
                "comment": "[[\u6a21\u677f:\u9996\u9875/styles.css]]\u79fb\u52a8\u81f3[[\u9996\u9875/styles.css]]"
            },
            {
                "logid": 1953,
                "ns": 10,
                "title": "\u6a21\u677f:\u9996\u9875/styles.css",
                "pageid": 1363,
                "logpage": 1363,
                "revid": 3510,
                "params": {
                    "target_ns": 0,
                    "target_title": "\u9996\u9875/styles.css",
                    "suppressredirect": ""
                },
                "type": "move",
                "action": "move",
                "user": "MM \u55b5\u4e86\u4e2a",
                "timestamp": "2026-07-24T04:57:01Z",
                "comment": ""
            },
            {
                "logid": 1952,
                "ns": 8,
                "title": "MediaWiki:Signupstart",
                "pageid": 1393,
                "logpage": 1393,
                "revid": 3508,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "MM \u55b5\u4e86\u4e2a",
                "timestamp": "2026-07-17T10:03:52Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\u6ce8\u518c\u60a8\u7684'''\u54aa\u55b5\u7ef4\u57fa\u7cfb\u7edf'''\u8d26\u53f7\uff0c\u6b64\u8d26\u53f7\u53ef\u4ee5\u5728\u6240\u6709\u54aa\u55b5\u7ef4\u57fa\u7cfb\u7edf\u767b\u5f55\u3002\u201d"
            },
            {
                "logid": 1951,
                "ns": 8,
                "title": "MediaWiki:Loginprompt",
                "pageid": 1392,
                "logpage": 1392,
                "revid": 3506,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "MM \u55b5\u4e86\u4e2a",
                "timestamp": "2026-07-17T09:58:33Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\u767b\u5f55\u60a8\u7684\u54aa\u55b5\u7ef4\u57fa\u7cfb\u7edf\u8d26\u53f7\u3002\u201d"
            },
            {
                "logid": 1950,
                "ns": 2,
                "title": "\u7528\u6237:\u6d54\u9633\u6b8b\u96ea.",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "duration": "infinity",
                    "flags": [
                        "noautoblock"
                    ],
                    "blockId": 7,
                    "sitewide": "",
                    "duration-l10n": "\u65e0\u9650\u671f"
                },
                "type": "block",
                "action": "block",
                "user": "MM \u55b5\u4e86\u4e2a",
                "timestamp": "2026-07-01T15:00:44Z",
                "comment": ""
            },
            {
                "logid": 1949,
                "ns": 2,
                "title": "\u7528\u6237:\u6d54\u9633\u6b8b\u96ea.123",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "duration": "infinity",
                    "flags": [
                        "noautoblock"
                    ],
                    "blockId": 6,
                    "sitewide": "",
                    "duration-l10n": "\u65e0\u9650\u671f"
                },
                "type": "block",
                "action": "block",
                "user": "MM \u55b5\u4e86\u4e2a",
                "timestamp": "2026-07-01T15:00:11Z",
                "comment": ""
            },
            {
                "logid": 1948,
                "ns": 2,
                "title": "\u7528\u6237:\u82cf\u71d5\u6d54",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 57
                },
                "type": "newusers",
                "action": "create",
                "user": "\u82cf\u71d5\u6d54",
                "timestamp": "2026-07-01T14:42:25Z",
                "comment": ""
            }
        ]
    }
}