MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "arvcontinue": "20200317060737|51",
        "continue": "-||"
    },
    "query": {
        "allrevisions": [
            {
                "pageid": 1,
                "revisions": [
                    {
                        "revid": 1,
                        "parentid": 0,
                        "user": "MediaWiki default",
                        "anon": "",
                        "timestamp": "2019-08-14T06:40:05Z",
                        "comment": ""
                    },
                    {
                        "revid": 12,
                        "parentid": 1,
                        "user": "3570506",
                        "timestamp": "2020-03-16T10:55:22Z",
                        "comment": ""
                    },
                    {
                        "revid": 13,
                        "parentid": 12,
                        "user": "3570506",
                        "timestamp": "2020-03-16T10:58:48Z",
                        "comment": ""
                    },
                    {
                        "revid": 25,
                        "parentid": 13,
                        "user": "3570506",
                        "timestamp": "2020-03-16T11:11:17Z",
                        "comment": ""
                    },
                    {
                        "revid": 26,
                        "parentid": 25,
                        "user": "3570506",
                        "timestamp": "2020-03-16T11:12:06Z",
                        "comment": ""
                    },
                    {
                        "revid": 27,
                        "parentid": 26,
                        "user": "3570506",
                        "timestamp": "2020-03-16T11:14:15Z",
                        "comment": ""
                    },
                    {
                        "revid": 30,
                        "parentid": 27,
                        "user": "3570506",
                        "timestamp": "2020-03-16T11:39:17Z",
                        "comment": ""
                    },
                    {
                        "revid": 33,
                        "parentid": 30,
                        "user": "3570506",
                        "timestamp": "2020-03-16T11:42:10Z",
                        "comment": ""
                    },
                    {
                        "revid": 34,
                        "parentid": 33,
                        "user": "3570506",
                        "timestamp": "2020-03-16T11:42:27Z",
                        "comment": ""
                    },
                    {
                        "revid": 38,
                        "parentid": 34,
                        "user": "3570506",
                        "timestamp": "2020-03-16T11:53:44Z",
                        "comment": ""
                    },
                    {
                        "revid": 40,
                        "parentid": 38,
                        "user": "9388102",
                        "timestamp": "2020-03-17T03:08:34Z",
                        "comment": ""
                    },
                    {
                        "revid": 41,
                        "parentid": 40,
                        "user": "9388102",
                        "timestamp": "2020-03-17T03:08:48Z",
                        "comment": ""
                    },
                    {
                        "revid": 42,
                        "parentid": 41,
                        "user": "9388102",
                        "timestamp": "2020-03-17T03:10:52Z",
                        "comment": ""
                    },
                    {
                        "revid": 48,
                        "parentid": 42,
                        "user": "3570506",
                        "timestamp": "2020-03-17T03:40:05Z",
                        "comment": ""
                    },
                    {
                        "revid": 50,
                        "parentid": 48,
                        "minor": "",
                        "user": "6215632",
                        "timestamp": "2020-03-17T05:14:36Z",
                        "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": 9,
                        "parentid": 0,
                        "user": "3570506",
                        "timestamp": "2020-03-16T09:10:18Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c * \u5bfc\u822a ** mainpage|mainpage-description ** recentchanges-url|recentchanges * \u653b\u7565|\u653b\u7565 * \u56fe\u9274|\u56fe\u9274 * amiibo|amiibo\u201d"
                    }
                ],
                "ns": 8,
                "title": "MediaWiki:Sidebar"
            },
            {
                "pageid": 10,
                "revisions": [
                    {
                        "revid": 10,
                        "parentid": 0,
                        "user": "3570506",
                        "timestamp": "2020-03-16T10:16:46Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:Pattern-leaves-white.jpg"
            },
            {
                "pageid": 11,
                "revisions": [
                    {
                        "revid": 11,
                        "parentid": 0,
                        "user": "3570506",
                        "timestamp": "2020-03-16T10:17:09Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c/* \u8fd9\u91cc\u653e\u7f6e\u7684CSS\u5c06\u5e94\u7528\u4e8e\u6240\u6709\u76ae\u80a4 */  /*\u7b5b\u9009\u6309\u94ae\u88ab\u9009\u4e2d*/ li.btn.cardSelectOption.selected {     color: #333 !important;     background-color: #e6e\u2026\u201d"
                    },
                    {
                        "revid": 14,
                        "parentid": 11,
                        "user": "3570506",
                        "timestamp": "2020-03-16T11:02:52Z",
                        "comment": ""
                    },
                    {
                        "revid": 15,
                        "parentid": 14,
                        "user": "3570506",
                        "timestamp": "2020-03-16T11:03:53Z",
                        "comment": ""
                    },
                    {
                        "revid": 28,
                        "parentid": 15,
                        "user": "3570506",
                        "timestamp": "2020-03-16T11:17:38Z",
                        "comment": ""
                    },
                    {
                        "revid": 29,
                        "parentid": 28,
                        "user": "3570506",
                        "timestamp": "2020-03-16T11:37:45Z",
                        "comment": ""
                    },
                    {
                        "revid": 32,
                        "parentid": 29,
                        "user": "3570506",
                        "timestamp": "2020-03-16T11:41:45Z",
                        "comment": ""
                    },
                    {
                        "revid": 35,
                        "parentid": 32,
                        "user": "3570506",
                        "timestamp": "2020-03-16T11:49:53Z",
                        "comment": ""
                    },
                    {
                        "revid": 39,
                        "parentid": 35,
                        "user": "3570506",
                        "timestamp": "2020-03-16T11:55:17Z",
                        "comment": ""
                    },
                    {
                        "revid": 43,
                        "parentid": 39,
                        "user": "3570506",
                        "timestamp": "2020-03-17T03:19:13Z",
                        "comment": ""
                    },
                    {
                        "revid": 44,
                        "parentid": 43,
                        "user": "3570506",
                        "timestamp": "2020-03-17T03:20:16Z",
                        "comment": ""
                    },
                    {
                        "revid": 49,
                        "parentid": 44,
                        "user": "3570506",
                        "timestamp": "2020-03-17T03:53:07Z",
                        "comment": ""
                    }
                ],
                "ns": 8,
                "title": "MediaWiki:Common.css"
            },
            {
                "pageid": 12,
                "revisions": [
                    {
                        "revid": 16,
                        "parentid": 0,
                        "user": "3570506",
                        "timestamp": "2020-03-16T11:05:44Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u58c1\u7eb8\u56fe\u9274.png"
            },
            {
                "pageid": 13,
                "revisions": [
                    {
                        "revid": 17,
                        "parentid": 0,
                        "user": "3570506",
                        "timestamp": "2020-03-16T11:05:44Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u866b\u56fe\u9274.png"
            },
            {
                "pageid": 14,
                "revisions": [
                    {
                        "revid": 18,
                        "parentid": 0,
                        "user": "3570506",
                        "timestamp": "2020-03-16T11:05:45Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u5316\u77f3\u56fe\u9274.png"
            },
            {
                "pageid": 15,
                "revisions": [
                    {
                        "revid": 19,
                        "parentid": 0,
                        "user": "3570506",
                        "timestamp": "2020-03-16T11:05:45Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u5bb6\u5177\u56fe\u9274.png"
            },
            {
                "pageid": 16,
                "revisions": [
                    {
                        "revid": 20,
                        "parentid": 0,
                        "user": "3570506",
                        "timestamp": "2020-03-16T11:05:46Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u6811\u56fe\u9274.png"
            },
            {
                "pageid": 17,
                "revisions": [
                    {
                        "revid": 21,
                        "parentid": 0,
                        "user": "3570506",
                        "timestamp": "2020-03-16T11:05:46Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u672a\u786e\u5b9a.png"
            },
            {
                "pageid": 18,
                "revisions": [
                    {
                        "revid": 22,
                        "parentid": 0,
                        "user": "3570506",
                        "timestamp": "2020-03-16T11:05:46Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u5c0f\u52a8\u7269\u56fe\u9274.png"
            },
            {
                "pageid": 19,
                "revisions": [
                    {
                        "revid": 23,
                        "parentid": 0,
                        "user": "3570506",
                        "timestamp": "2020-03-16T11:05:47Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u8863\u670d\u56fe\u9274.png"
            },
            {
                "pageid": 20,
                "revisions": [
                    {
                        "revid": 24,
                        "parentid": 0,
                        "user": "3570506",
                        "timestamp": "2020-03-16T11:05:47Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u9c7c\u56fe\u9274.png"
            },
            {
                "pageid": 21,
                "revisions": [
                    {
                        "revid": 31,
                        "parentid": 0,
                        "user": "3570506",
                        "timestamp": "2020-03-16T11:40:54Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<font style=\"color:#616875;font-size:18px\">{{{1}}}</font>\u201d"
                    },
                    {
                        "revid": 36,
                        "parentid": 31,
                        "user": "3570506",
                        "timestamp": "2020-03-16T11:49:57Z",
                        "comment": ""
                    },
                    {
                        "revid": 37,
                        "parentid": 36,
                        "user": "3570506",
                        "timestamp": "2020-03-16T11:50:03Z",
                        "comment": ""
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:\u9996\u9875\u5b57\u4f53"
            },
            {
                "pageid": 22,
                "revisions": [
                    {
                        "revid": 45,
                        "parentid": 0,
                        "user": "3570506",
                        "timestamp": "2020-03-17T03:38:14Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:Banner2020031701.png"
            },
            {
                "pageid": 23,
                "revisions": [
                    {
                        "revid": 46,
                        "parentid": 0,
                        "user": "3570506",
                        "timestamp": "2020-03-17T03:38:15Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:Banner2020031702.png"
            },
            {
                "pageid": 24,
                "revisions": [
                    {
                        "revid": 47,
                        "parentid": 0,
                        "user": "3570506",
                        "timestamp": "2020-03-17T03:38:16Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:Banner2020031703.png"
            }
        ]
    }
}