MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20240220115306|320",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 330,
                "ns": 3100,
                "title": "\u7ba1\u7406:\u6587\u5316\u7ec4",
                "pageid": 0,
                "logpage": 43,
                "params": {
                    "target_ns": 3100,
                    "target_title": "\u7ba1\u7406:\u5ba3\u4f20\u7ec4",
                    "suppressredirect": ""
                },
                "type": "move",
                "action": "move",
                "user": "9Yan",
                "timestamp": "2025-06-06T15:42:44Z",
                "comment": ""
            },
            {
                "logid": 329,
                "ns": 2,
                "title": "\u7528\u6237:Lingran7031",
                "pageid": 99,
                "logpage": 99,
                "params": {
                    "oldgroups": [
                        "bureaucrat",
                        "sysop"
                    ],
                    "newgroups": [
                        "bureaucrat",
                        "sysop",
                        "suppress"
                    ],
                    "oldmetadata": [
                        {
                            "group": "bureaucrat",
                            "expiry": "infinity"
                        },
                        {
                            "group": "sysop",
                            "expiry": "infinity"
                        }
                    ],
                    "newmetadata": [
                        {
                            "group": "bureaucrat",
                            "expiry": "infinity"
                        },
                        {
                            "group": "sysop",
                            "expiry": "infinity"
                        },
                        {
                            "group": "suppress",
                            "expiry": "infinity"
                        }
                    ]
                },
                "type": "rights",
                "action": "rights",
                "user": "9Yan",
                "timestamp": "2024-03-22T06:29:02Z",
                "comment": ""
            },
            {
                "logid": 328,
                "ns": 2,
                "title": "\u7528\u6237:Lingran7031",
                "pageid": 99,
                "logpage": 99,
                "params": {
                    "oldgroups": [],
                    "newgroups": [
                        "sysop",
                        "bureaucrat"
                    ],
                    "oldmetadata": [],
                    "newmetadata": [
                        {
                            "group": "sysop",
                            "expiry": "infinity"
                        },
                        {
                            "group": "bureaucrat",
                            "expiry": "infinity"
                        }
                    ]
                },
                "type": "rights",
                "action": "rights",
                "user": "9Yan",
                "timestamp": "2024-03-22T06:25:54Z",
                "comment": ""
            },
            {
                "logid": 327,
                "ns": 0,
                "title": "\u6ed5\u738b\u9601",
                "pageid": 120,
                "logpage": 120,
                "params": {
                    "curid": 911,
                    "previd": 0
                },
                "type": "patrol",
                "action": "patrol",
                "user": "SquareMioMiko",
                "timestamp": "2024-02-24T08:13:50Z",
                "comment": ""
            },
            {
                "logid": 326,
                "ns": 0,
                "title": "\u7389\u5cf0\u9152\u5e84",
                "pageid": 121,
                "logpage": 121,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "9Yan",
                "timestamp": "2024-02-22T13:38:18Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c{{echo_infobox |\u5730\u6807\u56fe\u7247=XXX |\u5730\u6807\u540d\u79f0=XXX |\u5730\u533a=\u96f6\u5883-\u4e3b\u4e16\u754c |\u5750\u6807={{\u4e3b\u4e16\u754c\u5750\u6807|-590|100|1480}} \u6b63\u5357 }} '''\u8fd9\u6bb5\u6587\u5b57\u4e3a\u9875\u9762\u7684\u9996\u4e2a\u201c\u5f15\u8a00\u201d\u90e8\u5206\uff0c\u65e8\u5728\u7b80\u8981\u4ecb\u7ecd\u8be5\u5730\u6807\u3002\u5f15\u8a00\u5185\u5bb9\u4e0d\u5e94\u8d85\u8fc7\u4e00\u6bb5'''  == \u7b80\u4ecb == \u7389\u5cf0\u9152\u5e84\u5750\u843d\u4e8e\u7389\u77f3\u60ac\u5d16\uff0c\u56db\u9762\u73af\u5c71\uff0c\u5750\u62e5\u6c34\u77ff\u8109\uff0c\u6240\u4ee5\u662f\u4f9d\u5c71\u508d\u6c34\u7684\u597d\u5730\u65b9\uff01   == \u5efa\u7b51 == \u901a\u8fc7\u6df1\u5165\u4e86\u89e3\u6bcf\u5ea7\u5efa\u7b51\u7684\u80cc\u540e\u6545\u4e8b\uff0c\u60a8\u5c06\u66f4\u5168\u9762\u5730\u9886\u7565\u5730\u6807\u4e30\u5bcc\u2026\u201d"
            },
            {
                "logid": 325,
                "ns": 2,
                "title": "\u7528\u6237:CausedWheat",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "oldgroups": [
                        "bureaucrat",
                        "suppress",
                        "sysop"
                    ],
                    "newgroups": [],
                    "oldmetadata": [
                        {
                            "group": "bureaucrat",
                            "expiry": "infinity"
                        },
                        {
                            "group": "suppress",
                            "expiry": "infinity"
                        },
                        {
                            "group": "sysop",
                            "expiry": "infinity"
                        }
                    ],
                    "newmetadata": []
                },
                "type": "rights",
                "action": "rights",
                "user": "9Yan",
                "timestamp": "2024-02-20T11:55:08Z",
                "comment": ""
            },
            {
                "logid": 324,
                "ns": 2,
                "title": "\u7528\u6237:Auroraqvq",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "oldgroups": [
                        "sysop"
                    ],
                    "newgroups": [],
                    "oldmetadata": [
                        {
                            "group": "sysop",
                            "expiry": "infinity"
                        }
                    ],
                    "newmetadata": []
                },
                "type": "rights",
                "action": "rights",
                "user": "9Yan",
                "timestamp": "2024-02-20T11:54:48Z",
                "comment": ""
            },
            {
                "logid": 323,
                "ns": 2,
                "title": "\u7528\u6237:Fallunlimited",
                "pageid": 5,
                "logpage": 5,
                "params": {
                    "oldgroups": [
                        "sysop"
                    ],
                    "newgroups": [],
                    "oldmetadata": [
                        {
                            "group": "sysop",
                            "expiry": "infinity"
                        }
                    ],
                    "newmetadata": []
                },
                "type": "rights",
                "action": "rights",
                "user": "9Yan",
                "timestamp": "2024-02-20T11:54:13Z",
                "comment": ""
            },
            {
                "logid": 322,
                "ns": 2,
                "title": "\u7528\u6237:HeartNight",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "oldgroups": [
                        "sysop"
                    ],
                    "newgroups": [],
                    "oldmetadata": [
                        {
                            "group": "sysop",
                            "expiry": "infinity"
                        }
                    ],
                    "newmetadata": []
                },
                "type": "rights",
                "action": "rights",
                "user": "9Yan",
                "timestamp": "2024-02-20T11:53:51Z",
                "comment": ""
            },
            {
                "logid": 321,
                "ns": 2,
                "title": "\u7528\u6237:Xc2398",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "oldgroups": [
                        "sysop"
                    ],
                    "newgroups": [],
                    "oldmetadata": [
                        {
                            "group": "sysop",
                            "expiry": "infinity"
                        }
                    ],
                    "newmetadata": []
                },
                "type": "rights",
                "action": "rights",
                "user": "9Yan",
                "timestamp": "2024-02-20T11:53:31Z",
                "comment": ""
            }
        ]
    }
}