MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "arvcontinue": "20211118084208|50",
        "continue": "-||"
    },
    "query": {
        "allrevisions": [
            {
                "pageid": 1,
                "revisions": [
                    {
                        "revid": 1,
                        "parentid": 0,
                        "user": "MediaWiki default",
                        "anon": "",
                        "timestamp": "2019-08-14T06:40:05Z",
                        "comment": ""
                    },
                    {
                        "revid": 11,
                        "parentid": 1,
                        "user": "9388102",
                        "timestamp": "2021-11-18T05:27:45Z",
                        "comment": "\u4ee5\u201c==\u6a21\u677f==  ==Widget==  ==Gadget==  ==\u5927\u578b\u5de5\u5177==  ==\u5b9e\u9a8c\u5ba4==\u201d\u66ff\u6362\u5185\u5bb9"
                    },
                    {
                        "revid": 20,
                        "parentid": 11,
                        "user": "9388102",
                        "timestamp": "2021-11-18T05:36:15Z",
                        "comment": "/* \u6a21\u677f */"
                    },
                    {
                        "revid": 21,
                        "parentid": 20,
                        "user": "9388102",
                        "timestamp": "2021-11-18T05:38:17Z",
                        "comment": ""
                    },
                    {
                        "revid": 36,
                        "parentid": 21,
                        "user": "9388102",
                        "timestamp": "2021-11-18T07:38:13Z",
                        "comment": "/* \u6a21\u677f */"
                    },
                    {
                        "revid": 37,
                        "parentid": 36,
                        "user": "9388102",
                        "timestamp": "2021-11-18T07:39:04Z",
                        "comment": ""
                    }
                ],
                "ns": 0,
                "title": "\u9996\u9875"
            },
            {
                "pageid": 2,
                "revisions": [
                    {
                        "revid": 2,
                        "parentid": 0,
                        "user": "127.0.0.1",
                        "anon": "",
                        "timestamp": "2019-08-14T07:06:51Z",
                        "comment": "Semantic MediaWiki default vocabulary import"
                    }
                ],
                "ns": 8,
                "title": "MediaWiki:Smw import skos"
            },
            {
                "pageid": 3,
                "revisions": [
                    {
                        "revid": 3,
                        "parentid": 0,
                        "user": "127.0.0.1",
                        "anon": "",
                        "timestamp": "2019-08-14T07:06:54Z",
                        "comment": "Semantic MediaWiki default vocabulary import"
                    }
                ],
                "ns": 8,
                "title": "MediaWiki:Smw import foaf"
            },
            {
                "pageid": 4,
                "revisions": [
                    {
                        "revid": 4,
                        "parentid": 0,
                        "user": "127.0.0.1",
                        "anon": "",
                        "timestamp": "2019-08-14T07:06:54Z",
                        "comment": "Semantic MediaWiki default vocabulary import"
                    }
                ],
                "ns": 8,
                "title": "MediaWiki:Smw import owl"
            },
            {
                "pageid": 5,
                "revisions": [
                    {
                        "revid": 5,
                        "parentid": 0,
                        "user": "127.0.0.1",
                        "anon": "",
                        "timestamp": "2019-08-14T07:06:55Z",
                        "comment": "Semantic MediaWiki default vocabulary import"
                    }
                ],
                "ns": 102,
                "title": "\u5c5e\u6027:Foaf:knows"
            },
            {
                "pageid": 6,
                "revisions": [
                    {
                        "revid": 6,
                        "parentid": 0,
                        "user": "127.0.0.1",
                        "anon": "",
                        "timestamp": "2019-08-14T07:06:55Z",
                        "comment": "Semantic MediaWiki default vocabulary import"
                    }
                ],
                "ns": 102,
                "title": "\u5c5e\u6027:Foaf:name"
            },
            {
                "pageid": 7,
                "revisions": [
                    {
                        "revid": 7,
                        "parentid": 0,
                        "user": "127.0.0.1",
                        "anon": "",
                        "timestamp": "2019-08-14T07:06:55Z",
                        "comment": "Semantic MediaWiki default vocabulary import"
                    }
                ],
                "ns": 102,
                "title": "\u5c5e\u6027:Foaf:homepage"
            },
            {
                "pageid": 8,
                "revisions": [
                    {
                        "revid": 8,
                        "parentid": 0,
                        "user": "127.0.0.1",
                        "anon": "",
                        "timestamp": "2019-08-14T07:06:56Z",
                        "comment": "Semantic MediaWiki default vocabulary import"
                    }
                ],
                "ns": 102,
                "title": "\u5c5e\u6027:Owl:differentFrom"
            },
            {
                "pageid": 55,
                "revisions": [
                    {
                        "revid": 127,
                        "parentid": 0,
                        "minor": "",
                        "user": "ys>33961147",
                        "anon": "",
                        "timestamp": "2021-06-11T06:52:49Z",
                        "comment": "\u5bfc\u51651\u4e2a\u7248\u672c"
                    }
                ],
                "ns": 8,
                "title": "MediaWiki:Gadget-proj4.js"
            },
            {
                "pageid": 56,
                "revisions": [
                    {
                        "revid": 129,
                        "parentid": 0,
                        "minor": "",
                        "user": "ys>33961147",
                        "anon": "",
                        "timestamp": "2021-06-11T06:52:49Z",
                        "comment": "\u5bfc\u51651\u4e2a\u7248\u672c"
                    }
                ],
                "ns": 8,
                "title": "MediaWiki:Gadget-proj4leaflet.min.js"
            },
            {
                "pageid": 57,
                "revisions": [
                    {
                        "revid": 131,
                        "parentid": 0,
                        "minor": "",
                        "user": "ys>33961147",
                        "anon": "",
                        "timestamp": "2021-06-11T06:52:49Z",
                        "comment": "\u5bfc\u51651\u4e2a\u7248\u672c"
                    }
                ],
                "ns": 8,
                "title": "MediaWiki:Gadget-Md5.min.js"
            },
            {
                "pageid": 58,
                "revisions": [
                    {
                        "revid": 133,
                        "parentid": 0,
                        "minor": "",
                        "user": "ys>33961147",
                        "anon": "",
                        "timestamp": "2021-06-11T06:52:49Z",
                        "comment": "\u5bfc\u51651\u4e2a\u7248\u672c"
                    }
                ],
                "ns": 8,
                "title": "MediaWiki:Gadget-Map3.js"
            },
            {
                "pageid": 59,
                "revisions": [
                    {
                        "revid": 135,
                        "parentid": 0,
                        "minor": "",
                        "user": "ys>33961147",
                        "anon": "",
                        "timestamp": "2021-06-11T06:52:49Z",
                        "comment": "\u5bfc\u51651\u4e2a\u7248\u672c"
                    }
                ],
                "ns": 8,
                "title": "MediaWiki:Gadget-leaflet.js"
            },
            {
                "pageid": 60,
                "revisions": [
                    {
                        "revid": 137,
                        "parentid": 0,
                        "minor": "",
                        "user": "ys>33961147",
                        "anon": "",
                        "timestamp": "2021-06-11T06:52:49Z",
                        "comment": "\u5bfc\u51651\u4e2a\u7248\u672c"
                    }
                ],
                "ns": 8,
                "title": "MediaWiki:Gadget-leaflet.canvas-markers.js"
            },
            {
                "pageid": 61,
                "revisions": [
                    {
                        "revid": 139,
                        "parentid": 0,
                        "minor": "",
                        "user": "ys>33961147",
                        "anon": "",
                        "timestamp": "2021-06-11T06:52:49Z",
                        "comment": "\u5bfc\u51651\u4e2a\u7248\u672c"
                    }
                ],
                "ns": 8,
                "title": "MediaWiki:Gadget-leaflet.pm.min.js"
            },
            {
                "pageid": 62,
                "revisions": [
                    {
                        "revid": 141,
                        "parentid": 0,
                        "minor": "",
                        "user": "ys>33961147",
                        "anon": "",
                        "timestamp": "2021-06-11T06:52:49Z",
                        "comment": "\u5bfc\u51651\u4e2a\u7248\u672c"
                    }
                ],
                "ns": 8,
                "title": "MediaWiki:Gadget-Map3"
            },
            {
                "pageid": 53,
                "revisions": [
                    {
                        "revid": 123,
                        "parentid": 0,
                        "minor": "",
                        "user": "ys>33961147",
                        "anon": "",
                        "timestamp": "2021-06-11T06:52:50Z",
                        "comment": "\u5bfc\u51651\u4e2a\u7248\u672c"
                    }
                ],
                "ns": 8,
                "title": "MediaWiki:Gadget-leaflet.css"
            },
            {
                "pageid": 54,
                "revisions": [
                    {
                        "revid": 125,
                        "parentid": 0,
                        "minor": "",
                        "user": "ys>33961147",
                        "anon": "",
                        "timestamp": "2021-06-11T06:52:50Z",
                        "comment": "\u5bfc\u51651\u4e2a\u7248\u672c"
                    }
                ],
                "ns": 8,
                "title": "MediaWiki:Gadget-leaflet.pm.css"
            },
            {
                "pageid": 49,
                "revisions": [
                    {
                        "revid": 115,
                        "parentid": 0,
                        "user": "ys>33961147",
                        "anon": "",
                        "timestamp": "2021-07-14T09:14:05Z",
                        "comment": ""
                    }
                ],
                "ns": 274,
                "title": "Widget:Map3/icon"
            },
            {
                "pageid": 52,
                "revisions": [
                    {
                        "revid": 121,
                        "parentid": 0,
                        "user": "ys>33961147",
                        "anon": "",
                        "timestamp": "2021-07-14T09:17:23Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<script>!function(n){\"use strict\";function t(n,t){var r=(65535&n)+(65535&t);return(n>>16)+(t>>16)+(r>>16)<<16|65535&r}function r(n,t){return n<<t|n>>>32-t}function e\u2026\u201d"
                    }
                ],
                "ns": 274,
                "title": "Widget:Md5"
            },
            {
                "pageid": 48,
                "revisions": [
                    {
                        "revid": 113,
                        "parentid": 0,
                        "user": "ys>33961147",
                        "anon": "",
                        "timestamp": "2021-08-13T08:39:45Z",
                        "comment": ""
                    }
                ],
                "ns": 274,
                "title": "Widget:Map3/css"
            },
            {
                "pageid": 51,
                "revisions": [
                    {
                        "revid": 119,
                        "parentid": 0,
                        "user": "ys>9388102",
                        "anon": "",
                        "timestamp": "2021-10-13T07:29:31Z",
                        "comment": ""
                    }
                ],
                "ns": 274,
                "title": "Widget:Map3/main"
            },
            {
                "pageid": 10,
                "revisions": [
                    {
                        "revid": 16,
                        "parentid": 0,
                        "user": "wiki>33961147",
                        "anon": "",
                        "timestamp": "2021-11-05T00:59:16Z",
                        "comment": ""
                    },
                    {
                        "revid": 12,
                        "parentid": 0,
                        "user": "9388102",
                        "timestamp": "2021-11-18T05:30:30Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<includeonly>{{#switch:{{{1|}}} |\u4fe1\u606f={{{2}}}\uff1a[[{{{2}}}::{{{3}}}]] |\u6807\u51c6={{#ifeq:{{PAGENAME}}|{{ROOTPAGENAME}}|{{#set:|\u6a21\u677f\u63d0\u793a={{{2}}}}}}}{{#tag:SyntaxHig\u2026\u201d"
                    },
                    {
                        "revid": 17,
                        "parentid": 12,
                        "minor": "",
                        "user": "9388102",
                        "timestamp": "2021-11-18T05:34:53Z",
                        "comment": "\u5bfc\u51651\u4e2a\u7248\u672c"
                    },
                    {
                        "revid": 33,
                        "parentid": 17,
                        "user": "9388102",
                        "timestamp": "2021-11-18T07:30:09Z",
                        "comment": ""
                    },
                    {
                        "revid": 35,
                        "parentid": 33,
                        "user": "9388102",
                        "timestamp": "2021-11-18T07:34:43Z",
                        "comment": ""
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:\u6a21\u677f"
            },
            {
                "pageid": 50,
                "revisions": [
                    {
                        "revid": 117,
                        "parentid": 0,
                        "user": "ys>33961147",
                        "anon": "",
                        "timestamp": "2021-11-16T07:00:25Z",
                        "comment": ""
                    }
                ],
                "ns": 274,
                "title": "Widget:Map3/mapc"
            },
            {
                "pageid": 11,
                "revisions": [
                    {
                        "revid": 14,
                        "parentid": 0,
                        "user": "wiki>9388102",
                        "anon": "",
                        "timestamp": "2021-11-17T07:33:10Z",
                        "comment": ""
                    },
                    {
                        "revid": 13,
                        "parentid": 0,
                        "user": "9388102",
                        "timestamp": "2021-11-18T05:34:06Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<includeonly>{{#if:{{#varexists:\u9632\u6b62\u591a\u6b21\u52a0\u8f7d\u9ed1\u5e55\u6837\u5f0f}}||{{#vardefineecho:\u9632\u6b62\u591a\u6b21\u52a0\u8f7d\u9ed1\u5e55\u6837\u5f0f|{{#css:.heimu{background-color:#252525;color:#25252\u2026\u201d"
                    },
                    {
                        "revid": 15,
                        "parentid": 13,
                        "minor": "",
                        "user": "9388102",
                        "timestamp": "2021-11-18T05:34:53Z",
                        "comment": "\u5bfc\u51651\u4e2a\u7248\u672c"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:\u9ed1\u5e55"
            },
            {
                "pageid": 9,
                "revisions": [
                    {
                        "revid": 9,
                        "parentid": 0,
                        "user": "9388102",
                        "timestamp": "2021-11-18T05:22:29Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c*\u9996\u9875 *\u6837\u5f0f *\u5de5\u5177\u6a21\u677f *Widget *gadget *\u5927\u578b\u5de5\u5177 *\u5e38\u7528\u94fe\u63a5 ** \u521b\u5efa\u65b0\u9875\u9762|\u521b\u5efa\u65b0\u9875\u9762 ** \u7279\u6b8a:\u6700\u8fd1\u66f4\u6539|\u6700\u8fd1\u66f4\u6539 ** \u7279\u6b8a:\u6587\u4ef6\u5217\u2026\u201d"
                    },
                    {
                        "revid": 10,
                        "parentid": 9,
                        "user": "9388102",
                        "timestamp": "2021-11-18T05:26:49Z",
                        "comment": ""
                    }
                ],
                "ns": 8,
                "title": "MediaWiki:Sidebar"
            },
            {
                "pageid": 13,
                "revisions": [
                    {
                        "revid": 22,
                        "parentid": 0,
                        "user": "9388102",
                        "timestamp": "2021-11-18T06:36:19Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<includeonly>[[{{{1|}}}|<span class=\"bili-section-normal section-wrap\" style=\"margin:5px 5px 5px 0px\">{{#ifeq:{{{2|}}}||{{{1|}}}|{{{2|}}}}}</span>]]</includeonly><no\u2026\u201d"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:\u6309\u94ae"
            },
            {
                "pageid": 14,
                "revisions": [
                    {
                        "revid": 23,
                        "parentid": 0,
                        "user": "9388102",
                        "timestamp": "2021-11-18T06:37:14Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c{{\u6a21\u677f}}__NOTOC__ <div class=\"row\"> <div class=\"col-xs-12 col-sm-8 col-md-8 col-lg-8\"> == \u7b80\u5355\u8bf4\u660e == {{\u6a21\u677f|\u4fe1\u606f|\u7248\u672c|1.0}} {{\u6a21\u677f|\u4fe1\u606f|\u8bf4\u660e|BWIKI\u2026\u201d"
                    },
                    {
                        "revid": 24,
                        "parentid": 23,
                        "user": "9388102",
                        "timestamp": "2021-11-18T06:39:18Z",
                        "comment": "/* \u793a\u4f8b */"
                    },
                    {
                        "revid": 25,
                        "parentid": 24,
                        "user": "9388102",
                        "timestamp": "2021-11-18T06:39:40Z",
                        "comment": "/* \u793a\u4f8b */"
                    },
                    {
                        "revid": 38,
                        "parentid": 25,
                        "user": "9388102",
                        "timestamp": "2021-11-18T07:43:51Z",
                        "comment": ""
                    }
                ],
                "ns": 12,
                "title": "\u5e2e\u52a9:Btn"
            },
            {
                "pageid": 15,
                "revisions": [
                    {
                        "revid": 26,
                        "parentid": 0,
                        "user": "9388102",
                        "timestamp": "2021-11-18T06:59:13Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<includeonly><div class=\"media-audio\" data-file=\"{{{file|{{{1|}}}}}}\" data-panel=\"{{{panel|}}}\" data-button=\"{{{button|}}}\" data-progress=\"{{{progress|}}}\" data-dot=\u2026\u201d"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Audio"
            },
            {
                "pageid": 19,
                "revisions": [
                    {
                        "revid": 43,
                        "parentid": 0,
                        "user": "9388102",
                        "timestamp": "2021-11-18T07:52:31Z",
                        "comment": "\u521b\u5efa\u7a7a\u767d\u9875\u9762"
                    }
                ],
                "ns": 14,
                "title": "\u5206\u7c7b:\u6a21\u677f"
            },
            {
                "pageid": 20,
                "revisions": [
                    {
                        "revid": 45,
                        "parentid": 0,
                        "user": "9388102",
                        "timestamp": "2021-11-18T08:28:22Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<includeonly> <Script> $('.resourceLoader').each(function () {   var $x = $(this);   var text = $.trim($x.text());    if (!text) return;    //\u52a0\u8f7d\u6a21\u5757   if ($x.d\u2026\u201d"
                    },
                    {
                        "revid": 48,
                        "parentid": 45,
                        "user": "33961147",
                        "timestamp": "2021-11-18T08:33:32Z",
                        "comment": ""
                    }
                ],
                "ns": 274,
                "title": "Widget:ResourceLoader"
            },
            {
                "pageid": 21,
                "revisions": [
                    {
                        "revid": 46,
                        "parentid": 0,
                        "user": "9388102",
                        "timestamp": "2021-11-18T08:30:23Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<includeonly>{{#widge:ResourceLoader}} <div class=\"resourceLoader\"  style=\"display:none\"  data-is-module=\"{{{isModule|false}}}\"  data-mime=\"{{{MIME|}}}\"  >{{{1|}}}</\u2026\u201d"
                    },
                    {
                        "revid": 47,
                        "parentid": 46,
                        "user": "33961147",
                        "timestamp": "2021-11-18T08:32:48Z",
                        "comment": ""
                    },
                    {
                        "revid": 49,
                        "parentid": 47,
                        "user": "33961147",
                        "timestamp": "2021-11-18T08:40:19Z",
                        "comment": ""
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:ResourceLoader"
            }
        ]
    }
}