MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20260130035038|4",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 14,
                "ns": 0,
                "title": "33OJ\u8bc4\u6d4b\u673a",
                "pageid": 9,
                "logpage": 9,
                "revid": 26,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "33DAI",
                "timestamp": "2026-01-31T01:12:52Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c==\u5f53\u524d\u8bc4\u6d4b\u673a==  \u7269\u7406\u8bc4\u6d4b\u673ax3  * \u914d\u7f6e\uff1aIntel Core\u2122 i3-8100@3.6GHz\uff08[https://polygon.codeforces.com CodeForces Polygon] \u540c\u6b3e\uff09\u30017 GiB \u5185\u5b58\u3001\u53cc\u7ebf\u7a0b\u8bc4\u6d4b * \u64cd\u4f5c\u7cfb\u7edf\uff1aNOI Linux 2.0  ==\u5347\u7ea7\u8def\u7ebf\u56fe==  * 2025 \u5e74 3 \u6708 1 \u65e5\u524d\uff1a\u817e\u8baf\u4e91 S5\uff08Intel 8255C@2.5GHz\uff09 * 2025 \u5e74 3 \u6708 1 \u65e5\uff1a\u817e\u8baf\u4e91  SA4\uff08AMD EPYC 9K84@3.7GHz\uff09 * 2025 \u5e74 10 \u6708 26 \u65e5\uff1aCF Polygon \u540c\u6b3e\u8bc4\u6d4b\u673a\u5668\uff08Intel Core\u2122 i3-8100@3.6GHz\uff09\u201d"
            },
            {
                "logid": 13,
                "ns": 0,
                "title": "\u5e38\u7528\u811a\u672c",
                "pageid": 8,
                "logpage": 8,
                "revid": 25,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "33DAI",
                "timestamp": "2026-01-31T01:10:10Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c==\u7f16\u8bd1\u6307\u4ee4==  ===Windows===  Windows \u4fee\u6539\u8bed\u8a00\u6807\u51c6\u53ca\u5f00\u6808\u7f16\u8bd1\u547d\u4ee4\u4e3a -std=c++14  -O2 -Wl,--stack=1073741824  \u5176\u4e2d -Wl,--stack=1073741824 \u5728\u67d0\u4e9b\u573a\u666f\u53ef\u80fd\u9700\u8981\u53cc\u5f15\u53f7\u62ec\u8d77\u6765\u3002  ===Linux===  Linux \u5f53\u524d\u4f1a\u8bdd\u5f00\u6808\u547d\u4ee4\u4e3a ulimit -s unlimited  \u53ef\u4ee5\u7528 ulimit -s \u67e5\u770b\u6808\u7a7a\u95f4\u5927\u5c0f\u3002  ==\u4fdd\u7559 x \u4f4d\u5c0f\u6570==  \u4fdd\u7559 3 \u4f4d\u5c0f\u6570 << fixed << setprecision(3) <<\u201d"
            },
            {
                "logid": 12,
                "ns": 14,
                "title": "\u5206\u7c7b:\u4ee3\u7801\u6a21\u677f",
                "pageid": 7,
                "logpage": 7,
                "revid": 22,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "33DAI",
                "timestamp": "2026-01-30T06:42:18Z",
                "comment": "\u521b\u5efa\u7a7a\u767d\u9875\u9762"
            },
            {
                "logid": 11,
                "ns": 0,
                "title": "\u9ad8\u7cbe\u5ea6\u6a21\u677f",
                "pageid": 6,
                "logpage": 6,
                "revid": 13,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "33DAI",
                "timestamp": "2026-01-30T06:25:32Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<syntaxhighlight lang=\"cpp\" inline>   </syntaxhighlight>  ==\u5c01\u88c5\u597d\u7684\u7ed3\u6784\u4f53==  \u5b9e\u73b0\u7684\u5185\u5bb9\uff1a  * <syntaxhighlight lang=\"cpp\" inline>BigIntTiny a;</syntaxhighlight>\uff1a\u5b9a\u4e49\u4e86\u4e00\u4e2a\u5927\u6574\u6570\u53d8\u91cf <syntaxhighlight lang=\"cpp\" inline>a</syntaxhighlight>\uff0c\u4f1a\u81ea\u52a8\u521d\u59cb\u5316\u4e3a $0$  * <syntaxhighlight lang=\"cpp\" inline>BigIntTiny a = 33;</syntaxhighlight>\uff1a\u901a\u8fc7\u4e00\u4e2a <syntaxhighlight lang=\"cpp\" inline>int</syntaxhighlight> \u7c7b\u578b\u7684\u503c\u521d\u59cb\u5316\u3002 * <\u2026\u201d"
            },
            {
                "logid": 10,
                "ns": 10,
                "title": "\u6a21\u677f:NavBox",
                "pageid": 5,
                "logpage": 5,
                "revid": 5,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "33DAI",
                "timestamp": "2026-01-30T05:49:48Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<div class=\"nav-box\">   <div class=\"nav-header\" style=\"background-color: {{{color|#3b5998}}};\">     <span class=\"nav-icon\">{{{icon|\ud83d\udd17}}}</span> {{{title}}}   </div>   <div class=\"nav-content\">     {{{content}}}   </div> </div>\u201d"
            },
            {
                "logid": 9,
                "ns": 0,
                "title": "\u6d4b\u8bd5",
                "pageid": 4,
                "logpage": 4,
                "revid": 4,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "33DAI",
                "timestamp": "2026-01-30T04:21:29Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c == \u6570\u5b66\u516c\u5f0f ==  <math>E=mc^2</math>  <math>\\sum_{i=1}^n i = \\frac{n(n+1)}{2}</math>\u201d"
            },
            {
                "logid": 8,
                "ns": 0,
                "title": "\u793a\u4f8b\u9875\u9762",
                "pageid": 3,
                "logpage": 3,
                "revid": 3,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "33DAI",
                "timestamp": "2026-01-30T04:11:30Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c== \u4ee3\u7801\u7247\u6bb5 ==  <syntaxhighlight lang=\"python\" line> def hello_world():     print(\"Hello World!\") </syntaxhighlight>  <syntaxhighlight lang=\"cpp\" line highlight=\"5\"> #include <bits/stdc++.h> using namespace std; int main() {     cout << \"Hello World!\";     return 0; } </syntaxhighlight>  * lang: \u6307\u5b9a\u8bed\u8a00\uff08\u5982 php, python, javascript, cpp, html, css \u7b49\uff09\u3002 * line: \u5f00\u542f\u884c\u53f7\u663e\u793a\u3002 * start: \u6307\u5b9a\u8d77\u59cb\u884c\u53f7\uff08\u4f8b\u5982 start=\"50\"\uff09\u3002 * highlight\u2026\u201d"
            },
            {
                "logid": 7,
                "ns": 2,
                "title": "\u7528\u6237:Chan",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 7
                },
                "type": "newusers",
                "action": "create",
                "user": "Chan",
                "timestamp": "2026-01-30T03:55:55Z",
                "comment": ""
            },
            {
                "logid": 6,
                "ns": 2,
                "title": "\u7528\u6237:Moeyezi",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 6
                },
                "type": "newusers",
                "action": "create",
                "user": "Moeyezi",
                "timestamp": "2026-01-30T03:52:05Z",
                "comment": ""
            },
            {
                "logid": 5,
                "ns": 2,
                "title": "\u7528\u6237:Coco.",
                "pageid": 0,
                "logpage": 0,
                "params": {
                    "userid": 5
                },
                "type": "newusers",
                "action": "create",
                "user": "Coco.",
                "timestamp": "2026-01-30T03:51:27Z",
                "comment": ""
            }
        ]
    }
}