MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20240528100648|129",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 139,
                "ns": 0,
                "title": "\u5f00\u6e90\u60c5\u62a5",
                "pageid": 118,
                "logpage": 118,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Chen",
                "timestamp": "2024-10-13T13:05:11Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201ctest\u201d"
            },
            {
                "logid": 138,
                "ns": 0,
                "title": "\u57ce\u53e3\u590d\u5174\u8857\u9053\u89c2\u97f3\u580288\u53f7, \u4e2d\u56fd",
                "pageid": 117,
                "logpage": 117,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Chen",
                "timestamp": "2024-05-28T10:38:26Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c{{#display_map:31.945798,108.669309~\u851a\u5f95\u9152\u5e97(\u91cd\u5e86\u57ce\u53e3\u5ba2\u8fd0\u4e2d\u5fc3\u7ad9\u5e97)}}\u201d"
            },
            {
                "logid": 137,
                "ns": 6,
                "title": "\u6587\u4ef6:\u851a\u5f95\u9152\u5e97(\u91cd\u5e86\u57ce\u53e3\u5ba2\u8fd0\u4e2d\u5fc3\u7ad9\u5e97).jpg",
                "pageid": 116,
                "logpage": 116,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Chen",
                "timestamp": "2024-05-28T10:35:56Z",
                "comment": ""
            },
            {
                "logid": 136,
                "ns": 6,
                "title": "\u6587\u4ef6:\u851a\u5f95\u9152\u5e97(\u91cd\u5e86\u57ce\u53e3\u5ba2\u8fd0\u4e2d\u5fc3\u7ad9\u5e97).jpg",
                "pageid": 116,
                "logpage": 116,
                "params": {
                    "img_sha1": "lxdgrclyr6cineyap07rskr5ro12chn",
                    "img_timestamp": "2024-05-28T10:35:56Z"
                },
                "type": "upload",
                "action": "upload",
                "user": "Chen",
                "timestamp": "2024-05-28T10:35:56Z",
                "comment": ""
            },
            {
                "logid": 135,
                "ns": 0,
                "title": "\u57ce\u53e3\u7ea2\u8272\u666f\u70b9/\u5468\u8fb9\u4f4f\u5bbf/\u851a\u5f95\u9152\u5e97(\u91cd\u5e86\u57ce\u53e3\u5ba2\u8fd0\u4e2d\u5fc3\u7ad9\u5e97)",
                "pageid": 115,
                "logpage": 115,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Chen",
                "timestamp": "2024-05-28T10:29:20Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c{{\u57ce\u53e3\u4f4f\u5bbf |\u540d\u79f0=\u851a\u5f95\u9152\u5e97(\u91cd\u5e86\u57ce\u53e3\u5ba2\u8fd0\u4e2d\u5fc3\u7ad9\u5e97) |\u5f00\u4e1a\u65f6\u95f4=2020 |\u5730\u5740=\u57ce\u53e3\u590d\u5174\u8857\u9053\u89c2\u97f3\u580288\u53f7, \u4e2d\u56fd |\u5ba2\u623f\u6570=71 |\u7535\u8bdd\u53f7\u7801=+86-23-59227666 |\u7b80\u4ecb=\u4f4d\u4e8e\u91cd\u5e86\u5e02\u57ce\u53e3\u53bf\u590d\u5174\u8857\u9053\u5ba2\u8fd0\u4e2d\u5fc3\uff0c\u9152\u5e97\u79bb\u4ea2\u8c37\u666f\u533a\u7ea638km\uff0c\u79bb\u571f\u57ce\u7ea61.5 km\u662f\u4e8e\u5403\u559d\u73a9\u4e8e\u4e00\u4f53\u5730\u65b9\uff0c\u51fa\u884c\u65b9\u4fbf\uff0c\u9152\u5e97\u6709\u5f97\u5929\u72ec\u539a\u7684\u5730\u7406\u73af\u5883\uff0c\u5929\u7136\u6c27\u5427\uff0c\u4e5f\u662f\u590f\u5b63\u907f\u6691\u3001\u51ac\u5b63\u89c2\u96ea\u7684\u5723\u5730\u3002\u9152\u5e97\u670970\u4f59\u95f4\u5ba2\u623f\uff0c\u9910\u2026\u201d"
            },
            {
                "logid": 134,
                "ns": 0,
                "title": "\u57ce\u53e3\u7ea2\u8272\u666f\u70b9/\u5468\u8fb9\u4f4f\u5bbf",
                "pageid": 114,
                "logpage": 114,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Chen",
                "timestamp": "2024-05-28T10:27:25Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c{{#ask: [[\u5206\u7c7b:\u4f4f\u5bbf]] |format=map |?Name |?\u5730\u5740 |?\u7535\u8bdd\u53f7\u7801 |?\u7ecf\u7eac\u5ea6 |template=\u5730\u56fe\u5c0f\u7a97\uff08\u4f4f\u5bbf\uff09 |cluster=yes |resizable=yes |fullscreen=yes |height=700 |limit=500 }}\u201d"
            },
            {
                "logid": 133,
                "ns": 14,
                "title": "\u5206\u7c7b:\u57ce\u53e3\u4f4f\u5bbf",
                "pageid": 113,
                "logpage": 113,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Chen",
                "timestamp": "2024-05-28T10:27:01Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c{{#default_form:}}  [[\u5206\u7c7b:\u4f4f\u5bbf]]\u201d"
            },
            {
                "logid": 132,
                "ns": 10,
                "title": "\u6a21\u677f:\u5730\u56fe\u5c0f\u7a97\uff08\u57ce\u53e3\u4f4f\u5bbf\uff09",
                "pageid": 112,
                "logpage": 112,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Chen",
                "timestamp": "2024-05-28T10:21:42Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<noinclude> {{#template_params:}} </noinclude><includeonly>{{#ask:[[Age::{{SUBJECTPAGENAME}}]]|format=list}} </includeonly>\u201d"
            },
            {
                "logid": 131,
                "ns": 10,
                "title": "\u6a21\u677f:\u57ce\u53e3\u4f4f\u5bbf",
                "pageid": 111,
                "logpage": 111,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Chen",
                "timestamp": "2024-05-28T10:10:26Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<noinclude> {{#template_params:\u540d\u79f0 (label=\u9152\u5e97\u540d\u79f0;property=Name)|\u5f00\u4e1a\u65f6\u95f4 (property=\u5f00\u4e1a\u65f6\u95f4)|\u5ba2\u623f\u6570 (property=\u5ba2\u623f\u6570)|\u7535\u8bdd\u53f7\u7801 (property=\u7535\u8bdd\u53f7\u7801)|\u7b80\u4ecb (property=\u7b80\u4ecb)}} </noinclude><includeonly>[[Name::{{{\u540d\u79f0|}}}]] [[\u5f00\u4e1a\u65f6\u95f4::{{{\u5f00\u4e1a\u65f6\u95f4|}}}]] [[\u5ba2\u623f\u6570::{{{\u5ba2\u623f\u6570|}}}]] [[\u7535\u8bdd\u53f7\u7801::{{{\u7535\u8bdd\u53f7\u7801|}}}]] [[\u7b80\u4ecb::{{{\u7b80\u4ecb|}}}]] {{#ask:[[\u4f4f\u5bbf::{{SUBJECTPAGENAME}}]]|format=list}}  [[\u5206\u7c7b:\u4f4f\u5bbf]] </inc\u2026\u201d"
            },
            {
                "logid": 130,
                "ns": 102,
                "title": "\u5c5e\u6027:\u4f4f\u5bbf",
                "pageid": 110,
                "logpage": 110,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Chen",
                "timestamp": "2024-05-28T10:09:24Z",
                "comment": "\u521b\u5efa\u9875\u9762\u578b\u7c7b\u578b\u7684\u5c5e\u6027"
            }
        ]
    }
}