MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20260820053510|20",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 30,
                "ns": 0,
                "title": "Sqlite3",
                "pageid": 22,
                "logpage": 22,
                "revid": 49,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "SkimrMe",
                "timestamp": "2026-08-21T14:50:40Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201cSqlite3\u662f\u4e00\u4e2a\u65b9\u4fbf\u7684\u672c\u5730\u6587\u4ef6\u5b58\u50a8\u7684\u5173\u7cfb\u578b\u6570\u636e\u5e93 <br> \u4f18\u70b9\u662f\u5c0f\u5de7\u8f7b\u91cf\uff0c\u5e76\u4e14\u88ab\u4e3b\u6d41\u7a0b\u5e8f\u6240\u63a5\u53d7  [[Category: linux]] [[Category: \u6570\u636e\u5e93]]\u201d"
            },
            {
                "logid": 29,
                "ns": 0,
                "title": "Nginx\u914d\u7f6e",
                "pageid": 21,
                "logpage": 21,
                "revid": 44,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "SkimrMe",
                "timestamp": "2026-08-21T13:49:34Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\u6211\u73b0\u5728\u7684\u7cfb\u7edf\u662fDebian13\uff0c\u6240\u4ee5\u63a5\u4e0b\u6765\u4f1a\u4ee5 \"apt\" \u4f5c\u4e3a\u5305\u7ba1\u7406\u5668\u5de5\u5177  \u9996\u5148\u4e0b\u8f7dnginx <br> \u8f93\u5165<code>apt install nginx -y</code>  \u5b89\u88c5\u597d\u4e86\uff0c\u6211\u4eec\u6253\u5f00 \"/etc/nginx\" \u6587\u4ef6\u5939 <br> \u6211\u4e2a\u4eba\u5efa\u8bae\u6ce8\u91ca\u6389\u5f53\u524d\u76ee\u5f55\u4e0b \"sites-enable/default\"\u6587\u4ef6\u91cc\u9762\u7684\u5168\u90e8\u5185\u5bb9\uff0c\u8fd9\u6837\u4f1a\u6bd4\u8f83\u5e72\u51c0  \u7136\u540e\u518d\u5efa\u7acb\u540d\u4e3a \"service\" \u7684\u6587\u4ef6 <br> \u5f80\u91cc\u9762\u5199\u5165    server {     listen: 80;     servername: _;     index index.html index.htm ind\u2026\u201d"
            },
            {
                "logid": 28,
                "ns": 0,
                "title": "Docker",
                "pageid": 20,
                "logpage": 20,
                "revid": 43,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "SkimrMe",
                "timestamp": "2026-08-21T08:25:19Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201cdocker\u662f\u4e00\u4e2a\u5bb9\u5668\u5316\u7684\u8f6f\u4ef6\uff0c\u975e\u5e38\u65b9\u4fbf\u4f7f\u7528  [[Category: linux]]\u201d"
            },
            {
                "logid": 27,
                "ns": 0,
                "title": "Chmod",
                "pageid": 19,
                "logpage": 19,
                "revid": 41,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "SkimrMe",
                "timestamp": "2026-08-21T07:43:10Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\"chmod\"\u662f\u4e00\u4e2a\u7528\u6765\u67e5\u8be2linux\u8bbe\u7f6e\u6743\u9650\u7684\u547d\u4ee4 <br> \u6bd4\u65b9\u8bf4 <code> chmod kami:kami /home/kami/files </code>   [[Category:Linux]] [[Category:\u547d\u4ee4]] [[Category:\u8bb0\u5f55]]\u201d"
            },
            {
                "logid": 26,
                "ns": 0,
                "title": "Lsof",
                "pageid": 18,
                "logpage": 18,
                "revid": 40,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "SkimrMe",
                "timestamp": "2026-08-21T05:56:00Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\"lsof\"\u662f\u4e00\u4e2a\u7528\u6765\u67e5\u8be2linux\u7aef\u53e3\u7684\u547d\u4ee4 <br> \u6bd4\u65b9\u8bf4 <code> lsof -i :80 </code>   [[Category:Linux]] [[Category:\u547d\u4ee4]] [[Category:\u8bb0\u5f55]]\u201d"
            },
            {
                "logid": 25,
                "ns": 0,
                "title": "PHP\u914d\u7f6e",
                "pageid": 17,
                "logpage": 17,
                "revid": 37,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "SkimrMe",
                "timestamp": "2026-08-20T16:42:30Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\u8bb0\u5f55\u4ece\u96f6\u5f00\u59cb\u914d\u7f6ePHP\u73af\u5883 <br> \u76ee\u524d\u57fa\u4e8eDebian13\u865a\u62df\u673a\uff0c\u521a\u521a\u5b89\u88c5\u597d\u7684\u6ca1\u6709\u56fe\u5f62\u5316\u754c\u9762\uff0c\u6267\u884c\u4e86\u547d\u4ee4 <br> <code>apt upgrade -y && apt install vim -y</code>   [[Category:php]] [[Category:\u8bb0\u5f55]]\u201d"
            },
            {
                "logid": 24,
                "ns": 2,
                "title": "\u7528\u6237:Kami",
                "pageid": 14,
                "logpage": 14,
                "params": {
                    "curid": 26,
                    "previd": 0
                },
                "type": "patrol",
                "action": "patrol",
                "user": "SkimrMe",
                "timestamp": "2026-08-20T08:14:11Z",
                "comment": ""
            },
            {
                "logid": 23,
                "ns": 2,
                "title": "\u7528\u6237:Kami",
                "pageid": 14,
                "logpage": 14,
                "params": {
                    "duration": "infinity",
                    "flags": [
                        "nocreate",
                        "noautoblock",
                        "noemail",
                        "nousertalk"
                    ],
                    "blockId": 1,
                    "sitewide": "",
                    "duration-l10n": "\u65e0\u9650\u671f"
                },
                "type": "block",
                "action": "block",
                "user": "SkimrMe",
                "timestamp": "2026-08-20T08:13:50Z",
                "comment": "\u65e0\u793c\u7684\u884c\u4e3a\u3001\u653b\u51fb/\u9a9a\u6270\u4ed6\u4eba"
            },
            {
                "logid": 22,
                "ns": 0,
                "title": "Badserver",
                "pageid": 16,
                "logpage": 16,
                "revid": 28,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "SkimrMe",
                "timestamp": "2026-08-20T07:41:31Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201cbadserver\u662f\u6211\u7684\u4e16\u754c\u670d\u52a1\u5668 <br> \u670d\u52a1\u5668\u5730\u5740\u662f  '' frp.ww3.tw ''\u201d"
            },
            {
                "logid": 21,
                "ns": 0,
                "title": "Jm download python",
                "pageid": 15,
                "logpage": 15,
                "revid": 27,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "SkimrMe",
                "timestamp": "2026-08-20T05:39:23Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201cjm_download_python\u201d"
            }
        ]
    }
}