MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20260801080932|11",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 21,
                "ns": 274,
                "title": "\u5fae\u4ef6:PicUpload",
                "pageid": 18,
                "logpage": 18,
                "revid": 24,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u5f8bRhyme",
                "timestamp": "2026-08-02T02:30:54Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<noinclude>{{Path|\u5fae\u4ef6}}{{#\u5fae\u4ef6:PicUpload}}[[\u5206\u7c7b:\u5fae\u4ef6]]</noinclude> <includeonly> <div class=\"pu-container\"><!-- --><div class=\"pu-form\"><!--     --><div class=\"pu-form__row\"><!--         --><span class=\"pu-form__label\">\u56fe\u7247\u5206\u7c7b (\u5fc5\u586b)</span><!--         --><input type=\"text\" class=\"pu-form__input\" id=\"pu-category\" placeholder=\"\u591a\u4e2a\u5206\u7c7b\u4f7f\u7528\u82f1\u6587\u9017\u53f7,\u9694\u5f00\"><!--     --></div><!--     --><div class=\"pu-form__row\"><!--         --><span cla\u2026\u201d"
            },
            {
                "logid": 20,
                "ns": -1,
                "title": "\u7279\u6b8a:Cargo\u8868",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "0": "<a href=\"https://cznwiki.com/%E7%89%B9%E6%AE%8A:Cargo%E8%A1%A8/Combatant\">Combatant</a>"
                },
                "type": "cargo",
                "action": "createtable",
                "user": "\u5f8bRhyme",
                "timestamp": "2026-08-02T02:10:46Z",
                "comment": ""
            },
            {
                "logid": 19,
                "ns": 10,
                "title": "\u6a21\u677f:Combatant",
                "pageid": 17,
                "logpage": 17,
                "revid": 23,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u5f8bRhyme",
                "timestamp": "2026-08-02T02:09:35Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<noinclude> This is the \"Combatant\" template.  {{#cargo_declare: _table = Combatant | combatant_id = Integer | name = String | sort_order = String | launch_date = Date | banner_type = String | banner_period = String | color = String | gender_type = String | job = String | ego = String | rarity = Integer | faction = String | sub_faction = String | background_text = String | birth_day = String | cv_ja = String | cv_ko = String | cv_zhs = String | race_type = Stri\u2026\u201d"
            },
            {
                "logid": 18,
                "ns": 0,
                "title": "\u6218\u6597\u5458\u56fe\u9274",
                "pageid": 16,
                "logpage": 16,
                "revid": 21,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u5f8bRhyme",
                "timestamp": "2026-08-01T08:23:15Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c{{Path}}\u201d"
            },
            {
                "logid": 17,
                "ns": 10,
                "title": "\u6a21\u677f:Path/doc",
                "pageid": 15,
                "logpage": 15,
                "revid": 20,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u5f8bRhyme",
                "timestamp": "2026-08-01T08:22:18Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c== \u4ecb\u7ecd == \u672c\u6a21\u677f\u7528\u4e8e\u751f\u6210\u7b80\u7ea6\u98ce\u683c\u7684\u9762\u5305\u5c51\u5bfc\u822a\u680f\u3002\u9ed8\u8ba4\u4ee5\u300c\u9996\u9875\u300d\u4f5c\u4e3a\u8d77\u59cb\u8282\u70b9\uff0c\u81ea\u52a8\u83b7\u53d6\u5f53\u524d\u9875\u9762\u540d\u4f5c\u4e3a\u7ec8\u70b9\u8282\u70b9\u5e76\u8fdb\u884c\u6a59\u8272\u9ad8\u4eae\u3002\u652f\u6301\u65e0\u9650\u5c42\u7ea7\u7684\u4e2d\u95f4\u8def\u5f84\u8ffd\u52a0\u3002  == \u53c2\u6570\u8bf4\u660e == {| class=\"wikitable\" ! \u53c2\u6570\u540d !! \u7c7b\u578b !! \u8bf4\u660e |- | 1 || \u4f4d\u7f6e\u53c2\u6570 || \u53ef\u9009\uff0c\u7b2c\u4e00\u7ea7\u4e2d\u95f4\u8def\u5f84\u540d\u79f0 |- | 2 || \u4f4d\u7f6e\u53c2\u6570 || \u53ef\u9009\uff0c\u7b2c\u4e8c\u7ea7\u4e2d\u95f4\u8def\u5f84\u540d\u79f0 |- | ... || \u4f4d\u7f6e\u53c2\u6570 || \u53ef\u9009\uff0c\u4ee5\u2026\u201d"
            },
            {
                "logid": 16,
                "ns": 10,
                "title": "\u6a21\u677f:Path",
                "pageid": 14,
                "logpage": 14,
                "revid": 19,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u5f8bRhyme",
                "timestamp": "2026-08-01T08:21:58Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<includeonly><templatestyles src=\"Path/styles.css\" />{{#invoke:Path|main}}</includeonly><noinclude>{{Doc}}[[\u5206\u7c7b:\u6a21\u677f]]</noinclude>\u201d"
            },
            {
                "logid": 15,
                "ns": 10,
                "title": "\u6a21\u677f:Path/styles.css",
                "pageid": 13,
                "logpage": 13,
                "revid": 18,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u5f8bRhyme",
                "timestamp": "2026-08-01T08:21:30Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c.path-breadcrumb {     display: flex;     align-items: center;     flex-wrap: wrap;     padding: 8px 12px;     background-color: #f8f9fa;     border: 1px solid #e0e0e0;     border-radius: 4px;     font-size: 14px;     line-height: 1.5;     color: #555;     margin-bottom: 10px; }  .path-breadcrumb__item {     display: inline-flex;     align-items: center; }  .path-breadcrumb__item a {     color: #666;     text-decoration: none; }  .path-breadcrumb__item a:hover\u2026\u201d"
            },
            {
                "logid": 14,
                "ns": 828,
                "title": "\u6a21\u5757:Path",
                "pageid": 12,
                "logpage": 12,
                "revid": 17,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u5f8bRhyme",
                "timestamp": "2026-08-01T08:20:59Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201clocal p = {}  function p.main(frame)     local args = frame:getParent().args     local currentPage = mw.title.getCurrentTitle().text      local root = mw.html.create('div')         :addClass('path-breadcrumb')      root:node(         mw.html.create('span')             :addClass('path-breadcrumb__item')             :wikitext('[[\u9996\u9875]]')     )      for _, v in ipairs(args) do         v = mw.text.trim(v)         if v ~= '' then             root:node(\u2026\u201d"
            },
            {
                "logid": 13,
                "ns": 10,
                "title": "\u6a21\u677f:\u6587\u672c/doc",
                "pageid": 11,
                "logpage": 11,
                "revid": 14,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u5f8bRhyme",
                "timestamp": "2026-08-01T08:12:01Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c== \u4ecb\u7ecd == '''\u6587\u672c'''\u6a21\u677f\u7528\u4e8e\u6539\u53d8\u6587\u672c\u7684\u6837\u5f0f\uff0c\u652f\u6301\u989c\u8272\u3001\u63cf\u8fb9\u3001\u4e0b\u5212\u7ebf\u3001\u659c\u4f53\u7b49\u6548\u679c\u3002\u652f\u6301\u5d4c\u5957\u4f7f\u7528\uff0c\u5d4c\u5957\u65f6\u5185\u5c42\u6837\u5f0f\u72ec\u7acb\u4e8e\u5916\u5c42\uff0c\u4e0d\u4f1a\u88ab\u7236\u7ea7\u6837\u5f0f\u5f71\u54cd\u3002  == \u53c2\u6570\u8bf4\u660e == {| class=\"wikitable\" ! \u53c2\u6570\u540d !! \u7c7b\u578b !! \u8bf4\u660e |- | <code>1</code> || \u4f4d\u7f6e\u53c2\u6570 || \u6587\u672c\u5185\u5bb9 |- | <code>\u989c\u8272</code> || \u547d\u540d\u53c2\u6570 || \u6587\u672c\u989c\u8272\uff0c\u652f\u6301\u9884\u8bbe\u989c\u8272\u540d\u6216\u5341\u516d\u8fdb\u5236\u989c\u8272\u7801 |- | <code>\u63cf\u8fb9</code> ||\u2026\u201d"
            },
            {
                "logid": 12,
                "ns": 10,
                "title": "\u6a21\u677f:\u6587\u672c",
                "pageid": 10,
                "logpage": 10,
                "revid": 12,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u5f8bRhyme",
                "timestamp": "2026-08-01T08:11:27Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<includeonly><templatestyles src=\"\u6587\u672c/styles.css\" />{{#invoke:\u6587\u672c|main}}</includeonly><noinclude>{{Path|\u6a21\u677f}}{{Doc}}[[\u5206\u7c7b:\u6a21\u677f]]</noinclude>\u201d"
            }
        ]
    }
}