MediaWiki API 結果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "arvcontinue": "20160505012629|51",
        "continue": "-||"
    },
    "query": {
        "allrevisions": [
            {
                "pageid": 1,
                "revisions": [
                    {
                        "revid": 1,
                        "parentid": 0,
                        "user": "MediaWiki default",
                        "anon": "",
                        "timestamp": "2016-04-20T16:33:43Z",
                        "comment": ""
                    },
                    {
                        "revid": 3,
                        "parentid": 1,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-20T22:33:56Z",
                        "comment": "\u79fb\u9664\u6240\u6709\u9801\u9762\u5167\u5bb9"
                    },
                    {
                        "revid": 14,
                        "parentid": 3,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-20T23:55:05Z",
                        "comment": ""
                    },
                    {
                        "revid": 15,
                        "parentid": 14,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-20T23:56:15Z",
                        "comment": ""
                    },
                    {
                        "revid": 32,
                        "parentid": 15,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-21T03:00:21Z",
                        "comment": ""
                    },
                    {
                        "revid": 33,
                        "parentid": 32,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-21T03:10:39Z",
                        "comment": ""
                    },
                    {
                        "revid": 34,
                        "parentid": 33,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-21T03:19:50Z",
                        "comment": "/* \u6587\u4ef6\u88fd\u4f5c\u8981\u9818 */"
                    },
                    {
                        "revid": 36,
                        "parentid": 34,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-21T03:24:00Z",
                        "comment": ""
                    },
                    {
                        "revid": 37,
                        "parentid": 36,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-21T03:25:18Z",
                        "comment": "/* \u6587\u4ef6\u88fd\u4f5c\u8981\u9818 */"
                    },
                    {
                        "revid": 38,
                        "parentid": 37,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-21T03:25:52Z",
                        "comment": "/* \u6587\u4ef6\u88fd\u4f5c\u8981\u9818 */"
                    },
                    {
                        "revid": 39,
                        "parentid": 38,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-21T03:29:03Z",
                        "comment": "/* \u91cd\u8981\u5206\u985e */"
                    },
                    {
                        "revid": 42,
                        "parentid": 39,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-28T01:17:40Z",
                        "comment": ""
                    }
                ],
                "ns": 0,
                "title": "\u9996\u9801"
            },
            {
                "pageid": 2,
                "revisions": [
                    {
                        "revid": 2,
                        "parentid": 0,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-20T22:31:41Z",
                        "comment": "\u65b0\u9801\u9762: '''\u5df2\u6210\u529f\u5b89\u88ddMediaWiki\u3002'''  \u8acb\u53c3\u95b1 [//meta.wikimedia.org/wiki/Help:Contents \u4f7f\u7528\u8005\u624b\u518a] \u4ee5\u7372\u5f97\u4f7f\u7528\u6b64 wiki \u8edf\u9ad4\u7684\u8a0a\u606f\uff01  == \u5165\u9580 ==  * [//www.mediawiki.org/..."
                    }
                ],
                "ns": 0,
                "title": "Mediawiki \u5b89\u88dd\u5f8c\u9996\u9801"
            },
            {
                "pageid": 3,
                "revisions": [
                    {
                        "revid": 4,
                        "parentid": 0,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-20T22:54:56Z",
                        "comment": "\u8df3\u81f3\u9801\u9996\u4f7f\u7528\u4e4b\u5716\u793a"
                    }
                ],
                "ns": 6,
                "title": "\u6a94\u6848:Go top.gif"
            },
            {
                "pageid": 4,
                "revisions": [
                    {
                        "revid": 5,
                        "parentid": 0,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-20T22:59:49Z",
                        "comment": "\u65b0\u9801\u9762: [[file:\u65e5\u672c\u53f2\u8868\u89e3.svg]]"
                    },
                    {
                        "revid": 7,
                        "parentid": 5,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-20T23:04:03Z",
                        "comment": ""
                    },
                    {
                        "revid": 8,
                        "parentid": 7,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-20T23:05:20Z",
                        "comment": ""
                    },
                    {
                        "revid": 9,
                        "parentid": 8,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-20T23:22:38Z",
                        "comment": ""
                    },
                    {
                        "revid": 10,
                        "parentid": 9,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-20T23:43:56Z",
                        "comment": ""
                    },
                    {
                        "revid": 12,
                        "parentid": 10,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-20T23:54:16Z",
                        "comment": ""
                    },
                    {
                        "revid": 13,
                        "parentid": 12,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-20T23:54:30Z",
                        "comment": "\u79fb\u9664\u6240\u6709\u9801\u9762\u5167\u5bb9"
                    },
                    {
                        "revid": 40,
                        "parentid": 13,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-21T06:22:04Z",
                        "comment": ""
                    }
                ],
                "ns": 2,
                "title": "\u4f7f\u7528\u8005:\u4e01\u5fd7\u4ec1"
            },
            {
                "pageid": 5,
                "revisions": [
                    {
                        "revid": 6,
                        "parentid": 0,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-20T23:03:16Z",
                        "comment": "\u65b0\u9801\u9762: <p align='right'><linkedimage> wikipage=#top img_src=Go_top.gif tooltip=\u8df3\u9801\u9996 img_alt=\u8df3\u9801\u9996 </linkedimage></p>"
                    }
                ],
                "ns": 0,
                "title": "\u8df3\u81f3\u9801\u9996"
            },
            {
                "pageid": 6,
                "revisions": [
                    {
                        "revid": 11,
                        "parentid": 0,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-20T23:52:34Z",
                        "comment": "\u65b0\u9801\u9762: ==\u5e73\u53f0\u5b97\u65e8==  *\u5efa\u7acb\u4e00\u500b\u53ef\u6301\u7e8c\u7dad\u904b 10 \u5e74\u4ee5\u4e0a\u7684\u300c\u52d5\u624b\u505a\u79d1\u5b78\u300d\u7684\u5b78\u7fd2\u8cc7\u6e90\u5206\u4eab\u5e73\u53f0\u3002 *\u7dad\u904b\u4e00\u500b\u8207\u6b64\u5e73\u53f0\u4e92\u76f8\u652f\u6301\u7684\u793e\u7fa4\u3002 *\u63a8\u5ee3\u570b\u5167\u5916\u4eba..."
                    }
                ],
                "ns": 0,
                "title": "\u5168\u6c11\u79d1\u5b78\u5e73\u53f0\u8a08\u756b"
            },
            {
                "pageid": 7,
                "revisions": [
                    {
                        "revid": 16,
                        "parentid": 0,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-21T00:06:31Z",
                        "comment": "\u65b0\u9801\u9762: [[\u5206\u985e:\u52d5\u624b\u505a]] =\u864e\u514b\u4e5f\u760b\u72c2= ===\u4e00\u3001\u6559\u5b78\u76ee\u6a19\uff1a=== #\u80fd\u52d5\u624b\u5b8c\u6210\u4e00\u500b\u7c21\u6613\u986f\u5fae\u653e\u5927\u93e1 #\u80fd\u9806\u5229\u64cd\u4f5c\u81ea\u88fd\u986f\u5fae\u653e\u5927\u93e1 #\u80fd\u5229\u7528\u81ea\u88fd\u986f\u5fae\u653e\u5927\u93e1\u89c0..."
                    },
                    {
                        "revid": 17,
                        "parentid": 16,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-21T00:09:58Z",
                        "comment": ""
                    },
                    {
                        "revid": 18,
                        "parentid": 17,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-21T00:22:47Z",
                        "comment": "/* \uff08\u4e09\uff09\u7d44\u5408\uff1a */"
                    },
                    {
                        "revid": 19,
                        "parentid": 18,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-21T00:26:44Z",
                        "comment": "/* \uff08\u56db\uff09\u89c0\u5bdf */"
                    },
                    {
                        "revid": 20,
                        "parentid": 19,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-21T00:30:17Z",
                        "comment": ""
                    },
                    {
                        "revid": 21,
                        "parentid": 20,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-21T00:33:41Z",
                        "comment": ""
                    },
                    {
                        "revid": 45,
                        "parentid": 21,
                        "user": "\u67ef\u667a\u61f7",
                        "timestamp": "2016-04-29T08:29:51Z",
                        "comment": ""
                    },
                    {
                        "revid": 46,
                        "parentid": 45,
                        "user": "\u67ef\u667a\u61f7",
                        "timestamp": "2016-04-29T08:31:47Z",
                        "comment": "/* \u4e09\u3001\u6559\u5b78\u5668\u6750\uff1a */"
                    },
                    {
                        "revid": 47,
                        "parentid": 46,
                        "user": "\u67ef\u667a\u61f7",
                        "timestamp": "2016-04-29T08:32:26Z",
                        "comment": "/* \u4e09\u3001\u6559\u5b78\u5668\u6750\uff1a */"
                    },
                    {
                        "revid": 48,
                        "parentid": 47,
                        "user": "\u67ef\u667a\u61f7",
                        "timestamp": "2016-04-29T08:48:24Z",
                        "comment": "/* \uff08\u4e8c\uff09\u88fd\u4f5c\u93e1\u8eab */"
                    }
                ],
                "ns": 0,
                "title": "\u986f\u5fae\u653e\u5927\u93e1"
            },
            {
                "pageid": 8,
                "revisions": [
                    {
                        "revid": 22,
                        "parentid": 0,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-21T00:40:17Z",
                        "comment": "\u65b0\u9801\u9762: [[\u5206\u985e:\u52d5\u624b\u505a]] ===\u4e00\u3001\u6559\u5b78\u76ee\u6a19\uff1a=== #\u80fd\u52d5\u624b\u5b8c\u6210\u4e00\u500b\u7c21\u6613\u986f\u5fae\u653e\u5927\u93e1 #\u80fd\u5229\u7528\u81ea\u88fd\u986f\u5fae\u653e\u5927\u93e1\u89c0\u5bdf\u5230\u6c34\u4e2d\u5c0f\u52d5\u7269\u548c\u690d\u7269 #\u80fd\u9806\u5229\u64cd\u4f5c\u81ea\u88fd\u986f..."
                    }
                ],
                "ns": 0,
                "title": "\u986f\u5fae\u6295\u5f71\u6a5f"
            },
            {
                "pageid": 9,
                "revisions": [
                    {
                        "revid": 23,
                        "parentid": 0,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-21T01:49:51Z",
                        "comment": "\u65b0\u9801\u9762: [[\u5206\u985e:\u52d5\u624b\u505a]] ===\u4e00\u3001\u76ee\u7684=== \u4ee5\u81a0\u6c34\u548c\u787c\u7802\u70ba\u539f\u6599\uff0c\u88fd\u4f5c\u8df3\u8df3\u7403\u53caQQ\u7403\uff0c\u85c9\u8457\u8abf\u6574\u4e0d\u540c\u7684\u7d50\u5408\u6bd4\u4f8b\u53ca\u64cd\u4f5c\u65b9\u6cd5\uff0c\u8b93\u8df3\u8df3\u7403\u53ef\u4ee5\u8df3\u5f88\u9ad8\u3001QQ\u7403..."
                    },
                    {
                        "revid": 24,
                        "parentid": 23,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-21T01:57:01Z",
                        "comment": ""
                    },
                    {
                        "revid": 25,
                        "parentid": 24,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-21T01:58:32Z",
                        "comment": "/* (\u516d)\u8a08\u5206\u65b9\u5f0f */"
                    },
                    {
                        "revid": 26,
                        "parentid": 25,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-21T02:09:29Z",
                        "comment": "/* (\u516d)\u8a08\u5206\u65b9\u5f0f */"
                    },
                    {
                        "revid": 27,
                        "parentid": 26,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-21T02:14:23Z",
                        "comment": ""
                    },
                    {
                        "revid": 28,
                        "parentid": 27,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-21T02:17:36Z",
                        "comment": "/* \u4e94\u3001\u7af6\u8cfd\u6642\u9593 */"
                    },
                    {
                        "revid": 29,
                        "parentid": 28,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-21T02:34:03Z",
                        "comment": "/* (\u4e00)\u5927\u6703\u63d0\u4f9b */"
                    },
                    {
                        "revid": 30,
                        "parentid": 29,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-21T02:36:08Z",
                        "comment": "/* (\u4e00)\u5927\u6703\u63d0\u4f9b */"
                    },
                    {
                        "revid": 31,
                        "parentid": 30,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-21T02:40:38Z",
                        "comment": "/* (\u4e00)\u5927\u6703\u63d0\u4f9b */"
                    },
                    {
                        "revid": 41,
                        "parentid": 31,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-21T06:27:43Z",
                        "comment": ""
                    },
                    {
                        "revid": 43,
                        "parentid": 41,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-28T03:19:15Z",
                        "comment": ""
                    }
                ],
                "ns": 0,
                "title": "\u81a0\u6c34\u787c\u7802\u7403"
            },
            {
                "pageid": 10,
                "revisions": [
                    {
                        "revid": 35,
                        "parentid": 0,
                        "user": "\u4e01\u5fd7\u4ec1",
                        "timestamp": "2016-04-21T03:22:27Z",
                        "comment": "\u65b0\u9801\u9762: ==\u793a\u7bc4== ===\u5d4c\u5165\u5f71\u7247=== <videoflash>vjehSEVg31k</videoflash> ===\u6488\u53d6\u8cc7\u6599\u8868=== <sqltbl> sql=select page_id,page_title from wiki_page order by page_id tblhead=\u9801\u78bc;\u9801\u540d </..."
                    }
                ],
                "ns": 1,
                "title": "\u8a0e\u8ad6:\u9996\u9801"
            },
            {
                "pageid": 11,
                "revisions": [
                    {
                        "revid": 44,
                        "parentid": 0,
                        "user": "\u4e01\u79be",
                        "timestamp": "2016-04-29T01:48:04Z",
                        "comment": "\u65b0\u9801\u9762: ==\u7d50\u679c== #QQ\u7403(\u7d05\u8272\u90a3\u9846) #*\u787c\u7802\u6c34\u6eb6\u6db2\u7684\u6fc3\u5ea6\u70ba5% #*\u81a0\u6c34\u8207\u6c34\u6eb6\u6db2\u4e4b\u6df7\u5408\u6bd4\u4f8b\u70ba40g:6.5ml #*\u5f9e\u8207\u6211\u8eab\u9ad8\u540c\u7b49(159cm)\u7684\u9ad8\u5ea6\u4e1f\u4e0b\uff0c\u53ef\u5f48\u8d7740cm #*\u4e00\u76f4..."
                    }
                ],
                "ns": 0,
                "title": "\u81a0\u6c34\u787c\u7802\u7403/\u8a66\u4f5c"
            },
            {
                "pageid": 12,
                "revisions": [
                    {
                        "revid": 49,
                        "parentid": 0,
                        "user": "\u65bd\u99a8\u6ab8",
                        "timestamp": "2016-04-29T13:33:46Z",
                        "comment": "\u65b0\u9801\u9762: ===\u8a66\u4f5c=== *\u88fd\u4f5c\u904e\u7a0b\u56e0\u70ba\u6c92\u6709\u624b\u96fb\u7b52\u6240\u4ee5\u7528\u624b\u6a5f\u986f\u5fae\u93e1\u7684\u5149\u6e90\uff0c\u4f46\u5149\u6e90\u4e0d\u5920\u4e5f\u6c92\u6709\u805a\u7126\uff0c\u6240\u4ee5\u505a\u51fa\u4f86\u6bd4\u8f03\u96e3\u89c0\u5bdf\u3002 *\u82e5\u6c92\u6709\u76f4\u63a5\u53ef\u62c6\u982d\u7684\u624b\u96fb..."
                    }
                ],
                "ns": 0,
                "title": "\u986f\u5fae\u6295\u5f71\u6a5f/\u8a66\u4f5c"
            },
            {
                "pageid": 13,
                "revisions": [
                    {
                        "revid": 50,
                        "parentid": 0,
                        "user": "\u5ed6\u9032\u5fb7",
                        "timestamp": "2016-04-30T13:33:41Z",
                        "comment": "\u5f88\u9ad8\u8208\u7b2c\u4e00\u6b21 \u4f7f\u7528\u9019\u500b\u5f88\u6709\u610f\u7fa9\u7684\u7db2\u7ad9"
                    }
                ],
                "ns": 2,
                "title": "\u4f7f\u7528\u8005:\u5ed6\u9032\u5fb7"
            }
        ]
    }
}