MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "arvcontinue": "20130916014135|61",
        "continue": "-||"
    },
    "query": {
        "allrevisions": [
            {
                "pageid": 1,
                "revisions": [
                    {
                        "revid": 1,
                        "parentid": 0,
                        "user": "MediaWiki default",
                        "anon": "",
                        "timestamp": "2013-09-15T15:57:39Z",
                        "comment": ""
                    }
                ],
                "ns": 0,
                "title": "\u9996\u9875"
            },
            {
                "pageid": 2,
                "revisions": [
                    {
                        "revid": 2,
                        "parentid": 0,
                        "user": "Saka",
                        "timestamp": "2013-09-15T18:48:57Z",
                        "comment": "\u4ee5\u201c '''SS wiki\u4e0d\u4fdd\u8bc1\u4efb\u4f55\u5185\u5bb9\u6b63\u786e\u6027\u548c\u8d28\u91cf'''   \u5bf9\u4e8e\u4efb\u4f55\u5185\u5bb9\u9519\u8bef, \u6211\u4eec\u7684\u89e3\u91ca\u662f: \u30e4\u30c0 \u5618 \u307e\u3055\u304b\u201d\u4e3a\u5185\u5bb9\u521b\u5efa\u9875\u9762"
                    },
                    {
                        "revid": 3,
                        "parentid": 2,
                        "user": "Saka",
                        "timestamp": "2013-09-15T19:18:59Z",
                        "comment": ""
                    },
                    {
                        "revid": 4,
                        "parentid": 3,
                        "user": "Saka",
                        "timestamp": "2013-09-15T19:19:18Z",
                        "comment": ""
                    }
                ],
                "ns": 4,
                "title": "Wiki:\u514d\u8d23\u58f0\u660e"
            },
            {
                "pageid": 3,
                "revisions": [
                    {
                        "revid": 5,
                        "parentid": 0,
                        "user": "Saka",
                        "timestamp": "2013-09-15T19:53:22Z",
                        "comment": "\u4ee5\u201c<span style=\"color:black;background-color:black;cursor:default;\">{{{1}}}</span><noinclude>[[\u5206\u7c7b:\u7f16\u8f91\u6a21\u677f]]</noinclude>\u201d\u4e3a\u5185\u5bb9\u521b\u5efa\u9875\u9762"
                    },
                    {
                        "revid": 44,
                        "parentid": 5,
                        "user": "Saka",
                        "timestamp": "2013-09-15T22:27:17Z",
                        "comment": ""
                    },
                    {
                        "revid": 46,
                        "parentid": 44,
                        "user": "Saka",
                        "timestamp": "2013-09-15T22:43:21Z",
                        "comment": ""
                    },
                    {
                        "revid": 47,
                        "parentid": 46,
                        "user": "Saka",
                        "timestamp": "2013-09-15T22:44:58Z",
                        "comment": ""
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:\u9ed1\u6761"
            },
            {
                "pageid": 13,
                "revisions": [
                    {
                        "revid": 6,
                        "parentid": 0,
                        "user": "Whitesariel",
                        "timestamp": "2013-09-15T20:03:39Z",
                        "comment": "SS\u6c49\u5316\u7ec4\u56fe\u6807"
                    },
                    {
                        "revid": 15,
                        "parentid": 6,
                        "user": "Whitesariel",
                        "timestamp": "2013-09-15T20:25:27Z",
                        "comment": "Whitesariel\u4e0a\u4f20\u201c[[\u6587\u4ef6:\u6c49\u5316\u7ec4.png]]\u201d\u7684\u65b0\u7248\u672c"
                    },
                    {
                        "revid": 16,
                        "parentid": 15,
                        "user": "Whitesariel",
                        "timestamp": "2013-09-15T20:26:16Z",
                        "comment": "Whitesariel\u4e0a\u4f20\u201c[[\u6587\u4ef6:\u6c49\u5316\u7ec4.png]]\u201d\u7684\u65b0\u7248\u672c"
                    },
                    {
                        "revid": 35,
                        "parentid": 16,
                        "user": "Saka",
                        "timestamp": "2013-09-15T21:05:43Z",
                        "comment": "Saka\u4e0a\u4f20\u201c[[\u6587\u4ef6:\u6c49\u5316\u7ec4.png]]\u201d\u7684\u65b0\u7248\u672c\uff1a\u5df2\u7ecf\u6062\u590d\u5230\u4e8e2013\u5e749\u670815\u65e5 (\u661f\u671f\u65e5) 20:25\u7684\u7248\u672c"
                    },
                    {
                        "revid": 36,
                        "parentid": 35,
                        "user": "Saka",
                        "timestamp": "2013-09-15T21:06:37Z",
                        "comment": "Saka\u4e0a\u4f20\u201c[[\u6587\u4ef6:\u6c49\u5316\u7ec4.png]]\u201d\u7684\u65b0\u7248\u672c\uff1a\u5df2\u7ecf\u6062\u590d\u5230\u4e8e2013\u5e749\u670815\u65e5 (\u661f\u671f\u65e5) 20:26\u7684\u7248\u672c"
                    },
                    {
                        "revid": 37,
                        "parentid": 36,
                        "user": "Saka",
                        "timestamp": "2013-09-15T21:07:16Z",
                        "comment": "Saka\u4e0a\u4f20\u201c[[\u6587\u4ef6:\u6c49\u5316\u7ec4.png]]\u201d\u7684\u65b0\u7248\u672c\uff1a\u5df2\u7ecf\u6062\u590d\u5230\u4e8e2013\u5e749\u670815\u65e5 (\u661f\u671f\u65e5) 20:25\u7684\u7248\u672c"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u6c49\u5316\u7ec4.png"
            },
            {
                "pageid": 14,
                "revisions": [
                    {
                        "revid": 17,
                        "parentid": 0,
                        "user": "Saka",
                        "timestamp": "2013-09-15T20:40:35Z",
                        "comment": "\u4ee5\u201c<!--   Start of green doc box --><div id=\"template-documentation\" class=\"template-documentation iezoomfix\"><!--   Add the heading at the top of the doc box: -->{{#if...\u201d\u4e3a\u5185\u5bb9\u521b\u5efa\u9875\u9762"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Documentation/start box"
            },
            {
                "pageid": 15,
                "revisions": [
                    {
                        "revid": 18,
                        "parentid": 0,
                        "user": "Saka",
                        "timestamp": "2013-09-15T20:41:28Z",
                        "comment": ""
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:Template-info.png"
            },
            {
                "pageid": 16,
                "revisions": [
                    {
                        "revid": 19,
                        "parentid": 0,
                        "user": "Saka",
                        "timestamp": "2013-09-15T20:42:28Z",
                        "comment": "\u4ee5\u201c<span class=\"noprint plainlinksneverexpand\">[{{fullurl:{{#if:{{{jumpto|}}}|{{{page|{{FULLPAGENAME}}}}}#{{{jumpto}}}|{{{page|{{FULLPAGENAME}}}}}}}|action=purge&_={{CU...\u201d\u4e3a\u5185\u5bb9\u521b\u5efa\u9875\u9762"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Purge"
            },
            {
                "pageid": 17,
                "revisions": [
                    {
                        "revid": 20,
                        "parentid": 0,
                        "user": "Saka",
                        "timestamp": "2013-09-15T20:44:47Z",
                        "comment": "\u4ee5\u201c<!--   Automatically add {{template sandbox notice}} when on a /sandbox page. -->{{#ifeq: {{SUBPAGENAME}} | sandbox | <div style=\"clear: both;\"></div>{{template sand...\u201d\u4e3a\u5185\u5bb9\u521b\u5efa\u9875\u9762"
                    },
                    {
                        "revid": 38,
                        "parentid": 20,
                        "minor": "",
                        "user": "Saka",
                        "timestamp": "2013-09-15T21:08:35Z",
                        "comment": "\u4fdd\u62a4\u201c[[\u6a21\u677f:Documentation]]\u201d\uff08[\u7f16\u8f91=\u4ec5\u5141\u8bb8\u7ba1\u7406\u5458]\uff08\u65e0\u9650\u671f\uff09[\u79fb\u52a8=\u4ec5\u5141\u8bb8\u7ba1\u7406\u5458]\uff08\u65e0\u9650\u671f\uff09\uff09"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Documentation"
            },
            {
                "pageid": 18,
                "revisions": [
                    {
                        "revid": 21,
                        "parentid": 0,
                        "user": "Saka",
                        "timestamp": "2013-09-15T20:45:25Z",
                        "comment": "\u4ee5\u201c{{#switch:   <!--If no or empty \"demospace\" parameter then detect namespace-->   {{#if:{{{demospace|}}}   | {{lc: {{{demospace}}} }}    <!--Use lower case \"demospace...\u201d\u4e3a\u5185\u5bb9\u521b\u5efa\u9875\u9762"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Template other"
            },
            {
                "pageid": 19,
                "revisions": [
                    {
                        "revid": 22,
                        "parentid": 0,
                        "user": "Saka",
                        "timestamp": "2013-09-15T20:45:51Z",
                        "comment": "\u4ee5\u201c{{documentation/start box | preload = {{{preload|}}}   <!--Allow custom preloads--> | heading = {{{heading|\u00ac}}}   <!--Empty but defined means no header--> | heading...\u201d\u4e3a\u5185\u5bb9\u521b\u5efa\u9875\u9762"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Documentation/start box2"
            },
            {
                "pageid": 20,
                "revisions": [
                    {
                        "revid": 23,
                        "parentid": 0,
                        "user": "Saka",
                        "timestamp": "2013-09-15T20:46:42Z",
                        "comment": "\u4ee5\u201c{{documentation/end box | preload = {{{preload|}}}   <!--Allow custom preloads--> | content = {{{content|}}} | link box = {{{link box|}}}   <!--So \"link box=off\" wor...\u201d\u4e3a\u5185\u5bb9\u521b\u5efa\u9875\u9762"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Documentation/end box2"
            },
            {
                "pageid": 21,
                "revisions": [
                    {
                        "revid": 24,
                        "parentid": 0,
                        "user": "Saka",
                        "timestamp": "2013-09-15T20:49:05Z",
                        "comment": "\u4ee5\u201c<noinclude><div></noinclude><div style=\"clear: both;\"></div><!--So right or left floating items don't stick out of the doc box.--> </div><!--End of green doc box--><...\u201d\u4e3a\u5185\u5bb9\u521b\u5efa\u9875\u9762"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Documentation/end box"
            },
            {
                "pageid": 22,
                "revisions": [
                    {
                        "revid": 25,
                        "parentid": 0,
                        "user": "Saka",
                        "timestamp": "2013-09-15T20:52:17Z",
                        "comment": ""
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:Imbox notice.png"
            },
            {
                "pageid": 23,
                "revisions": [
                    {
                        "revid": 26,
                        "parentid": 0,
                        "user": "Saka",
                        "timestamp": "2013-09-15T20:52:31Z",
                        "comment": ""
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:Cmbox deletion.png"
            },
            {
                "pageid": 24,
                "revisions": [
                    {
                        "revid": 27,
                        "parentid": 0,
                        "user": "Saka",
                        "timestamp": "2013-09-15T20:52:40Z",
                        "comment": "\u4ee5\u201c<table id=\"{{{id|}}}\" class=\"plainlinks fmbox {{#switch:{{{type|}}} | warning    = fmbox-warning | editnotice = fmbox-editnotice | system          <!-- system = defa...\u201d\u4e3a\u5185\u5bb9\u521b\u5efa\u9875\u9762"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Fmbox"
            },
            {
                "pageid": 25,
                "revisions": [
                    {
                        "revid": 28,
                        "parentid": 0,
                        "user": "Saka",
                        "timestamp": "2013-09-15T20:53:57Z",
                        "comment": "\u4ee5\u201c{{#switch: {{SUBJECTSPACE}}   | {{ns:0}}   | {{ns:File}}   | {{ns:MediaWiki}}   | {{ns:Category}} = {{TALKSPACE}}   | #default = {{SUBJECTSPACE}} }}<noinclude> {{doc...\u201d\u4e3a\u5185\u5bb9\u521b\u5efa\u9875\u9762"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Documentation/docspace"
            },
            {
                "pageid": 26,
                "revisions": [
                    {
                        "revid": 29,
                        "parentid": 0,
                        "user": "Saka",
                        "timestamp": "2013-09-15T20:54:31Z",
                        "comment": "\u4ee5\u201c<includeonly>&#123;&#123;[[{{transclude|{{{1}}}}}|{{{1}}}]]{{#if:{{{2|{{{arg|}}}}}}|{{!}}{{{2|{{{arg}}}}}}}}&#125;&#125;</includeonly><noinclude> {{Documentation}} <...\u201d\u4e3a\u5185\u5bb9\u521b\u5efa\u9875\u9762"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Tl"
            },
            {
                "pageid": 27,
                "revisions": [
                    {
                        "revid": 30,
                        "parentid": 0,
                        "user": "Saka",
                        "timestamp": "2013-09-15T20:55:13Z",
                        "comment": "\u4ee5\u201c<noinclude>{{pp-template|small=yes}}</noinclude>{{#switch: {{NAMESPACE: {{{1}}} }}  |#default = {{FULLPAGENAME: {{{1}}} }} <!-- eg \"User:Foo\" -->  |{{ns:0}} =      {...\u201d\u4e3a\u5185\u5bb9\u521b\u5efa\u9875\u9762"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Transclude"
            },
            {
                "pageid": 28,
                "revisions": [
                    {
                        "revid": 31,
                        "parentid": 0,
                        "user": "Saka",
                        "timestamp": "2013-09-15T20:55:51Z",
                        "comment": "\u4ee5\u201c{{#switch: {{SUBPAGENAME}} | sandbox | testcases = {{BASEPAGENAME}} | #default = {{PAGENAME}} }}<noinclude>{{documentation|content= {{tl|documentation}}\u4e4b\u672c\u5b50\u9875...\u201d\u4e3a\u5185\u5bb9\u521b\u5efa\u9875\u9762"
                    },
                    {
                        "revid": 39,
                        "parentid": 31,
                        "minor": "",
                        "user": "Saka",
                        "timestamp": "2013-09-15T21:09:12Z",
                        "comment": "\u4fdd\u62a4\u201c[[\u6a21\u677f:Documentation/template page]]\u201d\uff08[\u7f16\u8f91=\u4ec5\u5141\u8bb8\u7ba1\u7406\u5458]\uff08\u65e0\u9650\u671f\uff09[\u79fb\u52a8=\u4ec5\u5141\u8bb8\u7ba1\u7406\u5458]\uff08\u65e0\u9650\u671f\uff09\uff09"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Documentation/template page"
            },
            {
                "pageid": 29,
                "revisions": [
                    {
                        "revid": 32,
                        "parentid": 0,
                        "user": "Saka",
                        "timestamp": "2013-09-15T20:58:20Z",
                        "comment": "\u4ee5\u201c<!--  Please do not edit without discussion first as this is a VERY complex template.  -->{{#switch:{{{border|{{{1|}}}}}}|subgroup|child=</div>|none=|#default=<table...\u201d\u4e3a\u5185\u5bb9\u521b\u5efa\u9875\u9762"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Navbox"
            },
            {
                "pageid": 30,
                "revisions": [
                    {
                        "revid": 33,
                        "parentid": 0,
                        "user": "Saka",
                        "timestamp": "2013-09-15T21:01:45Z",
                        "comment": "\u4ee5\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 */  /* \u7528\u4e8e\u9996\u9875 */ /* \u9996\u9875\u4e0d\u663e\u793a...\u201d\u4e3a\u5185\u5bb9\u521b\u5efa\u9875\u9762"
                    },
                    {
                        "revid": 34,
                        "parentid": 33,
                        "user": "Saka",
                        "timestamp": "2013-09-15T21:04:01Z",
                        "comment": ""
                    },
                    {
                        "revid": 40,
                        "parentid": 34,
                        "user": "Saka",
                        "timestamp": "2013-09-15T21:10:42Z",
                        "comment": ""
                    }
                ],
                "ns": 8,
                "title": "MediaWiki:Common.css"
            },
            {
                "pageid": 31,
                "revisions": [
                    {
                        "revid": 41,
                        "parentid": 0,
                        "user": "Saka",
                        "timestamp": "2013-09-15T21:20:00Z",
                        "comment": "\u4ee5\u201c * navigation ** mainpage|mainpage-description ** portal-url|portal ** currentevents-url|currentevents ** recentchanges-url|recentchanges ** randompage-url|randompag...\u201d\u4e3a\u5185\u5bb9\u521b\u5efa\u9875\u9762"
                    },
                    {
                        "revid": 42,
                        "parentid": 41,
                        "user": "Saka",
                        "timestamp": "2013-09-15T21:24:55Z",
                        "comment": ""
                    }
                ],
                "ns": 8,
                "title": "MediaWiki:Sidebar"
            },
            {
                "pageid": 32,
                "revisions": [
                    {
                        "revid": 43,
                        "parentid": 0,
                        "user": "Saka",
                        "timestamp": "2013-09-15T22:26:21Z",
                        "comment": "\u4ee5\u201c\u6b64\u6a21\u677f\u65b9\u4fbf\u6dfb\u52a0\u9ed1\u6761.  == \u4f7f\u7528\u65b9\u6cd5 ==  <pre style=\"overflow:auto;\"> {{\u9ed1\u6761|\u5185\u5bb9\u5185\u5bb9}} </pre>\u201d\u4e3a\u5185\u5bb9\u521b\u5efa\u9875\u9762"
                    },
                    {
                        "revid": 45,
                        "parentid": 43,
                        "user": "Saka",
                        "timestamp": "2013-09-15T22:27:56Z",
                        "comment": ""
                    },
                    {
                        "revid": 48,
                        "parentid": 45,
                        "user": "Saka",
                        "timestamp": "2013-09-15T22:45:07Z",
                        "comment": ""
                    },
                    {
                        "revid": 49,
                        "parentid": 48,
                        "user": "Saka",
                        "timestamp": "2013-09-15T22:48:38Z",
                        "comment": ""
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:\u9ed1\u6761/doc"
            },
            {
                "pageid": 33,
                "revisions": [
                    {
                        "revid": 50,
                        "parentid": 0,
                        "user": "Saka",
                        "timestamp": "2013-09-16T00:39:59Z",
                        "comment": "\u4ee5\u201c<includeonly><div class=\"center\" style=\"width:auto; margin-left:auto; margin-right:auto;\">{{{1}}}</div></includeonly><noinclude>{{documentation}}</noinclude>\u201d\u4e3a\u5185\u5bb9\u521b\u5efa\u9875\u9762"
                    },
                    {
                        "revid": 55,
                        "parentid": 50,
                        "user": "Saka",
                        "timestamp": "2013-09-16T01:10:51Z",
                        "comment": ""
                    },
                    {
                        "revid": 56,
                        "parentid": 55,
                        "user": "Saka",
                        "timestamp": "2013-09-16T01:11:05Z",
                        "comment": ""
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:\u5c45\u4e2d"
            },
            {
                "pageid": 34,
                "revisions": [
                    {
                        "revid": 51,
                        "parentid": 0,
                        "user": "Saka",
                        "timestamp": "2013-09-16T00:54:34Z",
                        "comment": "\u4ee5\u201c\u6587\u5b57\u5c45\u4e2d\u800c\u5df2\u90a3\u6837\u7684\u8bf4... == \u98df\u7528\u65b9\u6cd5 == {| class=\"wikitable\" |- ! \u4ee3\u7801 !! \u6548\u679c |- | <nowiki>{{center|\u5c45\u4e2d\u7684\u868a\u5b50}}</nowiki> || {{center|\u5c45\u4e2d...\u201d\u4e3a\u5185\u5bb9\u521b\u5efa\u9875\u9762"
                    },
                    {
                        "revid": 52,
                        "parentid": 51,
                        "user": "Saka",
                        "timestamp": "2013-09-16T00:54:54Z",
                        "comment": ""
                    },
                    {
                        "revid": 53,
                        "parentid": 52,
                        "user": "Saka",
                        "timestamp": "2013-09-16T01:07:00Z",
                        "comment": ""
                    },
                    {
                        "revid": 54,
                        "parentid": 53,
                        "user": "Saka",
                        "timestamp": "2013-09-16T01:07:26Z",
                        "comment": ""
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:\u5c45\u4e2d/doc"
            },
            {
                "pageid": 36,
                "revisions": [
                    {
                        "revid": 59,
                        "parentid": 0,
                        "user": "Saka",
                        "timestamp": "2013-09-16T01:40:57Z",
                        "comment": "\u4ee5\u201c<includeonly>{| style=\"margin:0 10%;border:1px solid #aaa;border-left:10px solid {{{color|#1e90ff}}};background:#fbfbfb;width:80%\" |- | style=\"padding: 2px 0 2px 0.5...\u201d\u4e3a\u5185\u5bb9\u521b\u5efa\u9875\u9762"
                    },
                    {
                        "revid": 60,
                        "parentid": 59,
                        "user": "Saka",
                        "timestamp": "2013-09-16T01:41:19Z",
                        "comment": ""
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:Info"
            }
        ]
    }
}