MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20260105160804|491",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 501,
                "ns": 0,
                "title": "Cadquery",
                "pageid": 432,
                "logpage": 432,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Eric",
                "timestamp": "2026-04-02T00:45:56Z",
                "comment": "\u91cd\u5b9a\u5411\u9875\u9762\u81f3[[CadQuery]]"
            },
            {
                "logid": 500,
                "ns": 0,
                "title": "CadQuery",
                "pageid": 431,
                "logpage": 431,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Eric",
                "timestamp": "2026-04-01T13:43:05Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201cCadQuery \u662f\u4e00\u4e2a\u57fa\u4e8e [[Python]] \u7684\u53c2\u6570\u5316 3D CAD \u5e93\uff0c\u5e95\u5c42\u4f7f\u7528 OpenCascade\uff08OCCT\uff09\u5185\u6838\u3002\u652f\u6301\u8f93\u51faSTL\u3001STEP\u3001AMF\u548c3MF\u7684CAD\u683c\u5f0f\u3002  ==\u7b80\u4ecb== ===\u65f6\u95f4\u8f74===  ==\u5feb\u901f\u5165\u95e8==  ==API \u53c2\u8003==  ==\u8d44\u6e90== ===\u5b98\u7f51===  ===\u7f51\u7ad9===\u201d"
            },
            {
                "logid": 499,
                "ns": 0,
                "title": "Openscad",
                "pageid": 430,
                "logpage": 430,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Eric",
                "timestamp": "2026-03-23T01:16:45Z",
                "comment": "\u91cd\u5b9a\u5411\u9875\u9762\u81f3[[OpenSCAD]]"
            },
            {
                "logid": 498,
                "ns": 0,
                "title": "OpenSCAD",
                "pageid": 429,
                "logpage": 429,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Eric",
                "timestamp": "2026-03-23T01:14:29Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c==\u7b80\u4ecb== ===\u65f6\u95f4\u8f74===  ==\u5feb\u901f\u5165\u95e8==  == \u901f\u67e5\u8868\u683c == === \u8bed\u6cd5 === {| class=\"wikitable\" ! \u5185\u5bb9 !! \u63cf\u8ff0 !! \u793a\u4f8b |- | <code>var = value;</code> || \u53d8\u91cf\u8d4b\u503c || <code>size = 10;</code> |- | <code>var = cond ? value_if_true : value_if_false;</code> || \u6761\u4ef6\u8d4b\u503c || <code>result = (x > 5) ? \"large\" : \"small\";</code> |- | <code>var = function (x) x + x;</code> || \u533f\u540d\u51fd\u6570 || <code>double = function (x) x * 2;</code> |- | <code>module name(\u2026\u201d"
            },
            {
                "logid": 497,
                "ns": 0,
                "title": "Opencode",
                "pageid": 428,
                "logpage": 428,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Eric",
                "timestamp": "2026-01-27T04:02:17Z",
                "comment": "\u91cd\u5b9a\u5411\u9875\u9762\u81f3[[OpenCode]]"
            },
            {
                "logid": 496,
                "ns": 0,
                "title": "KVM",
                "pageid": 427,
                "logpage": 427,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Eric",
                "timestamp": "2026-01-21T05:48:46Z",
                "comment": "\u91cd\u5b9a\u5411\u9875\u9762\u81f3[[KVM\u865a\u62df\u673a]]"
            },
            {
                "logid": 495,
                "ns": 0,
                "title": "\u6398\u91d1\u91cf\u5316",
                "pageid": 426,
                "logpage": 426,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Eric",
                "timestamp": "2026-01-20T12:17:29Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c ==Python SDK== #\u5b89\u88c5\u8f6f\u4ef6\u5305\uff0c<code><nowiki>python.exe -m pip install gm -U -i https://mirrors.aliyun.com/pypi/simple/</nowiki></code>  #\u83b7\u53d6token\uff0c\u5b89\u88c5\u6398\u91d1\u7ec8\u7aef\uff0c\u767b\u5f55\u8d26\u53f7\u540e\uff0c\u5728\u7cfb\u7edf\u8bbe\u7f6e\uff0c\u53ef\u4ee5\u67e5\u770b\u548c\u91cd\u65b0\u751f\u6210token\u3002 #\u6d4b\u8bd5 <syntaxhighlight lang=\"python\" > import gm.api as gm  gm.set_token(\"xxxxxxxx\")  # \u83b7\u53d6\u5386\u53f2K\u7ebf\u793a\u4f8b history = gm.history(     symbol='SHFE.rb2405',     frequency='1d',  # \u65e5\u7ebf     start_time='2023-01-0\u2026\u201d"
            },
            {
                "logid": 494,
                "ns": 0,
                "title": "OpenCode",
                "pageid": 425,
                "logpage": 425,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Eric",
                "timestamp": "2026-01-08T01:12:31Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201cOpenCode\u662f\u4e00\u4e2a\u5f00\u6e90\u7684AI\u4ee3\u7406\u7f16\u7a0b\u5de5\u5177\u3002  ==\u7b80\u4ecb== ===\u65f6\u95f4\u8f74===  ==\u5b89\u88c5==  *https://opencode.ai/docs#install *https://opencode.ai/download *https://github.com/anomalyco/opencode/releases  ==\u5feb\u901f\u5165\u95e8==  ==\u8d44\u6e90== ===\u5b98\u7f51=== https://opencode.ai/ https://github.com/anomalyco/opencode  ===\u7f51\u7ad9===\u201d"
            },
            {
                "logid": 493,
                "ns": 0,
                "title": "AI\u7f16\u7a0b",
                "pageid": 424,
                "logpage": 424,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Eric",
                "timestamp": "2026-01-08T00:47:50Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201cAI\u7f16\u7a0b\u662f\u5229\u7528[[AI]]\u6280\u672f\u6765\u81ea\u52a8\u751f\u6210\u3001\u8865\u5168\u3001\u4f18\u5316\u4ee3\u7801\uff0c\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\u3002  ==\u5de5\u5177== ===AI\u4ee3\u7801\u8865\u5168\u4e0e\u4ee3\u7801\u52a9\u624b=== *GitHub Copilot Tabnine *Codeium  ===AI IDEs=== * Cursor * Trae AI IDE  ===AI \u7f16\u7801\u4ee3\u7406=== * [[Claude Code]]  == \u7f16\u7a0b\u5927\u6a21\u578b == * [[Claude]]  * [[ChatGPT]] * [[DeepSeek]] * Qwen * Gemini\u201d"
            },
            {
                "logid": 492,
                "ns": 0,
                "title": "Claude Code",
                "pageid": 423,
                "logpage": 423,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Eric",
                "timestamp": "2026-01-08T00:39:37Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201cClaude Code \u662fAnthropic\u5f00\u53d1\u7684\u7684\u4ee3\u7406\u7f16\u7801\u5de5\u5177\u3002  ==\u7b80\u4ecb== ===\u65f6\u95f4\u8f74===  == \u5b89\u88c5 ==   https://code.claude.com/docs/zh-CN/overview#windows  ==\u5feb\u901f\u5165\u95e8==  ==\u8d44\u6e90== ===\u5b98\u7f51===  ===\u7f51\u7ad9=== https://github.com/anthropics/claude-code\u201d"
            }
        ]
    }
}