MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20250802131205|43",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 53,
                "ns": 0,
                "title": "\u5173\u7cfb",
                "pageid": 0,
                "logpage": 38,
                "params": {},
                "type": "delete",
                "action": "delete",
                "user": "\u6c99\u8336\u3061\u3083\u3093",
                "timestamp": "2025-08-23T18:01:30Z",
                "comment": "\u5185\u5bb9\u4e3a\uff1a\u201c{{chart/start|align=center|summary=\u6f6e\u6c55\u8bdd\u76f4\u7cfb\u4eb2\u5c5e\u5173\u7cfb\u56fe}} {{chart | | | | | | | | | | | | | | | | | |\u8001\u516c| | | | | | | | | | | | | | | |\u8001\u5af2}} {{chart | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | }} {{chart | | | | | | | | | | | | | | | | |+| | | | | | | | | | | | | | | | |+| | }} {{chart | | | | | | | | | | |\u2026\u201d\uff0c\u552f\u4e00\u8d21\u732e\u8005\u662f\u201c[[Special:Contributions/\u6c99\u8336\u3061\u3083\u3093|\u6c99\u8336\u3061\u3083\u3093]]\u201d\uff08[[User talk:\u6c99\u8336\u3061\u3083\u3093|\u8ba8\u8bba]]\uff09"
            },
            {
                "logid": 52,
                "ns": 0,
                "title": "\u5173\u7cfb",
                "pageid": 0,
                "logpage": 38,
                "revid": 181,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u6c99\u8336\u3061\u3083\u3093",
                "timestamp": "2025-08-23T17:57:18Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c{{chart/start|align=center|summary=\u6f6e\u6c55\u8bdd\u76f4\u7cfb\u4eb2\u5c5e\u5173\u7cfb\u56fe}} {{chart | | | | | | | | | | | | | | | | | |\u8001\u516c| | | | | | | | | | | | | | | |\u8001\u5af2}} {{chart | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | }} {{chart | | | | | | | | | | | | | | | | |+| | | | | | | | | | | | | | | | |+| | }} {{chart | | | | | | | | | | | | | | | |\u516c| | | | | | | | | | | | | | | | |\u5af2| | }} {{chart | | | | | | | | | | | | | | | |(a-kong)| | | | |\u2026\u201d"
            },
            {
                "logid": 51,
                "ns": 10,
                "title": "\u6a21\u677f:\u4e2b",
                "pageid": 37,
                "logpage": 37,
                "revid": 175,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u6c99\u8336\u3061\u3083\u3093",
                "timestamp": "2025-08-23T16:45:54Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<html> <head>     <style>          /* \u9ed8\u8ba4\u79fb\u52a8\u7aef\u4e0a\u4e0b\u6392\u5217 */         .entry-wrapper {             display: block;         }          /* PC \u7aef\u54cd\u5e94\u5f0f\u5e03\u5c40\uff1a\u5de6\u53f3\u6392\u5217 */         @media screen and (min-width: 768px) {             .entry-wrapper {                 display: flex;                 gap: 2em;                 align-items: stretch; /* \u6539\u4e3a stretch */            }              .entry-wrapper > .entry-section {                 flex: 1;\u2026\u201d"
            },
            {
                "logid": 50,
                "ns": 0,
                "title": "\u8304",
                "pageid": 36,
                "logpage": 36,
                "revid": 159,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u6c99\u8336\u3061\u3083\u3093",
                "timestamp": "2025-08-13T18:12:18Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<!DOCTYPE html> <html lang=\"zh-CN\"> <head>   <meta charset=\"UTF-8\">   <title>\u9976\u5e73\u65b9\u8a00\u5730\u56fe</title>   <script src=\"https://cdn.jsdelivr.net/npm/echarts@5/dist/echarts.min.js\"></script>   <style>     html, body {       height: 100%;       margin: 0;     }     #map {       width: 100%;       height: 600px;     }   </style> </head> <body>   <div id=\"map\"></div>    <script>     // \u7528 fetch \u52a0\u8f7d\u4f60\u4e0a\u4f20\u7684 JSON \u6587\u4ef6     fetch('https://lyuri.top/index.php/\u2026\u201d"
            },
            {
                "logid": 49,
                "ns": 6,
                "title": "\u6587\u4ef6:\u9976\u5e73\u65b9\u8a00\u56fe.json",
                "pageid": 35,
                "logpage": 35,
                "revid": 158,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u6c99\u8336\u3061\u3083\u3093",
                "timestamp": "2025-08-13T18:09:38Z",
                "comment": ""
            },
            {
                "logid": 48,
                "ns": 6,
                "title": "\u6587\u4ef6:\u9976\u5e73\u65b9\u8a00\u56fe.json",
                "pageid": 35,
                "logpage": 35,
                "revid": 158,
                "params": {
                    "img_sha1": "2kweipxmnnd8nibpjaxjelti6ef4oei",
                    "img_timestamp": "2025-08-13T18:09:38Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "\u6c99\u8336\u3061\u3083\u3093",
                "timestamp": "2025-08-13T18:09:38Z",
                "comment": ""
            },
            {
                "logid": 47,
                "ns": 6,
                "title": "\u6587\u4ef6:\u9976\u5e73\u65b9\u8a00\u56fe.json",
                "pageid": 35,
                "logpage": 34,
                "params": {},
                "type": "delete",
                "action": "delete",
                "user": "\u6c99\u8336\u3061\u3083\u3093",
                "timestamp": "2025-08-13T18:09:21Z",
                "comment": "\u5185\u5bb9\u4e3a\uff1a\u201c\u201d\uff0c\u552f\u4e00\u8d21\u732e\u8005\u662f\u201c[[Special:Contributions/\u6c99\u8336\u3061\u3083\u3093|\u6c99\u8336\u3061\u3083\u3093]]\u201d\uff08[[User talk:\u6c99\u8336\u3061\u3083\u3093|\u8ba8\u8bba]]\uff09"
            },
            {
                "logid": 46,
                "ns": 6,
                "title": "\u6587\u4ef6:\u9976\u5e73\u65b9\u8a00\u56fe.json",
                "pageid": 35,
                "logpage": 34,
                "revid": 157,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u6c99\u8336\u3061\u3083\u3093",
                "timestamp": "2025-08-13T18:08:54Z",
                "comment": ""
            },
            {
                "logid": 45,
                "ns": 6,
                "title": "\u6587\u4ef6:\u9976\u5e73\u65b9\u8a00\u56fe.json",
                "pageid": 35,
                "logpage": 34,
                "revid": 157,
                "params": {
                    "img_sha1": "2kweipxmnnd8nibpjaxjelti6ef4oei",
                    "img_timestamp": "2025-08-13T18:08:54Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "\u6c99\u8336\u3061\u3083\u3093",
                "timestamp": "2025-08-13T18:08:54Z",
                "comment": ""
            },
            {
                "logid": 44,
                "ns": 0,
                "title": "\u5562",
                "pageid": 33,
                "logpage": 33,
                "revid": 154,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u6c99\u8336\u3061\u3083\u3093",
                "timestamp": "2025-08-13T05:34:42Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<html> <head>   <style>     body {       background-color: #121212;       color: #e0e0e0;       font-family: sans-serif;       margin: 0;       padding: 1em;     }      /* \u54cd\u5e94\u5f0f\u6392\u7248\u5bb9\u5668 */     .entry-wrapper {       display: block;     }      @media screen and (min-width: 768px) {       .entry-wrapper {         display: flex;         gap: 2em;         align-items: stretch;       }        .entry-wrapper > .entry-section {         flex: 1;         display\u2026\u201d"
            }
        ]
    }
}