MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "lecontinue": "20260404060217|5",
        "continue": "-||"
    },
    "query": {
        "logevents": [
            {
                "logid": 15,
                "ns": 8,
                "title": "MediaWiki:Common.js",
                "pageid": 15,
                "logpage": 15,
                "revid": 15,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u6c49\u5b9d",
                "timestamp": "2026-04-04T09:47:37Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c/* \u8fd9\u91cc\u7684\u4efb\u4f55JavaScript\u5c06\u4e3a\u6240\u6709\u7528\u6237\u5728\u6bcf\u6b21\u9875\u9762\u8f7d\u5165\u65f6\u52a0\u8f7d\u3002 */  /* Baidu Autopush */ (function(){     var bp = document.createElement('script');     var curProtocol = window.location.protocol.split(':')[0];     if (curProtocol === 'https') {         bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';     }     else {         bp.src = 'http://push.zhanzhang.baidu.com/push.js';     }     var s = document.getElementsByTagName(\"script\")[0];\u2026\u201d"
            },
            {
                "logid": 14,
                "ns": 8,
                "title": "MediaWiki:Sidebar",
                "pageid": 14,
                "logpage": 14,
                "revid": 14,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u6c49\u5b9d",
                "timestamp": "2026-04-04T06:19:55Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c* navigation ** Category:\u6587\u7269|\u6587\u7269 ** Category:\u5893\u846c|\u5893\u846c ** Category:\u673a\u6784|\u673a\u6784 ** Category:\u672f\u8bed|\u672f\u8bed * \u5bfc\u822a ** mainpage|mainpage-description ** recentchanges-url|recentchanges ** randompage-url|randompage ** Special:\u7edf\u8ba1\u4fe1\u606f|\u7edf\u8ba1 ** Special:\u7248\u672c|\u7248\u672c ** Category:\u6c49\u670d\u5b9d\u5178|\u5173\u4e8e ** Category:\u6a21\u677f|\u6a21\u677f ** Special:\u5c5e\u6027|\u5c5e\u6027 * \u64cd\u4f5c ** \u521b\u5efa\u6761\u76ee|\u521b\u5efa\u6761\u76ee ** Special:\u66ff\u6362\u6587\u672c|\u66ff\u6362\u6587\u672c ** Special:\u5bfc\u5165CSV|\u5bfc\u5165C\u2026\u201d"
            },
            {
                "logid": 13,
                "ns": 8,
                "title": "MediaWiki:Common.css",
                "pageid": 13,
                "logpage": 13,
                "revid": 13,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "\u6c49\u5b9d",
                "timestamp": "2026-04-04T06:19:16Z",
                "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c/* \u8fd9\u91cc\u653e\u7f6e\u7684CSS\u5c06\u5e94\u7528\u4e8e\u6240\u6709\u76ae\u80a4 */  /* \u7f16\u8f91\u5668\u6587\u5b57\u4fdd\u6301\u4e0e\u6b63\u6587\u4e00\u81f4 */ #wpTextbox1 {  \tfont-size: 100%; }   /* \u7981\u6b62\u76ee\u5f55\u81ea\u52a8\u6362\u884c*/ #toc {  \twhite-space: nowrap; }  /* \u9996\u9875\u4e0d\u663e\u793a\u6807\u9898 */ body.page-\u9996\u9875 h1.firstHeading {  \tdisplay: none;  }  /* \u9875\u9762\u5bbd\u5ea6\u5bf9\u9f50 */ .mw-body { \tpadding: 0; }  tbody {    counter-reset:sectioncounter; }                        .SortCLASS:before {    content:counter(sectioncounter);     counter-in\u2026\u201d"
            },
            {
                "logid": 12,
                "ns": 112,
                "title": "SMW/\u6a21\u5f0f:Group:Predefined properties",
                "pageid": 12,
                "logpage": 12,
                "revid": 12,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Maintenance script",
                "timestamp": "2026-04-04T06:02:18Z",
                "comment": "Semantic MediaWiki group import"
            },
            {
                "logid": 11,
                "ns": 112,
                "title": "SMW/\u6a21\u5f0f:Group:Schema properties",
                "pageid": 11,
                "logpage": 11,
                "revid": 11,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Maintenance script",
                "timestamp": "2026-04-04T06:02:18Z",
                "comment": "Semantic MediaWiki group import"
            },
            {
                "logid": 10,
                "ns": 102,
                "title": "\u5c5e\u6027:Owl:differentFrom",
                "pageid": 10,
                "logpage": 10,
                "revid": 10,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Maintenance script",
                "timestamp": "2026-04-04T06:02:18Z",
                "comment": "Semantic MediaWiki default vocabulary import"
            },
            {
                "logid": 9,
                "ns": 102,
                "title": "\u5c5e\u6027:Foaf:homepage",
                "pageid": 9,
                "logpage": 9,
                "revid": 9,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Maintenance script",
                "timestamp": "2026-04-04T06:02:18Z",
                "comment": "Semantic MediaWiki default vocabulary import"
            },
            {
                "logid": 8,
                "ns": 102,
                "title": "\u5c5e\u6027:Foaf:name",
                "pageid": 8,
                "logpage": 8,
                "revid": 8,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Maintenance script",
                "timestamp": "2026-04-04T06:02:18Z",
                "comment": "Semantic MediaWiki default vocabulary import"
            },
            {
                "logid": 7,
                "ns": 102,
                "title": "\u5c5e\u6027:Foaf:knows",
                "pageid": 7,
                "logpage": 7,
                "revid": 7,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Maintenance script",
                "timestamp": "2026-04-04T06:02:18Z",
                "comment": "Semantic MediaWiki default vocabulary import"
            },
            {
                "logid": 6,
                "ns": 8,
                "title": "MediaWiki:Smw import owl",
                "pageid": 6,
                "logpage": 6,
                "revid": 6,
                "params": {},
                "type": "create",
                "action": "create",
                "user": "Maintenance script",
                "timestamp": "2026-04-04T06:02:18Z",
                "comment": "Semantic MediaWiki default vocabulary import"
            }
        ]
    }
}