MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20240319135835|418",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 428,
                "ns": 2,
                "title": "\u7528\u6237:King-HzKkk",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 32
                },
                "type": "newusers",
                "action": "create",
                "user": "King-HzKkk",
                "timestamp": "2025-01-19T14:18:26Z",
                "comment": ""
            },
            {
                "logid": 427,
                "ns": 2,
                "title": "\u7528\u6237:Disorder-K",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 31
                },
                "type": "newusers",
                "action": "create",
                "user": "Disorder-K",
                "timestamp": "2024-10-04T09:31:52Z",
                "comment": ""
            },
            {
                "logid": 426,
                "ns": 8,
                "title": "MediaWiki:Common.JS",
                "pageid": 0,
                "logpage": 254,
                "params": {},
                "type": "delete",
                "action": "delete",
                "user": "Xm",
                "timestamp": "2024-06-25T16:41:56Z",
                "comment": "\u5185\u5bb9\u4e3a\uff1a\u201c<script> var _hmt = _hmt || []; (function() {   var hm = document.createElement(\"script\");   hm.src = \"https://hm.baidu.com/hm.js?178dc02e96d8533026f264ac2cf62ee0\";   var s = document.getElementsByTagName(\"script\")[0];    s.parentNode.insertBefore(hm, s); })(); </script>\u201d\uff0c\u552f\u4e00\u8d21\u732e\u8005\u662f\u201c[[Special:Contributions/Xm|Xm]]\u201d\uff08[[User talk:Xm|\u8ba8\u8bba]]\uff09"
            },
            {
                "logid": 425,
                "ns": 8,
                "title": "MediaWiki:Common.JS",
                "pageid": 0,
                "logpage": 254,
                "params": {
                    "oldmodel": "wikitext",
                    "newmodel": "javascript"
                },
                "type": "contentmodel",
                "action": "change",
                "user": "Xm",
                "timestamp": "2024-06-25T16:35:38Z",
                "comment": ""
            },
            {
                "logid": 424,
                "ns": 8,
                "title": "MediaWiki:Common.JS",
                "pageid": 0,
                "logpage": 254,
                "revid": 631,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Xm",
                "timestamp": "2024-06-25T16:34:11Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<script> var _hmt = _hmt || []; (function() {   var hm = document.createElement(\"script\");   hm.src = \"https://hm.baidu.com/hm.js?178dc02e96d8533026f264ac2cf62ee0\";   var s = document.getElementsByTagName(\"script\")[0];    s.parentNode.insertBefore(hm, s); })(); </script>\u201d"
            },
            {
                "logid": 423,
                "ns": 2,
                "title": "\u7528\u6237:\u5ed6\u7965\u5f6c",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 30
                },
                "type": "newusers",
                "action": "create",
                "user": "\u5ed6\u7965\u5f6c",
                "timestamp": "2024-06-25T10:31:10Z",
                "comment": ""
            },
            {
                "logid": 422,
                "ns": 0,
                "title": "\u4e1c\u533a",
                "pageid": 253,
                "logpage": 253,
                "revid": 624,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Afferent Neuron",
                "timestamp": "2024-03-19T14:42:43Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c{{Infobox|bodyclass=vcard|bodystyle = background-color:#fdf0d9;|title=\u4e1c\u533a| image=[[File:\u4e1c\u533a.jpg|300px]]| label1=\u7c7b\u578b|data1=\u4fdd\u7559\u533a| label2=X|data2=~10000~~20000| label3=Z|data3=~-10000~~10000}} \u4e1c\u533a\u662f\u8fd1\u5e74\u65b0\u8bbe\u7684\u4fdd\u7559\u533a\uff0c\u4eba\u70df\u7a00\u5c11\u3002\u5730\u8868\u662f\u65b0\u5730\u5f62\uff0c\u548c\u8001\u4fdd\u7559\u533a\u5c40\u90e8\u5e73\u6ed1\u8854\u63a5\uff0c\u7ed3\u6784\u4e0d\u8854\u63a5\u3002  == \u5f00\u653e\u8bbe\u65bd == === \u9a7f\u7ad9 === \u4e1c1\u53f7\u9a7f\u7ad9\u4f4d\u4e8e\u4e1c\u533a\u5728X\u8f74\u4e0a\u7684\u5165\u53e3\uff0c\u63a5\u5165[[\u5730\u72f1\u4ea4\u901a]]\u3002  <div style=\"clear:right\"/\u2026\u201d"
            },
            {
                "logid": 421,
                "ns": 6,
                "title": "\u6587\u4ef6:\u4ea4\u9519\u9636\u68af\u5f0f\u6297\u5378\u8f7d\u53cc\u6838\u82d4\u85d3\u9aa8\u7c89\u673a.png",
                "pageid": 252,
                "logpage": 252,
                "revid": 623,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Afferent Neuron",
                "timestamp": "2024-03-19T14:10:48Z",
                "comment": "\u4e1c\u533a\u5b89\u88c5\u7684\u82d4\u85d3\u673a\u3002"
            },
            {
                "logid": 420,
                "ns": 6,
                "title": "\u6587\u4ef6:\u4ea4\u9519\u9636\u68af\u5f0f\u6297\u5378\u8f7d\u53cc\u6838\u82d4\u85d3\u9aa8\u7c89\u673a.png",
                "pageid": 252,
                "logpage": 252,
                "revid": 623,
                "params": {
                    "img_sha1": "qcte1uv3126n6j3v50o4gmw5ijpyjyc",
                    "img_timestamp": "2024-03-19T14:10:48Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Afferent Neuron",
                "timestamp": "2024-03-19T14:10:48Z",
                "comment": "\u4e1c\u533a\u5b89\u88c5\u7684\u82d4\u85d3\u673a\u3002"
            },
            {
                "logid": 419,
                "ns": 6,
                "title": "\u6587\u4ef6:\u4e1c\u533a\u4f20\u9001\u70b9.jpg",
                "pageid": 251,
                "logpage": 251,
                "revid": 622,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Afferent Neuron",
                "timestamp": "2024-03-19T13:58:35Z",
                "comment": "\u4e1c\u533a\u4f20\u9001\u70b9\u3002"
            }
        ]
    }
}