MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20250811184426|152",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 162,
                "ns": 2,
                "title": "\u7528\u6237:28517462",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 27
                },
                "type": "newusers",
                "action": "autocreate",
                "user": "28517462",
                "timestamp": "2025-08-31T14:19:28Z",
                "comment": ""
            },
            {
                "logid": 161,
                "ns": 2,
                "title": "\u7528\u6237:179614519",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 26
                },
                "type": "newusers",
                "action": "autocreate",
                "user": "179614519",
                "timestamp": "2025-08-31T13:09:34Z",
                "comment": ""
            },
            {
                "logid": 160,
                "ns": 2,
                "title": "\u7528\u6237:8499298",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 25
                },
                "type": "newusers",
                "action": "autocreate",
                "user": "8499298",
                "timestamp": "2025-08-31T13:06:46Z",
                "comment": ""
            },
            {
                "logid": 159,
                "ns": 0,
                "title": "TextExtracts",
                "pageid": 122,
                "logpage": 122,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "39886146",
                "timestamp": "2025-08-31T13:02:25Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201cGPT5\u5728\u9605\u8bfb Extension:TextExtracts \u7684\u6838\u5fc3\u4ee3\u7801\u540e\uff0c\u7ed9\u51fa\u7684JS\u66ff\u4ee3\u65b9\u6848\u8bf4\u660e\u3002  = AI\u7ed9\u51fa\u7684\u65b9\u6848 = \u4e0b\u9762\u5148\u628a\u8fd9\u6bb5\u6269\u5c55\uff08TextExtracts\uff09\u7684<strong>\u6838\u5fc3\u884c\u4e3a</strong>\u68b3\u7406\u51fa\u6765\uff0c\u7136\u540e\u7ed9\u51fa<strong>\u5728\u65e0\u540e\u7aef\u6269\u5c55\u65f6\u7528\u7eaf JS\uff08\u53ef\u914d\u5408\u6a21\u677f\uff09\u590d\u523b\u7684\u6280\u672f\u8def\u7ebf</strong>\uff0c\u518d\u7ed9\u4e00\u4efd<strong>\u7cbe\u7b80\u7684\u9700\u6c42/\u5b9e\u65bd\u6587\u6863</strong>\uff0c\u4fbf\u4e8e\u4f60\u5728 <code>MediaWiki:Common.js</code> / \u7ad9\u70b9\u5c0f\u5de5\u5177\uff08Gadget\uff09\u91cc\u5b9e\u73b0\u4e0e\u843d\u5730\u3002 <\u2026\u201d"
            },
            {
                "logid": 158,
                "ns": 2,
                "title": "\u7528\u6237:3546966977940200",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 24
                },
                "type": "newusers",
                "action": "autocreate",
                "user": "3546966977940200",
                "timestamp": "2025-08-30T18:30:08Z",
                "comment": ""
            },
            {
                "logid": 157,
                "ns": 2,
                "title": "\u7528\u6237:3546961210771520",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 23
                },
                "type": "newusers",
                "action": "autocreate",
                "user": "3546961210771520",
                "timestamp": "2025-08-18T08:31:33Z",
                "comment": ""
            },
            {
                "logid": 156,
                "ns": 2,
                "title": "\u7528\u6237:46972027",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 22
                },
                "type": "newusers",
                "action": "autocreate",
                "user": "46972027",
                "timestamp": "2025-08-12T15:52:26Z",
                "comment": ""
            },
            {
                "logid": 155,
                "ns": 2,
                "title": "\u7528\u6237:178557843",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 21
                },
                "type": "newusers",
                "action": "autocreate",
                "user": "178557843",
                "timestamp": "2025-08-12T06:22:33Z",
                "comment": ""
            },
            {
                "logid": 154,
                "ns": 6,
                "title": "\u6587\u4ef6:Test.png",
                "pageid": 121,
                "logpage": 121,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "39886146",
                "timestamp": "2025-08-12T03:22:24Z",
                "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
            },
            {
                "logid": 153,
                "ns": 6,
                "title": "\u6587\u4ef6:Test.png",
                "pageid": 121,
                "logpage": 121,
                "params": {
                    "img_sha1": "0uh4cjbrbyvyb3ajsnxk3zimwo46t96",
                    "img_timestamp": "2025-08-12T03:22:24Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "39886146",
                "timestamp": "2025-08-12T03:22:24Z",
                "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
            }
        ]
    }
}