MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "arvcontinue": "20200403043348|57",
        "continue": "-||"
    },
    "query": {
        "allrevisions": [
            {
                "pageid": 1,
                "revisions": [
                    {
                        "revid": 1,
                        "parentid": 0,
                        "user": "MediaWiki default",
                        "anon": "",
                        "timestamp": "2019-08-14T06:40:05Z",
                        "comment": ""
                    },
                    {
                        "revid": 9,
                        "parentid": 1,
                        "user": "35093508",
                        "timestamp": "2020-04-02T04:49:09Z",
                        "comment": "/* \u5165\u95e8 */"
                    },
                    {
                        "revid": 10,
                        "parentid": 9,
                        "user": "35093508",
                        "timestamp": "2020-04-02T04:51:58Z",
                        "comment": "/* \u8230\u7075\u56fe\u9274 */"
                    },
                    {
                        "revid": 25,
                        "parentid": 10,
                        "user": "35093508",
                        "timestamp": "2020-04-02T06:57:17Z",
                        "comment": "/* \u8230\u7075\u56fe\u9274 */"
                    },
                    {
                        "revid": 26,
                        "parentid": 25,
                        "user": "35093508",
                        "timestamp": "2020-04-02T06:58:08Z",
                        "comment": "/* \u8230\u7075\u56fe\u9274 */"
                    },
                    {
                        "revid": 28,
                        "parentid": 26,
                        "user": "35093508",
                        "timestamp": "2020-04-02T07:30:06Z",
                        "comment": "/* \u8230\u7075\u56fe\u9274 */"
                    },
                    {
                        "revid": 30,
                        "parentid": 28,
                        "user": "35093508",
                        "timestamp": "2020-04-02T07:41:07Z",
                        "comment": "/* \u8230\u7075\u56fe\u9274 */"
                    },
                    {
                        "revid": 34,
                        "parentid": 30,
                        "user": "35093508",
                        "timestamp": "2020-04-02T14:34:15Z",
                        "comment": "/* \u8230\u7075\u56fe\u9274 */"
                    },
                    {
                        "revid": 35,
                        "parentid": 34,
                        "user": "35093508",
                        "timestamp": "2020-04-02T14:35:09Z",
                        "comment": "/* \u8230\u7075\u56fe\u9274 */"
                    },
                    {
                        "revid": 36,
                        "parentid": 35,
                        "user": "35093508",
                        "timestamp": "2020-04-02T14:38:01Z",
                        "comment": "/* \u8230\u7075\u56fe\u9274 */"
                    },
                    {
                        "revid": 44,
                        "parentid": 36,
                        "user": "35093508",
                        "timestamp": "2020-04-02T15:06:26Z",
                        "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": 9,
                "revisions": [
                    {
                        "revid": 11,
                        "parentid": 0,
                        "user": "35093508",
                        "timestamp": "2020-04-02T05:16:36Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c{| class=\"wikitable\" |- ! \u6807\u9898\u6587\u5b57 !! \u6807\u9898\u6587\u5b57 !! \u6807\u9898\u6587\u5b57 |- | \u793a\u4f8b || \u793a\u4f8b || \u793a\u4f8b |- | \u793a\u4f8b || \u793a\u4f8b || \u793a\u4f8b |- | \u793a\u4f8b || \u793a\u4f8b || \u793a\u2026\u201d"
                    },
                    {
                        "revid": 12,
                        "parentid": 11,
                        "user": "35093508",
                        "timestamp": "2020-04-02T05:18:19Z",
                        "comment": ""
                    },
                    {
                        "revid": 13,
                        "parentid": 12,
                        "user": "35093508",
                        "timestamp": "2020-04-02T05:28:21Z",
                        "comment": ""
                    },
                    {
                        "revid": 14,
                        "parentid": 13,
                        "user": "35093508",
                        "timestamp": "2020-04-02T05:30:57Z",
                        "comment": ""
                    },
                    {
                        "revid": 15,
                        "parentid": 14,
                        "user": "35093508",
                        "timestamp": "2020-04-02T05:31:24Z",
                        "comment": ""
                    },
                    {
                        "revid": 16,
                        "parentid": 15,
                        "user": "35093508",
                        "timestamp": "2020-04-02T05:40:34Z",
                        "comment": ""
                    },
                    {
                        "revid": 17,
                        "parentid": 16,
                        "user": "35093508",
                        "timestamp": "2020-04-02T06:00:52Z",
                        "comment": ""
                    },
                    {
                        "revid": 19,
                        "parentid": 17,
                        "user": "35093508",
                        "timestamp": "2020-04-02T06:02:38Z",
                        "comment": ""
                    },
                    {
                        "revid": 20,
                        "parentid": 19,
                        "user": "35093508",
                        "timestamp": "2020-04-02T06:04:37Z",
                        "comment": ""
                    },
                    {
                        "revid": 21,
                        "parentid": 20,
                        "user": "35093508",
                        "timestamp": "2020-04-02T06:18:48Z",
                        "comment": ""
                    },
                    {
                        "revid": 22,
                        "parentid": 21,
                        "user": "35093508",
                        "timestamp": "2020-04-02T06:26:30Z",
                        "comment": ""
                    },
                    {
                        "revid": 23,
                        "parentid": 22,
                        "user": "35093508",
                        "timestamp": "2020-04-02T06:47:37Z",
                        "comment": ""
                    },
                    {
                        "revid": 32,
                        "parentid": 23,
                        "user": "35093508",
                        "timestamp": "2020-04-02T11:15:27Z",
                        "comment": ""
                    }
                ],
                "ns": 0,
                "title": "Z1\uff08\u6cfd\u65af\u6258\u5c14-1\uff09"
            },
            {
                "pageid": 11,
                "revisions": [
                    {
                        "revid": 24,
                        "parentid": 0,
                        "user": "35093508",
                        "timestamp": "2020-04-02T05:58:49Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:1034-Z1.png"
            },
            {
                "pageid": 10,
                "revisions": [
                    {
                        "revid": 18,
                        "parentid": 0,
                        "user": "35093508",
                        "timestamp": "2020-04-02T06:01:55Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:Z1.png"
            },
            {
                "pageid": 12,
                "revisions": [
                    {
                        "revid": 27,
                        "parentid": 0,
                        "user": "35093508",
                        "timestamp": "2020-04-02T07:29:48Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:11034-Z1 R 180X180.png"
            },
            {
                "pageid": 16,
                "revisions": [
                    {
                        "revid": 37,
                        "parentid": 0,
                        "user": "35093508",
                        "timestamp": "2020-04-02T14:57:02Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c * \u9996\u9875 ** mainpage|mainpage-description ** recentchanges-url|recentchanges ** randompage-url|randompage ** helppage|help-mediawiki * \u8230\u7075\u56fe\u9274 * \u653b\u7565\u76f8\u5173 *\u2026\u201d"
                    },
                    {
                        "revid": 38,
                        "parentid": 37,
                        "user": "35093508",
                        "timestamp": "2020-04-02T14:59:02Z",
                        "comment": ""
                    },
                    {
                        "revid": 39,
                        "parentid": 38,
                        "user": "35093508",
                        "timestamp": "2020-04-02T15:00:06Z",
                        "comment": ""
                    },
                    {
                        "revid": 40,
                        "parentid": 39,
                        "user": "35093508",
                        "timestamp": "2020-04-02T15:01:13Z",
                        "comment": ""
                    },
                    {
                        "revid": 42,
                        "parentid": 40,
                        "user": "35093508",
                        "timestamp": "2020-04-02T15:03:15Z",
                        "comment": ""
                    },
                    {
                        "revid": 43,
                        "parentid": 42,
                        "user": "35093508",
                        "timestamp": "2020-04-02T15:05:20Z",
                        "comment": ""
                    },
                    {
                        "revid": 45,
                        "parentid": 43,
                        "user": "35093508",
                        "timestamp": "2020-04-02T15:06:52Z",
                        "comment": ""
                    },
                    {
                        "revid": 47,
                        "parentid": 45,
                        "user": "35093508",
                        "timestamp": "2020-04-02T15:08:34Z",
                        "comment": ""
                    },
                    {
                        "revid": 48,
                        "parentid": 47,
                        "user": "35093508",
                        "timestamp": "2020-04-03T01:52:42Z",
                        "comment": ""
                    },
                    {
                        "revid": 56,
                        "parentid": 48,
                        "user": "35093508",
                        "timestamp": "2020-04-03T04:27:59Z",
                        "comment": ""
                    }
                ],
                "ns": 8,
                "title": "MediaWiki:Sidebar"
            },
            {
                "pageid": 17,
                "revisions": [
                    {
                        "revid": 41,
                        "parentid": 0,
                        "user": "35093508",
                        "timestamp": "2020-04-02T15:01:58Z",
                        "comment": "\u521b\u5efa\u7a7a\u767d\u9875\u9762"
                    }
                ],
                "ns": 0,
                "title": "\u5efa\u9020\u65f6\u95f4"
            },
            {
                "pageid": 19,
                "revisions": [
                    {
                        "revid": 49,
                        "parentid": 0,
                        "user": "35093508",
                        "timestamp": "2020-04-03T01:53:21Z",
                        "comment": "\u521b\u5efa\u7a7a\u767d\u9875\u9762"
                    }
                ],
                "ns": 0,
                "title": "\u9e23\u8c22"
            },
            {
                "pageid": 20,
                "revisions": [
                    {
                        "revid": 50,
                        "parentid": 0,
                        "user": "394339",
                        "timestamp": "2020-04-03T02:56:22Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\u672cWIKI\u7531[https://space.bilibili.com/8128068 \u987e\u5411\u5317\u7684\u5c0f\u53a8\u623fwww]\u7533\u8bf7\u4e8e2020\u5e7404\u670802\u65e5\u521b\u5efa\uff0c\u7f16\u8f91\u6743\u9650\u5f00\u653e\uff0c\u5982\u9047[https://wiki.biligame.com/wiki/\u2026\u201d"
                    }
                ],
                "ns": 8,
                "title": "MediaWiki:Sitenotice"
            },
            {
                "pageid": 21,
                "revisions": [
                    {
                        "revid": 51,
                        "parentid": 0,
                        "user": "35093508",
                        "timestamp": "2020-04-03T03:21:47Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c/* \u8fd9\u91cc\u653e\u7f6e\u7684CSS\u5c06\u5e94\u7528\u4e8e\u6240\u6709\u76ae\u80a4 */ .img-kk { \tdisplay: inline-block; \theight: auto; \tpadding: 0px; \tmax-width:100%; \tline-height: 1.42857143; \t-webkit-\u2026\u201d"
                    }
                ],
                "ns": 8,
                "title": "MediaWiki:Common.css"
            },
            {
                "pageid": 24,
                "revisions": [
                    {
                        "revid": 54,
                        "parentid": 0,
                        "user": "35093508",
                        "timestamp": "2020-04-03T04:16:16Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c[[{{{1}}}|<span class=\"bili-section-normal section-wrap\" style=\"margin:5px 5px 5px 0px\">{{{2}}}</span>]]\u201d"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:\u6309\u94ae"
            },
            {
                "pageid": 25,
                "revisions": [
                    {
                        "revid": 55,
                        "parentid": 0,
                        "user": "35093508",
                        "timestamp": "2020-04-03T04:22:48Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<div class=\"game-introduction\" style=\"margin-bottom:40px\"> <div class=\"bili-title-h1\">\u5173\u5361\u653b\u7565</div> <div class=\"bili-divider\" style=\"background:#000000\"></div>\u2026\u201d"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:\u5173\u5361\u653b\u7565"
            }
        ]
    }
}