MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20251212062327|151",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 161,
                "ns": 2,
                "title": "\u7528\u6237:3546750998546884",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 17
                },
                "type": "newusers",
                "action": "autocreate",
                "user": "3546750998546884",
                "timestamp": "2025-12-12T16:33:16Z",
                "comment": ""
            },
            {
                "logid": 160,
                "ns": 2,
                "title": "\u7528\u6237:487765620",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 16
                },
                "type": "newusers",
                "action": "autocreate",
                "user": "487765620",
                "timestamp": "2025-12-12T16:20:33Z",
                "comment": ""
            },
            {
                "logid": 159,
                "ns": 2,
                "title": "\u7528\u6237:523096225",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 15
                },
                "type": "newusers",
                "action": "autocreate",
                "user": "523096225",
                "timestamp": "2025-12-12T15:47:23Z",
                "comment": ""
            },
            {
                "logid": 158,
                "ns": 8,
                "title": "MediaWiki:Gadget - \u7be9\u9078\u5668.js",
                "pageid": 0,
                "logpage": 124,
                "params": {},
                "type": "delete",
                "action": "delete",
                "user": "30554601",
                "timestamp": "2025-12-12T14:53:46Z",
                "comment": "\u5185\u5bb9\u4e3a\uff1a\u201c$('.filter-item').click(function() {   var type = $(this).data('type');   $('#collection-table tr').hide();   $('#collection-table tr[data-type=\"' + type + '\"]').show();   $('#collection-table tr:first').show(); });\u201d\uff0c\u552f\u4e00\u8d21\u732e\u8005\u662f\u201c[[Special:Contributions/30554601|30554601]]\u201d\uff08[[User talk:30554601|\u8ba8\u8bba]]\uff09"
            },
            {
                "logid": 157,
                "ns": 8,
                "title": "MediaWiki:Gadget - \u7be9\u9078\u5668.js",
                "pageid": 0,
                "logpage": 124,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "30554601",
                "timestamp": "2025-12-12T14:21:05Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c$('.filter-item').click(function() {   var type = $(this).data('type');   $('#collection-table tr').hide();   $('#collection-table tr[data-type=\"' + type + '\"]').show();   $('#collection-table tr:first').show(); });\u201d"
            },
            {
                "logid": 156,
                "ns": 2,
                "title": "\u7528\u6237:29136181",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 14
                },
                "type": "newusers",
                "action": "autocreate",
                "user": "29136181",
                "timestamp": "2025-12-12T06:46:48Z",
                "comment": ""
            },
            {
                "logid": 155,
                "ns": 10,
                "title": "\u6a21\u677f:\u9996\u9801\u4e2d\u6b04",
                "pageid": 0,
                "logpage": 121,
                "params": {},
                "type": "delete",
                "action": "delete",
                "user": "30554601",
                "timestamp": "2025-12-12T06:24:26Z",
                "comment": "\u5185\u5bb9\u4e3a\uff1a\u201c<div class=\"col-md-6\" style=\"padding: 0 15px;\"> <div class=\"panel panel-default\"> <div class=\"panel-heading\" style=\"background-color: #8B7355; color: white;\"> <h3 style=\"margin: 0;\">\ud83c\udfac Banner</h3> </div> <div class=\"panel-body\"> {{{banner}}} </div> </div>  <div class=\"panel panel-default\" style=\"margin-top: 20px;\"> <div class=\"panel-heading\" style=\"background-color: #8B\u2026\u201d\uff0c\u552f\u4e00\u8d21\u732e\u8005\u662f\u201c[[Special:Contributions/30554601|30554601]]\u201d\uff08[[User talk:30554601|\u8ba8\u8bba]]\uff09"
            },
            {
                "logid": 154,
                "ns": 10,
                "title": "\u6a21\u677f:NPC",
                "pageid": 0,
                "logpage": 122,
                "params": {},
                "type": "delete",
                "action": "delete",
                "user": "30554601",
                "timestamp": "2025-12-12T06:24:18Z",
                "comment": "\u5185\u5bb9\u4e3a\uff1a\u201c<div style=\"display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px;\"> {{{npc-list}}} </div>\u201d\uff0c\u552f\u4e00\u8d21\u732e\u8005\u662f\u201c[[Special:Contributions/30554601|30554601]]\u201d\uff08[[User talk:30554601|\u8ba8\u8bba]]\uff09"
            },
            {
                "logid": 153,
                "ns": 10,
                "title": "\u6a21\u677f:NPC\u9805\u76ee",
                "pageid": 0,
                "logpage": 123,
                "params": {},
                "type": "delete",
                "action": "delete",
                "user": "30554601",
                "timestamp": "2025-12-12T06:24:05Z",
                "comment": "\u5185\u5bb9\u4e3a\uff1a\u201c<div style=\"background: white; border: 1px solid #E8D9CC; border-radius: 8px; overflow: hidden; text-align: center;\"> <div style=\"background: linear-gradient(135deg, #E5C494, #C4A080); padding: 20px; font-size: 32px;\"> {{{avatar}}} </div> <div style=\"padding: 8px; font-weight: bold; font-size: 12px; color: #8B7355;\"> [[{{{link}}}|{{{name}}}]] </div> </div>\u201d\uff0c\u552f\u4e00\u8d21\u732e\u8005\u662f\u201c[[Special:Contributions/30554601|30554601]]\u201d\uff08[[User talk:30554601|\u8ba8\u8bba]]\uff09"
            },
            {
                "logid": 152,
                "ns": 10,
                "title": "\u6a21\u677f:NPC\u9805\u76ee",
                "pageid": 0,
                "logpage": 123,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "30554601",
                "timestamp": "2025-12-12T06:23:45Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<div style=\"background: white; border: 1px solid #E8D9CC; border-radius: 8px; overflow: hidden; text-align: center;\"> <div style=\"background: linear-gradient(135deg, #E5C494, #C4A080); padding: 20px; font-size: 32px;\"> {{{avatar}}} </div> <div style=\"padding: 8px; font-weight: bold; font-size: 12px; color: #8B7355;\"> [[{{{link}}}|{{{name}}}]] </div> </div>\u201d"
            }
        ]
    }
}