MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20260404132015|25792",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 25802,
                "ns": 10,
                "title": "\u6a21\u677f:Cbox2/styles.css",
                "pageid": 5028,
                "logpage": 5028,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Zhbus",
                "timestamp": "2026-04-09T07:36:05Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c/* PC \u7aef\u6837\u5f0f */ .custom-cbox {     display: flex;     flex-direction: row;     margin: 12px 0;     width: 65%;     max-width: 85%;     border-radius: 5px;     box-shadow: 0 1px 3px rgba(0,0,0,0.12);     overflow: hidden; }  /* \u79fb\u52a8\u7aef\u54cd\u5e94\u5f0f */ @media screen and (max-width: 720px) {     .custom-cbox {         width: 100% !important;         max-width: 100% !important;         flex-direction: column !important;     }     .cbox-left {         width: 100% !\u2026\u201d"
            },
            {
                "logid": 25801,
                "ns": 10,
                "title": "\u6a21\u677f:Kph\u6d4b\u8bd5",
                "pageid": 0,
                "logpage": 5027,
                "params": {},
                "type": "delete",
                "action": "delete",
                "user": "Zhbus",
                "timestamp": "2026-04-07T06:39:23Z",
                "comment": ""
            },
            {
                "logid": 25800,
                "ns": 10,
                "title": "\u6a21\u677f:Kph\u6d4b\u8bd5",
                "pageid": 0,
                "logpage": 5027,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Zhbus",
                "timestamp": "2026-04-07T06:36:16Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<div style=\"display: inline-block; vertical-align: middle; width: 50px; height: 50px;\"> <svg viewBox=\"0 0 100 100\" xmlns=\"http://www.w3.org/2000/svg\">   <circle cx=\"50\" cy=\"50\" r=\"45\" stroke=\"red\" stroke-width=\"10\" fill=\"white\" />   <text x=\"50\" y=\"52\" font-family=\"sans-serif, Arial\" font-size=\"55\" font-weight=\"bold\" fill=\"black\" text-anchor=\"middle\" dominant-baseline=\"central\">     {{{1}}}   </text> </svg> </div>\u201d"
            },
            {
                "logid": 25799,
                "ns": 0,
                "title": "\u73e0\u6d77\u516c\u4ea4\u52e4\u5b66213",
                "pageid": 5026,
                "logpage": 5026,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "ForeverNo10",
                "timestamp": "2026-04-06T09:25:46Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c{{\u52e4\u5b66\u63d0\u793a|\u65e9\u665a}} <dt2-showtable table=\"routetable\" where=\"route=('\u52e4\u5b66213')\"><template>{{\u7ebf\u8def\u72b6\u6001\u5c55\u793a|attr={{{attr}}}}}</template></dt2-showtable> {{BusRoute |\u63cf\u8ff0=\u662f\u73e0\u6d77\u5e02\u6597\u95e8\u533a\u7684\u4e00\u6761\u52e4\u5b66\u516c\u4ea4\u7ebf\u8def |\u8def\u7ebf\u53f7=\u52e4\u5b66213 |\u56fe\u7247\u5916\u94fe= |\u8425\u8fd0\u516c\u53f8=[[\u73e0\u6d77\u516c\u4ea4\u5df4\u58eb\u6709\u9650\u516c\u53f8]] |\u6d3e\u8f66\u5206\u516c\u53f8={{\u4e95\u5cb8}} |\u4e0a\u884c\u91cc\u7a0b=6.4 |\u4e0b\u884c\u91cc\u7a0b=5.7 |\u4e3b\u8981\u9014\u7ecf=\u576d\u6e7e |\u5355\u7a0b\u65f6\u95f4= |\u73ed\u6b21\u95f4\u9694=\u5b9a\u73ed\u53d1\u8f66 |\u4e3b\u7ad9=\u65b0\u9a6c\u58a9 |\u526f\u2026\u201d"
            },
            {
                "logid": 25798,
                "ns": 0,
                "title": "\u73e0\u6d77\u516c\u4ea4\u52e4\u5b66213/\u7ad9\u70b9\u8868",
                "pageid": 5025,
                "logpage": 5025,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "ForeverNo10",
                "timestamp": "2026-04-06T09:23:15Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<datatable2 table=\"stoptable\" class=\"wikitable sortable\" columns=\"route|upno|stop|road|downno|upattr|downattr\" fs=\";\"> <head> |- ! route ! upno ! stop ! road ! downno ! upattr ! downattr </head> \u52e4\u5b66213;01;\u65b0\u9752\u4e03\u8def\u5317;\u65b0\u9752\u4e03\u8def;;; \u52e4\u5b66213;;\u8d35\u4e7e\u8def\u5317;\u65b0\u5802\u8def;;; \u52e4\u5b66213;;\u4e1c\u65b0\u8def\u53e3;\u65b0\u5802\u8def;;; \u52e4\u5b66213;;\u576d\u6e7e;\u4e95\u6e7e\u8def;;; \u52e4\u5b66213;;\u4e95\u5cb8\u9547\u5e9c;\u4e95\u6e7e\u8def;;; \u52e4\u5b66213;;\u6e21\u6c5f\u8def\u53e3;\u4e2d\u5174\u4e2d\u8def;01;; </datatable2>[[\u5206\u7c7b:\u7ad9\u70b9\u8868]]\u201d"
            },
            {
                "logid": 25797,
                "ns": 0,
                "title": "\u73e0\u6d77\u516c\u4ea4Z149\u652f\u7ebf",
                "pageid": 1548,
                "logpage": 1548,
                "params": {
                    "curid": 104362,
                    "previd": 104361
                },
                "type": "patrol",
                "action": "patrol",
                "user": "ForeverNo10",
                "timestamp": "2026-04-05T12:13:53Z",
                "comment": ""
            },
            {
                "logid": 25796,
                "ns": 0,
                "title": "\u73e0\u6d77\u516c\u4ea4Z149\u652f\u7ebf",
                "pageid": 1548,
                "logpage": 1548,
                "params": {
                    "curid": 104361,
                    "previd": 101288
                },
                "type": "patrol",
                "action": "patrol",
                "user": "ForeverNo10",
                "timestamp": "2026-04-05T12:13:50Z",
                "comment": ""
            },
            {
                "logid": 25795,
                "ns": 0,
                "title": "\u73e0\u6d77\u516c\u4ea4Z147\u652f\u7ebf",
                "pageid": 930,
                "logpage": 930,
                "params": {
                    "curid": 104357,
                    "previd": 100776
                },
                "type": "patrol",
                "action": "patrol",
                "user": "ForeverNo10",
                "timestamp": "2026-04-05T12:13:15Z",
                "comment": ""
            },
            {
                "logid": 25794,
                "ns": 0,
                "title": "\u73e0\u6d77\u516c\u4ea4Z147\u652f\u7ebf",
                "pageid": 930,
                "logpage": 930,
                "params": {
                    "curid": 104358,
                    "previd": 104357
                },
                "type": "patrol",
                "action": "patrol",
                "user": "Xinzi2010",
                "timestamp": "2026-04-05T11:01:44Z",
                "comment": ""
            },
            {
                "logid": 25793,
                "ns": 0,
                "title": "\u73e0\u6d77\u516c\u4ea4K9\u5feb\u7ebf",
                "pageid": 487,
                "logpage": 487,
                "params": {
                    "curid": 104354,
                    "previd": 104315
                },
                "type": "patrol",
                "action": "patrol",
                "user": "ForeverNo10",
                "timestamp": "2026-04-04T13:20:25Z",
                "comment": ""
            }
        ]
    }
}