MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "arvcontinue": "20220720174744|72",
        "continue": "-||"
    },
    "query": {
        "allrevisions": [
            {
                "pageid": 1,
                "revisions": [
                    {
                        "revid": 1,
                        "parentid": 0,
                        "user": "MediaWiki default",
                        "anon": "",
                        "timestamp": "2019-08-14T06:40:05Z",
                        "comment": ""
                    },
                    {
                        "revid": 44,
                        "parentid": 1,
                        "user": "57078402",
                        "timestamp": "2022-07-19T14:37:32Z",
                        "comment": ""
                    },
                    {
                        "revid": 45,
                        "parentid": 44,
                        "user": "57078402",
                        "timestamp": "2022-07-19T14:42:24Z",
                        "comment": ""
                    },
                    {
                        "revid": 46,
                        "parentid": 45,
                        "user": "57078402",
                        "timestamp": "2022-07-19T14:44:44Z",
                        "comment": ""
                    },
                    {
                        "revid": 47,
                        "parentid": 46,
                        "user": "57078402",
                        "timestamp": "2022-07-19T14:48:45Z",
                        "comment": ""
                    },
                    {
                        "revid": 49,
                        "parentid": 47,
                        "user": "57078402",
                        "timestamp": "2022-07-20T15:26:25Z",
                        "comment": ""
                    },
                    {
                        "revid": 54,
                        "parentid": 49,
                        "user": "57078402",
                        "timestamp": "2022-07-20T16:47:58Z",
                        "comment": ""
                    },
                    {
                        "revid": 63,
                        "parentid": 54,
                        "user": "57078402",
                        "timestamp": "2022-07-20T17:02:05Z",
                        "comment": ""
                    },
                    {
                        "revid": 65,
                        "parentid": 63,
                        "user": "57078402",
                        "timestamp": "2022-07-20T17:07:59Z",
                        "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": "System",
                        "timestamp": "2022-01-19T10:13:47Z",
                        "comment": "Semantic MediaWiki group import"
                    }
                ],
                "ns": 112,
                "title": "smw/schema:Group:Schema properties"
            },
            {
                "pageid": 10,
                "revisions": [
                    {
                        "revid": 10,
                        "parentid": 0,
                        "user": "System",
                        "timestamp": "2022-01-19T10:13:48Z",
                        "comment": "Semantic MediaWiki group import"
                    }
                ],
                "ns": 112,
                "title": "smw/schema:Group:Predefined properties"
            },
            {
                "pageid": 11,
                "revisions": [
                    {
                        "revid": 11,
                        "parentid": 0,
                        "user": "57078402",
                        "timestamp": "2022-07-19T13:49:47Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:Login bg.jpg"
            },
            {
                "pageid": 12,
                "revisions": [
                    {
                        "revid": 12,
                        "parentid": 0,
                        "user": "57078402",
                        "timestamp": "2022-07-19T13:51:16Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c/* \u8fd9\u91cc\u653e\u7f6e\u7684CSS\u5c06\u5e94\u7528\u4e8e\u6240\u6709\u76ae\u80a4 */  /* WIKI\u80cc\u666f\u56fe */ body { \tbackground:url(\"/images/sg2/7/79/i969hghj0t4ke3ok5sd9ei1spxg2k5y.jpg\") no-repeat fixed 50% 0; \tbackground-size:cover; } body,html { \twidth:100%; \theight:100%; \tpadding:0; \tmargin:0; \tfont-family: \"Lantinghei SC\",\"Open Sans\",Arial,\"Hiragino Sans GB\",\"Microsoft YaHei\",\"\u5fae\u8f6f\u96c5\u9ed1\",\"STHeiti\",\"WenQuanYi Micro Hei\",SimSun,sans-serif; }\u201d"
                    },
                    {
                        "revid": 42,
                        "parentid": 12,
                        "user": "57078402",
                        "timestamp": "2022-07-19T14:17:25Z",
                        "comment": ""
                    },
                    {
                        "revid": 43,
                        "parentid": 42,
                        "user": "57078402",
                        "timestamp": "2022-07-19T14:37:28Z",
                        "comment": ""
                    }
                ],
                "ns": 8,
                "title": "MediaWiki:Common.css"
            },
            {
                "pageid": 13,
                "revisions": [
                    {
                        "revid": 13,
                        "parentid": 0,
                        "user": "57078402",
                        "timestamp": "2022-07-19T14:02:30Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u7fa4\u96c4.png"
            },
            {
                "pageid": 14,
                "revisions": [
                    {
                        "revid": 14,
                        "parentid": 0,
                        "user": "57078402",
                        "timestamp": "2022-07-19T14:02:31Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u65f6\u7a7a.png"
            },
            {
                "pageid": 15,
                "revisions": [
                    {
                        "revid": 15,
                        "parentid": 0,
                        "user": "57078402",
                        "timestamp": "2022-07-19T14:02:31Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u8700\u56fd.png"
            },
            {
                "pageid": 16,
                "revisions": [
                    {
                        "revid": 16,
                        "parentid": 0,
                        "user": "57078402",
                        "timestamp": "2022-07-19T14:02:32Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u9b4f\u56fd.png"
            },
            {
                "pageid": 17,
                "revisions": [
                    {
                        "revid": 17,
                        "parentid": 0,
                        "user": "57078402",
                        "timestamp": "2022-07-19T14:02:32Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u5434\u56fd.png"
            },
            {
                "pageid": 18,
                "revisions": [
                    {
                        "revid": 18,
                        "parentid": 0,
                        "user": "57078402",
                        "timestamp": "2022-07-19T14:03:42Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u6b66\u5c06\u00b7\u767d\u9a6c\u516c\u5b59\u74d2.png"
            },
            {
                "pageid": 19,
                "revisions": [
                    {
                        "revid": 19,
                        "parentid": 0,
                        "user": "57078402",
                        "timestamp": "2022-07-19T14:03:42Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u6b66\u5c06\u00b7\u95ed\u6708\u8c82\u8749.png"
            },
            {
                "pageid": 20,
                "revisions": [
                    {
                        "revid": 20,
                        "parentid": 0,
                        "user": "57078402",
                        "timestamp": "2022-07-19T14:03:43Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u6b66\u5c06\u00b7\u9648\u5bab.png"
            },
            {
                "pageid": 21,
                "revisions": [
                    {
                        "revid": 21,
                        "parentid": 0,
                        "user": "57078402",
                        "timestamp": "2022-07-19T14:03:43Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u6b66\u5c06\u00b7\u5e1d\u7687\u4fa0.png"
            },
            {
                "pageid": 22,
                "revisions": [
                    {
                        "revid": 22,
                        "parentid": 0,
                        "user": "57078402",
                        "timestamp": "2022-07-19T14:03:44Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u6b66\u5c06\u00b7\u8c82\u8749.png"
            },
            {
                "pageid": 23,
                "revisions": [
                    {
                        "revid": 23,
                        "parentid": 0,
                        "user": "57078402",
                        "timestamp": "2022-07-19T14:03:44Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u6b66\u5c06\u00b7\u8463\u5353.png"
            },
            {
                "pageid": 24,
                "revisions": [
                    {
                        "revid": 24,
                        "parentid": 0,
                        "user": "57078402",
                        "timestamp": "2022-07-19T14:03:45Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u6b66\u5c06\u00b7\u534e\u4f57.png"
            },
            {
                "pageid": 25,
                "revisions": [
                    {
                        "revid": 25,
                        "parentid": 0,
                        "user": "57078402",
                        "timestamp": "2022-07-19T14:03:46Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u6b66\u5c06\u00b7\u60d1\u5fc3\u4e8e\u5409.png"
            },
            {
                "pageid": 26,
                "revisions": [
                    {
                        "revid": 26,
                        "parentid": 0,
                        "user": "57078402",
                        "timestamp": "2022-07-19T14:03:46Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u6b66\u5c06\u00b7\u59dc\u5b50\u7259.png"
            },
            {
                "pageid": 27,
                "revisions": [
                    {
                        "revid": 27,
                        "parentid": 0,
                        "user": "57078402",
                        "timestamp": "2022-07-19T14:03:47Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u6b66\u5c06\u00b7\u519b\u9600\u8463\u5353.png"
            },
            {
                "pageid": 28,
                "revisions": [
                    {
                        "revid": 28,
                        "parentid": 0,
                        "user": "57078402",
                        "timestamp": "2022-07-19T14:03:47Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u6b66\u5c06\u00b7\u5415\u5e03.png"
            },
            {
                "pageid": 29,
                "revisions": [
                    {
                        "revid": 29,
                        "parentid": 0,
                        "user": "57078402",
                        "timestamp": "2022-07-19T14:03:47Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u6b66\u5c06\u00b7\u5415\u73b2\u7eee.png"
            },
            {
                "pageid": 30,
                "revisions": [
                    {
                        "revid": 30,
                        "parentid": 0,
                        "user": "57078402",
                        "timestamp": "2022-07-19T14:03:48Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u6b66\u5c06\u00b7\u5343\u5e7b\u5de6\u6148.png"
            },
            {
                "pageid": 31,
                "revisions": [
                    {
                        "revid": 31,
                        "parentid": 0,
                        "user": "57078402",
                        "timestamp": "2022-07-19T14:03:48Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u6b66\u5c06\u00b7\u72ac\u591c\u53c9.png"
            },
            {
                "pageid": 32,
                "revisions": [
                    {
                        "revid": 32,
                        "parentid": 0,
                        "user": "57078402",
                        "timestamp": "2022-07-19T14:03:49Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u6b66\u5c06\u00b7\u5723\u624b\u534e\u4f57.png"
            },
            {
                "pageid": 33,
                "revisions": [
                    {
                        "revid": 33,
                        "parentid": 0,
                        "user": "57078402",
                        "timestamp": "2022-07-19T14:03:49Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u6b66\u5c06\u00b7\u5929\u5a01\u8881\u7ecd.png"
            },
            {
                "pageid": 34,
                "revisions": [
                    {
                        "revid": 34,
                        "parentid": 0,
                        "user": "57078402",
                        "timestamp": "2022-07-19T14:03:50Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u6b66\u5c06\u00b7\u536b\u5e84.png"
            },
            {
                "pageid": 35,
                "revisions": [
                    {
                        "revid": 35,
                        "parentid": 0,
                        "user": "57078402",
                        "timestamp": "2022-07-19T14:03:50Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u6b66\u5c06\u00b7\u65e0\u53cc\u5415\u5e03.png"
            },
            {
                "pageid": 36,
                "revisions": [
                    {
                        "revid": 36,
                        "parentid": 0,
                        "user": "57078402",
                        "timestamp": "2022-07-19T14:03:51Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u6b66\u5c06\u00b7\u9677\u9635\u9ad8\u987a.png"
            },
            {
                "pageid": 37,
                "revisions": [
                    {
                        "revid": 37,
                        "parentid": 0,
                        "user": "57078402",
                        "timestamp": "2022-07-19T14:03:51Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u6b66\u5c06\u00b7\u5c0f\u91d1\u521a.png"
            },
            {
                "pageid": 39,
                "revisions": [
                    {
                        "revid": 39,
                        "parentid": 0,
                        "user": "57078402",
                        "timestamp": "2022-07-19T14:03:52Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u6b66\u5c06\u00b7\u4e8e\u5409.png"
            },
            {
                "pageid": 40,
                "revisions": [
                    {
                        "revid": 40,
                        "parentid": 0,
                        "user": "57078402",
                        "timestamp": "2022-07-19T14:03:53Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u6b66\u5c06\u00b7\u6218\u795e\u5f20\u8fbd.png"
            },
            {
                "pageid": 41,
                "revisions": [
                    {
                        "revid": 41,
                        "parentid": 0,
                        "user": "57078402",
                        "timestamp": "2022-07-19T14:12:36Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c{{DISPLAYTITLE:\u95ed\u6708\u8c82\u8749}}\u201d"
                    }
                ],
                "ns": 0,
                "title": "\u6b66\u5c06/\u95ed\u6708\u8c82\u8749"
            }
        ]
    }
}