MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "arvcontinue": "20180621110405|52",
        "continue": "-||"
    },
    "query": {
        "allrevisions": [
            {
                "pageid": 1,
                "revisions": [
                    {
                        "revid": 1,
                        "parentid": 0,
                        "user": "MediaWiki default",
                        "anon": "",
                        "timestamp": "2018-06-20T14:29:37Z",
                        "comment": ""
                    },
                    {
                        "revid": 22,
                        "parentid": 1,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-20T15:39:13Z",
                        "comment": ""
                    },
                    {
                        "revid": 35,
                        "parentid": 22,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-21T01:50:04Z",
                        "comment": ""
                    },
                    {
                        "revid": 36,
                        "parentid": 35,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-21T01:54:57Z",
                        "comment": ""
                    },
                    {
                        "revid": 37,
                        "parentid": 36,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-21T02:42:05Z",
                        "comment": ""
                    },
                    {
                        "revid": 38,
                        "parentid": 37,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-21T02:58:27Z",
                        "comment": ""
                    },
                    {
                        "revid": 39,
                        "parentid": 38,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-21T03:00:02Z",
                        "comment": ""
                    },
                    {
                        "revid": 41,
                        "parentid": 39,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-21T03:29:35Z",
                        "comment": ""
                    },
                    {
                        "revid": 44,
                        "parentid": 41,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-21T03:57:48Z",
                        "comment": ""
                    },
                    {
                        "revid": 45,
                        "parentid": 44,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-21T04:00:05Z",
                        "comment": ""
                    },
                    {
                        "revid": 47,
                        "parentid": 45,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-21T04:09:17Z",
                        "comment": ""
                    }
                ],
                "ns": 0,
                "title": "\u9996\u9875"
            },
            {
                "pageid": 2,
                "revisions": [
                    {
                        "revid": 2,
                        "parentid": 0,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-20T14:44:49Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c/* \u6240\u6709\u76ae\u80a4\u7684\u516c\u5171CSS */  /* \u7ba1\u7406\u5458\u6ce8\u610f\uff01\u4efb\u4f55\u5bf9Common.css\u7684\u6539\u53d8\u5fc5\u987b\u5148\u5728\u6280\u672f\u5ba2\u6808\u8ba8\u8bba\uff0c\u8c22\u8c22\u3002 */  /* Default styling for HTML elements\u2026\u201d"
                    }
                ],
                "ns": 8,
                "title": "MediaWiki:Common.css"
            },
            {
                "pageid": 3,
                "revisions": [
                    {
                        "revid": 3,
                        "parentid": 0,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-20T14:47:06Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c/* \u6240\u6709\u7528\u6236\u5728\u52a0\u8f09\u4efb\u4f55\u9801\u9762\u6642\uff0c\u9019\u88e1\u7684JavaScript\u90fd\u6703\u52a0\u8f09 */  mw.log.deprecate( window, 'JSConfig', {} );  mw.loader.using(['mediawiki.util', 'ext.ga\u2026\u201d"
                    }
                ],
                "ns": 8,
                "title": "MediaWiki:Common.js"
            },
            {
                "pageid": 4,
                "revisions": [
                    {
                        "revid": 4,
                        "parentid": 0,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-20T14:59:33Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<!--  Please do not edit without discussion first as this is a VERY complex template.  -->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=</div>|none=|#default=<table\u2026\u201d"
                    },
                    {
                        "revid": 13,
                        "parentid": 4,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-20T15:23:23Z",
                        "comment": ""
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Navbox"
            },
            {
                "pageid": 5,
                "revisions": [
                    {
                        "revid": 5,
                        "parentid": 0,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-20T15:00:20Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c{{#ifeq:{{{child|}}}|yes||<table class=\"infobox {{{bodyclass|}}}\" style=\"width:22em; text-align:left; font-size:90%; line-height:1.5em; {{{bodystyle|}}}\"><!--  OverI\u2026\u201d"
                    },
                    {
                        "revid": 14,
                        "parentid": 5,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-20T15:24:41Z",
                        "comment": ""
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Infobox"
            },
            {
                "pageid": 6,
                "revisions": [
                    {
                        "revid": 6,
                        "parentid": 0,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-20T15:02:32Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<noinclude>{{pp-protected|reason=[[WP:PT]]\u7528\u6236\u63d0\u51fa\u534a\u4fdd\u8b77\u8acb\u6c42\uff0c\u9ad8\u4f7f\u7528\u7387\u6a21\u677f\u3002|small=yes}}[[Category:\u8f85\u52a9\u6a21\u677f]]</noinclude>{{#if:{{{header|}}}  |<\u2026\u201d"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Infobox/row"
            },
            {
                "pageid": 7,
                "revisions": [
                    {
                        "revid": 7,
                        "parentid": 0,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-20T15:03:46Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<includeonly>{{pp-meta |type={{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}    |semi    |autoconfirmed=semi    |administrator    |full    |sysop=full    |#defaul\u2026\u201d"
                    },
                    {
                        "revid": 19,
                        "parentid": 7,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-20T15:31:53Z",
                        "comment": ""
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Pp-protected"
            },
            {
                "pageid": 8,
                "revisions": [
                    {
                        "revid": 8,
                        "parentid": 0,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-20T15:04:49Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c{{#ifeq:{{#switch:{{lc:{{{type}}}}}   |move=<!--  -->{{#ifeq:       {{#switch:{{lc:{{{demolevel|undefined}}}}}         |semi         |autoconfirmed=autoconfirmed\u2026\u201d"
                    },
                    {
                        "revid": 15,
                        "parentid": 8,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-20T15:24:54Z",
                        "comment": ""
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Pp-meta"
            },
            {
                "pageid": 9,
                "revisions": [
                    {
                        "revid": 9,
                        "parentid": 0,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-20T15:17:52Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c{{#ifeq:{{{subst}}}|SUBST  |{{#if:{{{name|}}}   |{{Error|\u6a21\u677f{{tlx|{{{name}}}}}\u88ab\u9519\u8bef\u5730\u66ff\u4ee3\u3002}}  }}[[Category:\u5305\u542b\u88ab\u9519\u8bef\u5730\u66ff\u4ee3\u7684\u6a21\u677f\u7684\u9875\u9762]] }\u2026\u201d"
                    },
                    {
                        "revid": 33,
                        "parentid": 9,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-21T01:47:50Z",
                        "comment": ""
                    },
                    {
                        "revid": 34,
                        "parentid": 33,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-21T01:48:45Z",
                        "comment": ""
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Ambox"
            },
            {
                "pageid": 10,
                "revisions": [
                    {
                        "revid": 10,
                        "parentid": 0,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-20T15:18:43Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<table class=\"metadata plainlinks ambox {{{class|}}}\" style=\"{{{style|}}}\"> <tr>{{#switch:{{{image|}}}  |blank  |none = <td class=\"mbox-empty-cell\"></td>  |#default\u2026\u201d"
                    },
                    {
                        "revid": 11,
                        "parentid": 10,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-20T15:19:14Z",
                        "comment": ""
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Ambox/core"
            },
            {
                "pageid": 12,
                "revisions": [
                    {
                        "revid": 16,
                        "parentid": 0,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-20T15:27:09Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<noinclude>'''Actual code of this blacklist:'''<pre></noinclude>{{if pagename <!-- Start of blacklist -->  | Main Page = hide   <!-- Don't categorise the main page -\u2026\u201d"
                    },
                    {
                        "revid": 17,
                        "parentid": 16,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-20T15:27:51Z",
                        "comment": ""
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Category handler/blacklist"
            },
            {
                "pageid": 13,
                "revisions": [
                    {
                        "revid": 18,
                        "parentid": 0,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-20T15:29:40Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c{{#switch:   {{lc:               <!--Lower case the result-->     <!--If no or empty \"demospace\" parameter then detect namespace-->     {{#if:{{{demospace|}}}      |\u2026\u201d"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Namespace detect"
            },
            {
                "pageid": 14,
                "revisions": [
                    {
                        "revid": 20,
                        "parentid": 0,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-20T15:33:25Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<includeonly><div class=\"refbegin <!--  -->{{#if: {{{normalfont|}}}     | refbegin-100 }} <!--  -->{{#if: {{{1|}}}     | columns {{#iferror: {{#ifexpr: {{{1|1}}} > 1\u2026\u201d"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Refbegin"
            },
            {
                "pageid": 15,
                "revisions": [
                    {
                        "revid": 21,
                        "parentid": 0,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-20T15:35:07Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c{{#if:x   <!--Remove surrounding whitespace--> | <!--Check for match with full pagename-->   {{{ {{#if:{{{page|}}}| {{{page|}}} | {{FULLPAGENAME}} }}   <!--Has data,\u2026\u201d"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:If pagename"
            },
            {
                "pageid": 16,
                "revisions": [
                    {
                        "revid": 23,
                        "parentid": 0,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-20T15:40:37Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<includeonly><!--  -->{{#if:{{{nodiv|}}} |<!--then: -->&nbsp;<span class=\"plainlinks hlist navbar nomobile noprint\" style=\"{{{style|}}}\"> |<!--else: --><div class=\"p\u2026\u201d"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Navbar"
            },
            {
                "pageid": 17,
                "revisions": [
                    {
                        "revid": 24,
                        "parentid": 0,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-20T15:41:23Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c{{#iferror: {{#expr: 1 + {{{data|}}} }}  | {{{data|}}}   <!--Not a number, return \"data\" as is-->  | {{{ {{{data|}}} |}}}   <!--\"data\" is a number, return that numbe\u2026\u201d"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Category handler/numbered"
            },
            {
                "pageid": 18,
                "revisions": [
                    {
                        "revid": 25,
                        "parentid": 0,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-20T15:42:08Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c{{#if:{{{cat|}}}  |{{#if:{{{date|}}}   |[[Category:{{{preposition|\u81ea}}}{{{date}}}{{{cat}}}{{#if:{{{idx|}}}|{{!}}{{{idx}}}}}]]{{#ifexist:Category:{{{preposition|\u81ea}\u2026\u201d"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Ambox/category"
            },
            {
                "pageid": 19,
                "revisions": [
                    {
                        "revid": 26,
                        "parentid": 0,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-20T15:42:50Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<div style=\"clear:{{{1|both}}};\"></div>\u201d"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:BrClear"
            },
            {
                "pageid": 20,
                "revisions": [
                    {
                        "revid": 27,
                        "parentid": 0,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-20T15:44:55Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<span style=\"white-space:nowrap; font-weight:bold;\">&nbsp;\u00b7</span>\u201d"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:\u00b7"
            },
            {
                "pageid": 21,
                "revisions": [
                    {
                        "revid": 28,
                        "parentid": 0,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-20T15:46:18Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c{{#switch:{{int:Conversionname}} |zh = {{#if:{{{zh|}}}|{{{zh}}}|{{#if:{{{zh-hans|}}}|{{{zh-hans}}}|{{#if:{{{zh-cn|}}}|{{{zh-cn}}}|{{#if:{{{zh-tw|}}}|{{{zh-tw}}}|{{#i\u2026\u201d"
                    },
                    {
                        "revid": 29,
                        "parentid": 28,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-20T15:48:33Z",
                        "comment": "\u4ee5\u201c{{{1}}}\u201d\u66ff\u6362\u5185\u5bb9"
                    },
                    {
                        "revid": 30,
                        "parentid": 29,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-20T15:50:43Z",
                        "comment": "\u64a4\u9500[[Special:Contributions/BearKidsTeam|BearKidsTeam]]\uff08[[User talk:BearKidsTeam|\u8ba8\u8bba]]\uff09\u7684\u7248\u672c29"
                    },
                    {
                        "revid": 31,
                        "parentid": 30,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-20T15:58:40Z",
                        "comment": ""
                    },
                    {
                        "revid": 32,
                        "parentid": 31,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-21T01:18:31Z",
                        "comment": "\u4ee5\u201c{{{zh-hans}}}\u201d\u66ff\u6362\u5185\u5bb9"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Lan"
            },
            {
                "pageid": 22,
                "revisions": [
                    {
                        "revid": 40,
                        "parentid": 0,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-21T03:08:48Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<table class=\"nmbox\" style=\"border:1px solid #AAA; border-collapse:collapse; clear:both; font-size:85%; margin: 0.5em 0\"> <tr style=\"background:#EEF3E2\"> {{#if:{{{im\u2026\u201d"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Nmbox"
            },
            {
                "pageid": 23,
                "revisions": [
                    {
                        "revid": 42,
                        "parentid": 0,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-21T03:43:29Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<div id=\"mp-topbanner\" style=\"clear:both; position:relative; box-sizing:border-box; width:100%; margin:1.2em 0 6px; min-width:47em; border:1px solid #ddd; background\u2026\u201d"
                    },
                    {
                        "revid": 43,
                        "parentid": 42,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-21T03:45:52Z",
                        "comment": ""
                    },
                    {
                        "revid": 46,
                        "parentid": 43,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-21T04:01:16Z",
                        "comment": ""
                    }
                ],
                "ns": 0,
                "title": "Home"
            },
            {
                "pageid": 24,
                "revisions": [
                    {
                        "revid": 48,
                        "parentid": 0,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-21T05:25:48Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201cBallance\u7684\u7eaa\u5f55\u662fBallance\u751f\u6001\u73af\u5883\u7684\u91cd\u8981\u7684\u7ec4\u6210\u4e00\u73af\u3002\u76ee\u524d\u4e3a\u6b62\uff0c\u6709\u8bb8\u591a\u7eaa\u5f55\u8ba4\u8bc1\u8005\u652f\u6301Ballance\u7eaa\u5f55\u7684\u9a8c\u8bc1\u4e0e\u5c55\u793a\uff0c\u5728\u540e\u6587\u4e2d\u4f1a\u9010\u2026\u201d"
                    },
                    {
                        "revid": 50,
                        "parentid": 48,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-21T08:46:48Z",
                        "comment": ""
                    }
                ],
                "ns": 0,
                "title": "\u7ade\u901f"
            },
            {
                "pageid": 25,
                "revisions": [
                    {
                        "revid": 49,
                        "parentid": 0,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-21T06:02:27Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201cBallance's record is an important part of Ballance's environment. So far, there are many record certifiers who support the verification and display of Ballance recor\u2026\u201d"
                    },
                    {
                        "revid": 51,
                        "parentid": 49,
                        "user": "BearKidsTeam",
                        "timestamp": "2018-06-21T08:49:33Z",
                        "comment": ""
                    }
                ],
                "ns": 0,
                "title": "Speedrun"
            }
        ]
    }
}