MediaWiki API 結果

這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。

指定format參數以變更輸出格式。要查看JSON格式的非HTML實現,設定format=json

參見完整文件,或API說明以取得更多資訊。

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20260919131840|8",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 18,
                "ns": 0,
                "title": "\u65e5\u8a8c/2026\u5e74/09\u6708/21\u65e5",
                "pageid": 11,
                "logpage": 11,
                "revid": 63,
                "params": {
                    "description": "\u200e[edit=sysop] (\u7121\u9650\u671f)\u200e[move=sysop] (\u7121\u9650\u671f)",
                    "details": [
                        {
                            "type": "edit",
                            "level": "sysop",
                            "expiry": "infinite"
                        },
                        {
                            "type": "move",
                            "level": "sysop",
                            "expiry": "infinite"
                        }
                    ]
                },
                "type": "protect",
                "action": "protect",
                "user": "BraveYe",
                "timestamp": "2026-09-20T06:43:50Z",
                "comment": ""
            },
            {
                "logid": 17,
                "ns": 0,
                "title": "\u65e5\u8a8c/2026\u5e74/09\u6708/21\u65e5",
                "pageid": 11,
                "logpage": 11,
                "revid": 61,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "BraveYe",
                "timestamp": "2026-09-20T06:43:21Z",
                "comment": "\u5efa\u7acb\u5167\u5bb9\u70ba\u300cThere'll Be Sad Songs (To Make You Cry) - Billy Ocean (\u6bd4\u5229\u6b50\u8f9b) #KKBOX  https://www.kkbox.com/tw/tc/song/HaWBpaFVE8K3beOrj_\u300d\u7684\u65b0\u9801\u9762"
            },
            {
                "logid": 16,
                "ns": 0,
                "title": "\u65e5\u8a8c/2026\u5e74/09\u6708/20\u65e5",
                "pageid": 10,
                "logpage": 10,
                "revid": 57,
                "params": {
                    "description": "\u200e[edit=sysop] (\u7121\u9650\u671f)\u200e[move=sysop] (\u7121\u9650\u671f)",
                    "details": [
                        {
                            "type": "edit",
                            "level": "sysop",
                            "expiry": "infinite"
                        },
                        {
                            "type": "move",
                            "level": "sysop",
                            "expiry": "infinite"
                        }
                    ]
                },
                "type": "protect",
                "action": "protect",
                "user": "BraveYe",
                "timestamp": "2026-09-20T06:22:14Z",
                "comment": ""
            },
            {
                "logid": 15,
                "ns": 0,
                "title": "\u65e5\u8a8c/2026\u5e74/09\u6708/20\u65e5",
                "pageid": 10,
                "logpage": 10,
                "revid": 55,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "110.28.120.57",
                "anon": "",
                "timestamp": "2026-09-19T21:10:03Z",
                "comment": "\u5efa\u7acb\u5167\u5bb9\u70ba\u300cServes You Right - Lionel Richie  https://www.kkbox.com/tw/tc/song/SpKMUw8c1sYnpSz34i\u300d\u7684\u65b0\u9801\u9762"
            },
            {
                "logid": 14,
                "ns": 10,
                "title": "\u6a21\u677f:Today",
                "pageid": 9,
                "logpage": 9,
                "revid": 54,
                "params": {
                    "description": "\u200e[edit=sysop] (\u7121\u9650\u671f)\u200e[move=sysop] (\u7121\u9650\u671f)",
                    "details": [
                        {
                            "type": "edit",
                            "level": "sysop",
                            "expiry": "infinite"
                        },
                        {
                            "type": "move",
                            "level": "sysop",
                            "expiry": "infinite"
                        }
                    ]
                },
                "type": "protect",
                "action": "protect",
                "user": "BraveYe",
                "timestamp": "2026-09-19T17:56:55Z",
                "comment": ""
            },
            {
                "logid": 13,
                "ns": 8,
                "title": "MediaWiki:Common.js",
                "pageid": 8,
                "logpage": 8,
                "revid": 48,
                "params": {
                    "description": "\u200e[edit=sysop] (\u7121\u9650\u671f)\u200e[move=sysop] (\u7121\u9650\u671f)",
                    "details": [
                        {
                            "type": "edit",
                            "level": "sysop",
                            "expiry": "infinite"
                        },
                        {
                            "type": "move",
                            "level": "sysop",
                            "expiry": "infinite"
                        }
                    ]
                },
                "type": "protect",
                "action": "protect",
                "user": "BraveYe",
                "timestamp": "2026-09-19T17:25:25Z",
                "comment": ""
            },
            {
                "logid": 12,
                "ns": 10,
                "title": "\u6a21\u677f:Today",
                "pageid": 9,
                "logpage": 9,
                "revid": 46,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "BraveYe",
                "timestamp": "2026-09-19T17:21:49Z",
                "comment": "\u5efa\u7acb\u5167\u5bb9\u70ba\u300c{{CURRENTDAY}}\u300d\u7684\u65b0\u9801\u9762"
            },
            {
                "logid": 11,
                "ns": 8,
                "title": "MediaWiki:Common.js",
                "pageid": 8,
                "logpage": 8,
                "revid": 45,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "BraveYe",
                "timestamp": "2026-09-19T17:14:51Z",
                "comment": "\u5efa\u7acb\u5167\u5bb9\u70ba\u300c// <![CDATA[ (function() {     // \u4ec5\u5728\u5305\u542b inputbox \u7684\u9875\u9762\u6267\u884c\uff0c\u907f\u514d\u5168\u7ad9\u6027\u80fd\u635f\u8017     var inputBox = document.querySelector('.mw-inputbox');     if (!inputBox) return;      var today = new Date();     var day = today.getDate();     var month = (today.getMonth() + 1).toString().padStart(2, '0');     var year = today.getFullYear();      // \u7cbe\u51c6\u5b9a\u4f4d InputBox \u751f\u6210\u7684\u8f93\u5165\u6846     var targetInput = inputBox.querySelector('input[type=\"text\"]\u2026\u300d\u7684\u65b0\u9801\u9762"
            },
            {
                "logid": 10,
                "ns": 0,
                "title": "\u65e5\u8a8c/2026\u5e74/09\u6708/19\u65e5",
                "pageid": 5,
                "logpage": 5,
                "revid": 41,
                "params": {
                    "description": "\u200e[edit=sysop] (\u7121\u9650\u671f)\u200e[move=sysop] (\u7121\u9650\u671f)",
                    "details": [
                        {
                            "type": "edit",
                            "level": "sysop",
                            "expiry": "infinite"
                        },
                        {
                            "type": "move",
                            "level": "sysop",
                            "expiry": "infinite"
                        }
                    ]
                },
                "type": "protect",
                "action": "protect",
                "user": "BraveYe",
                "timestamp": "2026-09-19T13:46:13Z",
                "comment": ""
            },
            {
                "logid": 9,
                "ns": 8,
                "title": "MediaWiki:Sidebar",
                "pageid": 7,
                "logpage": 7,
                "revid": 40,
                "params": {
                    "description": "\u200e[edit=sysop] (\u7121\u9650\u671f)",
                    "details": [
                        {
                            "type": "edit",
                            "level": "sysop",
                            "expiry": "infinite"
                        }
                    ]
                },
                "type": "protect",
                "action": "protect",
                "user": "BraveYe",
                "timestamp": "2026-09-19T13:18:56Z",
                "comment": ""
            }
        ]
    }
}