MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20260831154255|2263",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 2273,
                "ns": 2,
                "title": "\u7528\u6237:Alice",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 16
                },
                "type": "newusers",
                "action": "create",
                "user": "Alice",
                "timestamp": "2026-10-01T22:56:50Z",
                "comment": ""
            },
            {
                "logid": 2272,
                "ns": 2,
                "title": "\u7528\u6237:ChenLiHuaMO",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 15
                },
                "type": "newusers",
                "action": "create",
                "user": "ChenLiHuaMO",
                "timestamp": "2026-09-27T13:59:38Z",
                "comment": ""
            },
            {
                "logid": 2271,
                "ns": 2,
                "title": "\u7528\u6237:\u5fc3\u7075\u7ec8\u7ed3\u5c0f\u6b27",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 14
                },
                "type": "newusers",
                "action": "create",
                "user": "\u5fc3\u7075\u7ec8\u7ed3\u5c0f\u6b27",
                "timestamp": "2026-09-22T15:26:58Z",
                "comment": ""
            },
            {
                "logid": 2270,
                "ns": 2,
                "title": "\u7528\u6237:Starllxx",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 13
                },
                "type": "newusers",
                "action": "create",
                "user": "Starllxx",
                "timestamp": "2026-09-13T15:50:49Z",
                "comment": ""
            },
            {
                "logid": 2269,
                "ns": 2,
                "title": "\u7528\u6237:CREAM3898",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 12
                },
                "type": "newusers",
                "action": "create",
                "user": "CREAM3898",
                "timestamp": "2026-09-06T06:10:32Z",
                "comment": ""
            },
            {
                "logid": 2268,
                "ns": 2,
                "title": "\u7528\u6237:Zxc",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 11
                },
                "type": "newusers",
                "action": "create",
                "user": "Zxc",
                "timestamp": "2026-09-05T17:52:33Z",
                "comment": ""
            },
            {
                "logid": 2267,
                "ns": 2,
                "title": "\u7528\u6237:\u5c0f\u8001\u864e",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 10
                },
                "type": "newusers",
                "action": "create",
                "user": "\u5c0f\u8001\u864e",
                "timestamp": "2026-09-04T15:28:12Z",
                "comment": ""
            },
            {
                "logid": 2266,
                "ns": 10,
                "title": "\u6a21\u677f:\u4fee\u6b63\u6bd4",
                "pageid": 1355,
                "logpage": 1355,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Lyx",
                "timestamp": "2026-08-31T21:55:08Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<noinclude> == \u6a21\u677f\u8bf4\u660e == \u6b64\u6a21\u677f\u7528\u4e8e\u521b\u5efa\u6807\u51c6\u683c\u5f0f\u7684\u8868\u683c\u3002  === \u4f7f\u7528\u65b9\u6cd5 === <pre> {{\u8868\u683c\u6a21\u677f |\u6807\u9898 = \u8868\u683c\u6807\u9898 |\u52171\u6807\u9898 = \u7b2c\u4e00\u5217 |\u52172\u6807\u9898 = \u7b2c\u4e8c\u5217 |\u52173\u6807\u9898 = \u7b2c\u4e09\u5217 |\u884c1\u52171 = \u6570\u636e1-1 |\u884c1\u52172 = \u6570\u636e1-2 |\u884c1\u52173 = \u6570\u636e1-3 |\u884c2\u52171 = \u6570\u636e2-1 |\u884c2\u52172 = \u6570\u636e2-2 |\u884c2\u52173 = \u6570\u636e2-3 }} </pre>  === \u53c2\u6570\u8bf4\u660e === * \u6807\u9898\uff1a\u8868\u683c\u7684\u6807\u9898\uff08\u53ef\u9009\uff09 * \u5217X\u6807\u9898\uff1a\u5404\u5217\u7684\u6807\u9898\uff08\u5fc5\u9700\uff09 *\u2026\u201d"
            },
            {
                "logid": 2265,
                "ns": 10,
                "title": "\u6a21\u677f:\u4fee\u6b63\u6bd4\u8868\u683c",
                "pageid": 0,
                "logpage": 1354,
                "params": {},
                "type": "delete",
                "action": "delete",
                "user": "Lyx",
                "timestamp": "2026-08-31T21:52:24Z",
                "comment": "\u5185\u5bb9\u4e3a\uff1a\u201c<includeonly>{| class=\"wikitable sortable\" ! \u62a4\u7532\u7c7b\u522b !! \u4fee\u6b63\u6bd4 {{#arraydefine:rows|{{{1|}}}|,}} {{#arrayprint:rows||@@@@   |{{#arraydefine:cols|@@@@|:}} |- | {{#arrayindex:cols|0}} || {{#arrayindex:cols|1}} }} |}</includeonly><noinclude> == \u4f7f\u7528\u8bf4\u660e == \u8fd9\u4e2a\u6a21\u677f\u7528\u4e8e\u5c06\u7eaf\u6587\u672c\u62a4\u7532\u4fee\u6b63\u6bd4\u6570\u636e\u6e32\u67d3\u4e3a\u8868\u683c\u3002  === \u8bed\u6cd5 === <pre>{{\u4fee\u6b63\u6bd4\u8868\u683c|\u6570\u636e}}</pre>\u2026\u201d\uff0c\u552f\u4e00\u8d21\u732e\u8005\u662f\u201c[[Special:Contributions/Lyx|Lyx]]\u201d\uff08[[User talk:Lyx|\u8ba8\u8bba]]\uff09"
            },
            {
                "logid": 2264,
                "ns": 10,
                "title": "\u6a21\u677f:\u4fee\u6b63\u6bd4\u8868\u683c",
                "pageid": 0,
                "logpage": 1354,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Lyx",
                "timestamp": "2026-08-31T21:51:04Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c{| class=\"wikitable sortable\" ! \u62a4\u7532\u7c7b\u522b !! \u4fee\u6b63\u6bd4 {{#arraydefine:rows|{{{1|}}}|,}} {{#arrayprint:rows||@@@@   |{{#arraydefine:cols|@@@@|:}}    {{!}}-    {{!}} {{#arrayindex:cols|0}} {{!}}{{!}} {{#arrayindex:cols|1}} }} |}\u201d"
            }
        ]
    }
}