MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "arvcontinue": "20201203013644|52",
        "continue": "-||"
    },
    "query": {
        "allrevisions": [
            {
                "pageid": 1,
                "revisions": [
                    {
                        "revid": 1,
                        "parentid": 0,
                        "user": "MediaWiki default",
                        "anon": "",
                        "timestamp": "2020-11-24T05:09:59Z",
                        "comment": ""
                    },
                    {
                        "revid": 3,
                        "parentid": 1,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-11-29T14:22:28Z",
                        "comment": ""
                    },
                    {
                        "revid": 4,
                        "parentid": 3,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-11-29T14:22:58Z",
                        "comment": ""
                    },
                    {
                        "revid": 7,
                        "parentid": 4,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-11-29T14:33:36Z",
                        "comment": ""
                    },
                    {
                        "revid": 8,
                        "parentid": 7,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-11-29T15:07:13Z",
                        "comment": ""
                    },
                    {
                        "revid": 9,
                        "parentid": 8,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-11-30T01:03:38Z",
                        "comment": ""
                    },
                    {
                        "revid": 15,
                        "parentid": 9,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-12-02T08:51:23Z",
                        "comment": ""
                    },
                    {
                        "revid": 16,
                        "parentid": 15,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-12-02T08:56:58Z",
                        "comment": ""
                    }
                ],
                "ns": 0,
                "title": "\u9996\u9875"
            },
            {
                "pageid": 2,
                "revisions": [
                    {
                        "revid": 2,
                        "parentid": 0,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-11-27T14:06:44Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\u661f\u97f5\u5730\u7406\u767e\u79d1\u662f\u57fa\u4e8ewiki\u7cfb\u7edf\uff0c\u7531\u661f\u97f5\u5730\u7406\u7f51\u7528\u6237\u5f00\u653e\u7f16\u8f91\u7684\u5730\u7406\u4e3b\u9898\u767e\u79d1\u3002\u201d"
                    }
                ],
                "ns": 0,
                "title": "\u661f\u97f5\u5730\u7406\u767e\u79d1"
            },
            {
                "pageid": 3,
                "revisions": [
                    {
                        "revid": 5,
                        "parentid": 0,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-11-29T14:24:03Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\u661f\u97f5\uff0c\u661f\uff0c\u6307\u5b87\u5b99\u4e2d\u7684\u67d0\u4e00\u5929\u4f53\uff0c\u97f5\uff0c\u6307\u89c4\u5f8b\u610f\u5883\u3002\u201d"
                    }
                ],
                "ns": 0,
                "title": "\u661f\u97f5"
            },
            {
                "pageid": 4,
                "revisions": [
                    {
                        "revid": 6,
                        "parentid": 0,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-11-29T14:32:08Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\u6c5f\u82cf\u5e38\u5dde\u4eba\uff0c\u4e2d\u5171\u515a\u5458\uff0c1978\u5e748\u6708\u751f\uff0c\u4e2d\u56fd\u5730\u7406\u5b66\u4f1a\u4f1a\u5458\uff0c1995\u5e74\u514d\u8bd5\u5165\u5b66\u6c5f\u82cf\u7701\u524d\u9ec4\u9ad8\u7ea7\u4e2d\u5b66\uff0c1998\u5e74\u8003\u5165\u6dee\u9634\u5e08\u8303\u5b66\u9662\u5730\u7406\u2026\u201d"
                    },
                    {
                        "revid": 18,
                        "parentid": 6,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-12-02T08:59:05Z",
                        "comment": ""
                    }
                ],
                "ns": 0,
                "title": "\u666f\u8363"
            },
            {
                "pageid": 5,
                "revisions": [
                    {
                        "revid": 10,
                        "parentid": 0,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-11-30T01:08:27Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\u5468\u5149\u660e\uff0c\u4e0a\u6d77\u5e02\u95f5\u884c\u533a\u6559\u80b2\u5b66\u9662\uff0c\u5730\u7406\u6559\u7814\u5458\uff0c2015\u5e74\u8d77\u62c5\u5f53\u661f\u97f5\u5730\u7406\u7f51\u6267\u884c\u7ad9\u957f\uff0c\u7ec4\u7ec72015\u5e74\u4e0a\u6d77\u661f\u97f5\u5730\u7406\u7814\u8ba8\u4f1a\u3002\u201d"
                    }
                ],
                "ns": 0,
                "title": "\u5468\u5149\u660e"
            },
            {
                "pageid": 6,
                "revisions": [
                    {
                        "revid": 11,
                        "parentid": 0,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-11-30T05:01:45Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\u4e2d\u534e\u4eba\u6c11\u5171\u56fd\u548c\u56fd  \u76f4\u8f96\u5e02\uff084\u4e2a\uff09\uff1a \u5317\u4eac\u5e02\u3001\u4e0a\u6d77\u5e02\u3001\u5929\u6d25\u5e02\u3001\u91cd\u5e86\u5e02  \u7279\u522b\u884c\u653f\u533a\uff082\u4e2a\uff09\uff1a \u9999\u6e2f\u3001\u6fb3\u95e8  \u81ea\u6cbb\u533a\uff085\u4e2a\uff09\uff1a\u2026\u201d"
                    },
                    {
                        "revid": 12,
                        "parentid": 11,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-11-30T05:02:24Z",
                        "comment": ""
                    }
                ],
                "ns": 0,
                "title": "\u4e2d\u56fd\u884c\u653f\u533a\u5212"
            },
            {
                "pageid": 7,
                "revisions": [
                    {
                        "revid": 13,
                        "parentid": 0,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-11-30T05:07:30Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\u6c5f\u82cf\uff0c\u7b80\u79f0\u201c\u82cf\u201d\uff0c\u662f\u4e2d\u534e\u4eba\u6c11\u5171\u548c\u56fd\u7701\u7ea7\u884c\u653f\u533a\u3002\u7701\u4f1a\u5357\u4eac\u5e02\uff0c\u4f4d\u4e8e\u957f\u6c5f\u4e09\u89d2\u6d32\u5730\u533a\uff0c\u4e2d\u56fd\u5927\u9646\u4e1c\u90e8\u6cbf\u6d77\uff0c\u6c5f\u82cf\u754c\u4e8e\u5317\u7eac30\u2026\u201d"
                    },
                    {
                        "revid": 14,
                        "parentid": 13,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-11-30T05:11:25Z",
                        "comment": ""
                    }
                ],
                "ns": 0,
                "title": "\u6c5f\u82cf\u7701"
            },
            {
                "pageid": 8,
                "revisions": [
                    {
                        "revid": 17,
                        "parentid": 0,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-12-02T08:57:26Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c[[\u666f\u8363]]\u201d"
                    }
                ],
                "ns": 0,
                "title": "\u661f\u97f5\u5730\u7406\u767e\u79d1\u5171\u521b\u56e2\u961f"
            },
            {
                "pageid": 9,
                "revisions": [
                    {
                        "revid": 19,
                        "parentid": 0,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-12-02T09:04:22Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\u3000\u3000\u661f\u97f5\u5730\u7406\u7814\u8ba8\u4f1a\u662f\u661f\u97f5\u5730\u7406\u7f51\u7ad9\u7ec4\u7ec7\u7684\u5168\u56fd\u6027\u5730\u7406\u6559\u5e08\u7f51\u7edc\u6559\u7814\u73b0\u573a\u4f1a\u8bae\uff0c\u6bcf\u5e748\u67081\u65e5\u62a5\u5230\uff0c8\u67082-3\u65e5\u6b63\u5f0f\u4f1a\u8bae\uff0c\u4f1a\u540e\u7ec4\u7ec7\u2026\u201d"
                    },
                    {
                        "revid": 20,
                        "parentid": 19,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-12-02T09:06:05Z",
                        "comment": "/* 2012\u5e74\u6e56\u5317\u6b66\u6c49 */"
                    },
                    {
                        "revid": 21,
                        "parentid": 20,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-12-02T09:06:40Z",
                        "comment": "/* 2013\u5e74\u6c5f\u82cf\u6ea7\u9633 */"
                    },
                    {
                        "revid": 22,
                        "parentid": 21,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-12-02T09:07:17Z",
                        "comment": "/* 2010\u5e74\u5b89\u5fbd\u6dee\u5357 */"
                    },
                    {
                        "revid": 23,
                        "parentid": 22,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-12-02T09:07:37Z",
                        "comment": "/* 2011\u5e74\u56db\u5ddd\u6210\u90fd */"
                    },
                    {
                        "revid": 24,
                        "parentid": 23,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-12-02T09:08:08Z",
                        "comment": "/* 2014\u5e74\u91cd\u5e86 */"
                    },
                    {
                        "revid": 25,
                        "parentid": 24,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-12-02T09:08:30Z",
                        "comment": "/* 2015\u5e74\u4e0a\u6d77 */"
                    },
                    {
                        "revid": 26,
                        "parentid": 25,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-12-02T09:09:14Z",
                        "comment": "/* 2016\u5e74\u6cb3\u5357\u90d1\u5dde */"
                    },
                    {
                        "revid": 27,
                        "parentid": 26,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-12-02T09:09:59Z",
                        "comment": "/* 2017\u5e74\u798f\u5efa\u798f\u5dde */"
                    },
                    {
                        "revid": 28,
                        "parentid": 27,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-12-02T09:10:33Z",
                        "comment": "/* 2018\u5e74\u6e56\u5357\u957f\u6c99 */"
                    },
                    {
                        "revid": 29,
                        "parentid": 28,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-12-02T09:10:50Z",
                        "comment": "/* 2019\u5e74\u8d35\u5dde\u9075\u4e49 */"
                    },
                    {
                        "revid": 30,
                        "parentid": 29,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-12-02T09:11:28Z",
                        "comment": ""
                    },
                    {
                        "revid": 31,
                        "parentid": 30,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-12-02T09:12:11Z",
                        "comment": ""
                    },
                    {
                        "revid": 32,
                        "parentid": 31,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-12-02T09:16:55Z",
                        "comment": ""
                    }
                ],
                "ns": 0,
                "title": "\u661f\u97f5\u5730\u7406\u7814\u8ba8\u4f1a"
            },
            {
                "pageid": 10,
                "revisions": [
                    {
                        "revid": 33,
                        "parentid": 0,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-12-02T09:22:01Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\u3000\u3000\u6839\u636e\u4e16\u754c\u6c14\u8c61\u7ec4\u7ec7\uff08WMO\uff09\u548c\u8054\u5408\u56fd\u6559\u79d1\u6587\u7ec4\u7ec7\uff08UNESCO\uff09\u7684\u300aINTERNATIONAL GLOSSARY OF HYDROLOGY\u300b\uff08\u56fd\u9645\u6c34\u6587\u5b66\u540d\u8bcd\u672f\u8bed\uff0c\u7b2c\u4e09\u7248\u2026\u201d"
                    },
                    {
                        "revid": 34,
                        "parentid": 33,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-12-02T09:24:47Z",
                        "comment": ""
                    },
                    {
                        "revid": 36,
                        "parentid": 34,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-12-02T09:26:15Z",
                        "comment": ""
                    },
                    {
                        "revid": 37,
                        "parentid": 36,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-12-02T09:29:44Z",
                        "comment": ""
                    },
                    {
                        "revid": 38,
                        "parentid": 37,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-12-02T09:31:18Z",
                        "comment": "/* \u4e2d\u56fd\u6c34\u6c61\u67d3 */"
                    },
                    {
                        "revid": 39,
                        "parentid": 38,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-12-02T09:31:38Z",
                        "comment": "/* \u4e2d\u56fd\u6c34\u6c61\u67d3 */"
                    },
                    {
                        "revid": 40,
                        "parentid": 39,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-12-02T09:39:05Z",
                        "comment": ""
                    },
                    {
                        "revid": 41,
                        "parentid": 40,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-12-02T09:39:29Z",
                        "comment": "/* \u5468\u671f\u6027 */"
                    },
                    {
                        "revid": 42,
                        "parentid": 41,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-12-02T09:39:48Z",
                        "comment": "/* \u4e16\u754c\u6c34\u8d44\u6e90 */"
                    },
                    {
                        "revid": 43,
                        "parentid": 42,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-12-02T09:40:52Z",
                        "comment": "/* \u73b0\u72b6\u89e3\u51b3\u9014\u5f84 */"
                    }
                ],
                "ns": 0,
                "title": "\u6c34\u8d44\u6e90"
            },
            {
                "pageid": 12,
                "revisions": [
                    {
                        "revid": 44,
                        "parentid": 0,
                        "user": "\u666f\u8363",
                        "timestamp": "2020-12-02T15:44:25Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\u3000\u3000\u661f\u97f5\u5730\u7406\u767e\u79d1\u662f\u7531\u661f\u97f5\u5730\u7406\u7f51\u5168\u4f53\u7528\u6237\u5171\u540c\u7f16\u8f91\u7684\u4e92\u52a8\u767e\u79d1\uff0c\u6240\u6709\u5185\u5bb9\u5747\u8981\u6c42\u6709\u660e\u786e\u7684\u51fa\u5904\uff0c\u7f16\u8f91\u56e2\u961f\u4e5f\u5b58\u5728\u8fdb\u5ea6\u7684\u5dee\u5f02\u2026\u201d"
                    }
                ],
                "ns": 4,
                "title": "\u661f\u97f5\u5730\u7406\u767e\u79d1:\u514d\u8d23\u58f0\u660e"
            },
            {
                "pageid": 13,
                "revisions": [
                    {
                        "revid": 45,
                        "parentid": 0,
                        "user": "\u96e8\u591c\u6f5c\u884c",
                        "timestamp": "2020-12-03T01:28:44Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c * navigation ** mainpage|mainpage-description ** recentchanges-url|recentchanges ** randompage-url|randompage ** helppage|help * SEARCH ** helppage|help * TOOLBOX *\u2026\u201d"
                    },
                    {
                        "revid": 46,
                        "parentid": 45,
                        "user": "\u96e8\u591c\u6f5c\u884c",
                        "timestamp": "2020-12-03T01:29:13Z",
                        "comment": ""
                    },
                    {
                        "revid": 47,
                        "parentid": 46,
                        "user": "\u96e8\u591c\u6f5c\u884c",
                        "timestamp": "2020-12-03T01:34:53Z",
                        "comment": ""
                    },
                    {
                        "revid": 48,
                        "parentid": 47,
                        "user": "\u96e8\u591c\u6f5c\u884c",
                        "timestamp": "2020-12-03T01:35:17Z",
                        "comment": ""
                    },
                    {
                        "revid": 49,
                        "parentid": 48,
                        "user": "\u96e8\u591c\u6f5c\u884c",
                        "timestamp": "2020-12-03T01:35:26Z",
                        "comment": ""
                    },
                    {
                        "revid": 50,
                        "parentid": 49,
                        "user": "\u96e8\u591c\u6f5c\u884c",
                        "timestamp": "2020-12-03T01:35:38Z",
                        "comment": ""
                    },
                    {
                        "revid": 51,
                        "parentid": 50,
                        "user": "\u96e8\u591c\u6f5c\u884c",
                        "timestamp": "2020-12-03T01:35:52Z",
                        "comment": ""
                    }
                ],
                "ns": 8,
                "title": "MediaWiki:Sidebar"
            }
        ]
    }
}