MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20250412064415|28",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 38,
                "ns": 2,
                "title": "User:YunG",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 10
                },
                "type": "newusers",
                "action": "create",
                "user": "YunG",
                "timestamp": "2025-04-26T13:19:57Z",
                "comment": ""
            },
            {
                "logid": 37,
                "ns": 2,
                "title": "User:W10hao",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 9
                },
                "type": "newusers",
                "action": "create",
                "user": "W10hao",
                "timestamp": "2025-04-24T16:52:52Z",
                "comment": ""
            },
            {
                "logid": 36,
                "ns": 2,
                "title": "User:Walrocha",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 8
                },
                "type": "newusers",
                "action": "create",
                "user": "Walrocha",
                "timestamp": "2025-04-23T17:13:03Z",
                "comment": ""
            },
            {
                "logid": 35,
                "ns": 2,
                "title": "User:Gsfs888",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 7
                },
                "type": "newusers",
                "action": "create",
                "user": "Gsfs888",
                "timestamp": "2025-04-21T07:51:01Z",
                "comment": ""
            },
            {
                "logid": 34,
                "ns": 4,
                "title": "\u5361\u8f66\u6a21\u62df\u4e2d\u6587\u7ef4\u57fa:\u65b0\u95fb",
                "pageid": 27,
                "logpage": 27,
                "revid": 52,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Imxiaoanag",
                "timestamp": "2025-04-12T07:12:29Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c{| class=\"timeline\" |- |[[\u5361\u8f66\u6a21\u62df\u4e2d\u6587\u7ef4\u57fa:\u65b0\u95fb:\u516c\u8def\u4e4b\u65c5\u9879\u76ee|\u516c\u8def\u4e4b\u65c5\u9879\u76ee]] |2025 \u5e74 4 \u6708 11 \u65e5 |- |[[\u5361\u8f66\u6a21\u62df\u4e2d\u6587\u7ef4\u57fa:\u65b0\u95fb:\u5317\u6b27\u5730\u5e73\u7ebf\uff1a\u8def\u65c1\u5730\u6807|\u5317\u6b27\u5730\u5e73\u7ebf\uff1a\u8def\u65c1\u5730\u6807]] |2025 \u5e74 4 \u6708 8 \u65e5 |} {{\u65f6\u95f4\u7ebf}}\u201d"
            },
            {
                "logid": 33,
                "ns": 10,
                "title": "Template:\u65f6\u95f4\u7ebf",
                "pageid": 26,
                "logpage": 26,
                "revid": 51,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Imxiaoanag",
                "timestamp": "2025-04-12T07:07:22Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<includeonly><templatestyles src=\"Template:Timeline styles/styles.css\" /></includeonly><noinclude>{{/doc}}</noinclude> [[\u5206\u7c7b:\u5e26\u6709\u65f6\u95f4\u7ebf\u7684\u9875\u9762]]\u201d"
            },
            {
                "logid": 32,
                "ns": 10,
                "title": "Template:\u65f6\u95f4\u7ebf.css",
                "pageid": 25,
                "logpage": 25,
                "params": {
                    "oldmodel": "wikitext",
                    "newmodel": "sanitized-css"
                },
                "type": "contentmodel",
                "action": "change",
                "user": "Imxiaoanag",
                "timestamp": "2025-04-12T07:06:48Z",
                "comment": ""
            },
            {
                "logid": 31,
                "ns": 10,
                "title": "Template:\u65f6\u95f4\u7ebf.css",
                "pageid": 25,
                "logpage": 25,
                "revid": 49,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Imxiaoanag",
                "timestamp": "2025-04-12T07:06:25Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201ctable.timeline { \tbox-shadow: none; \tfont-size: var( --font-size-small ); }  table.timeline, table.timeline tbody {     display: block; }  table.timeline tr { \tposition: relative; \tmargin-left: 8px; \tpadding: var( --space-xs ) var( --space-xs ) var( --space-xs ) 20px;     display: flex;     flex-direction: column;     border-top-right-radius: var( --border-radius-small );     border-bottom-right-radius: var( --border-radius-small ); }  table.timeline tr:before\u2026\u201d"
            },
            {
                "logid": 30,
                "ns": 4,
                "title": "\u5361\u8f66\u6a21\u62df\u4e2d\u6587\u7ef4\u57fa:\u9690\u79c1\u653f\u7b56",
                "pageid": 24,
                "logpage": 24,
                "revid": 47,
                "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": "Imxiaoanag",
                "timestamp": "2025-04-12T07:00:55Z",
                "comment": ""
            },
            {
                "logid": 29,
                "ns": 4,
                "title": "\u5361\u8f66\u6a21\u62df\u4e2d\u6587\u7ef4\u57fa:\u9690\u79c1\u653f\u7b56",
                "pageid": 24,
                "logpage": 24,
                "revid": 46,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Imxiaoanag",
                "timestamp": "2025-04-12T06:57:32Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c'''\u4e0a\u6b21\u4fee\u8ba2\uff1a2025 \u5e74 4 \u6708 12 \u65e5'''  \u5361\u8f66\u6a21\u62df\u4e2d\u6587\u7ef4\u57fa\uff08\u4e0b\u79f0\u672c\u7ef4\u57fa\uff09\u662f\u7531[https://with.loopwiki.work LoopWiki]\u8fd0\u8425\u7684\u5361\u8f66\u6a21\u62df\u7c7b\u6e38\u620f\u7684\u4e2d\u6587\u7ef4\u57fa\u3002  \u672c\u9875\u9762\u5411\u60a8\u8bf4\u660e\u4e86\u6211\u4eec\u5728\u60a8\u4f7f\u7528\u672c\u7ef4\u57fa\u65f6\u5173\u4e8e\u6536\u96c6\u3001\u4f7f\u7528\u548c\u62ab\u9732\u4e2a\u4eba\u4fe1\u606f\u7684\u653f\u7b56\uff0c\u4ee5\u53ca\u60a8\u4e0e\u8fd9\u4e9b\u6570\u636e\u76f8\u5173\u7684\u9009\u62e9\u3002  \u6211\u4eec\u4f7f\u7528\u60a8\u7684\u6570\u636e\u6765\u63d0\u4f9b\u5e76\u6539\u8fdb\u672c\u7ef4\u57fa\u3002\u901a\u8fc7\u4f7f\u7528\u672c\u7ef4\u57fa\uff0c\u60a8\u540c\u610f\u6839\u636e\u672c\u653f\u7b56\u7684\u89c4\u5b9a\u6536\u96c6\u548c\u4f7f\u7528\u4fe1\u2026\u201d"
            }
        ]
    }
}