MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "arvcontinue": "20200211152915|45",
        "continue": "-||"
    },
    "query": {
        "allrevisions": [
            {
                "pageid": 890,
                "revisions": [
                    {
                        "revid": 1649,
                        "parentid": 1623,
                        "user": "19792332",
                        "timestamp": "2024-05-29T10:27:08Z",
                        "comment": "19792332\u4e0a\u4f20[[\u6587\u4ef6:\u5e15\u5c14\u74e6\u8482m.png]]\u7684\u65b0\u7248\u672c"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u5e15\u5c14\u74e6\u8482m.png"
            },
            {
                "pageid": 889,
                "revisions": [
                    {
                        "revid": 1651,
                        "parentid": 1622,
                        "user": "19792332",
                        "timestamp": "2024-05-29T10:27:08Z",
                        "comment": "19792332\u4e0a\u4f20[[\u6587\u4ef6:\u8fe6\u68a8n.png]]\u7684\u65b0\u7248\u672c"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u8fe6\u68a8n.png"
            },
            {
                "pageid": 893,
                "revisions": [
                    {
                        "revid": 1652,
                        "parentid": 1631,
                        "user": "19792332",
                        "timestamp": "2024-05-29T10:27:08Z",
                        "comment": "19792332\u4e0a\u4f20[[\u6587\u4ef6:\u5b99\u65af.png]]\u7684\u65b0\u7248\u672c"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u5b99\u65af.png"
            },
            {
                "pageid": 894,
                "revisions": [
                    {
                        "revid": 1653,
                        "parentid": 1632,
                        "user": "19792332",
                        "timestamp": "2024-05-29T10:27:08Z",
                        "comment": "19792332\u4e0a\u4f20[[\u6587\u4ef6:\u5b99\u65afm.png]]\u7684\u65b0\u7248\u672c"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u5b99\u65afm.png"
            },
            {
                "pageid": 2567,
                "revisions": [
                    {
                        "revid": 5498,
                        "parentid": 5477,
                        "user": "165818201",
                        "timestamp": "2024-05-29T10:27:08Z",
                        "comment": "165818201\u4e0a\u4f20[[\u6587\u4ef6:\u75af\u72c2.png]]\u7684\u65b0\u7248\u672c"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u75af\u72c2.png"
            },
            {
                "pageid": 2575,
                "revisions": [
                    {
                        "revid": 5500,
                        "parentid": 5486,
                        "user": "165818201",
                        "timestamp": "2024-05-29T10:27:08Z",
                        "comment": "165818201\u4e0a\u4f20[[\u6587\u4ef6:\u540e\u89c1\u4e4b\u660e.png]]\u7684\u65b0\u7248\u672c"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u540e\u89c1\u4e4b\u660e.png"
            },
            {
                "pageid": 2577,
                "revisions": [
                    {
                        "revid": 5501,
                        "parentid": 5488,
                        "user": "165818201",
                        "timestamp": "2024-05-29T10:27:08Z",
                        "comment": "165818201\u4e0a\u4f20[[\u6587\u4ef6:\u5148\u89c1\u4e4b\u660e.png]]\u7684\u65b0\u7248\u672c"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u5148\u89c1\u4e4b\u660e.png"
            },
            {
                "pageid": 1,
                "revisions": [
                    {
                        "revid": 1,
                        "parentid": 0,
                        "user": "MediaWiki default",
                        "anon": "",
                        "timestamp": "2019-08-14T06:40:05Z",
                        "comment": ""
                    },
                    {
                        "revid": 9,
                        "parentid": 1,
                        "user": "14478655",
                        "timestamp": "2020-02-10T10:03:28Z",
                        "comment": ""
                    },
                    {
                        "revid": 10,
                        "parentid": 9,
                        "user": "14478655",
                        "timestamp": "2020-02-10T10:23:19Z",
                        "comment": ""
                    },
                    {
                        "revid": 13,
                        "parentid": 10,
                        "user": "14478655",
                        "timestamp": "2020-02-10T16:48:25Z",
                        "comment": ""
                    },
                    {
                        "revid": 14,
                        "parentid": 13,
                        "user": "14478655",
                        "timestamp": "2020-02-10T16:48:46Z",
                        "comment": ""
                    },
                    {
                        "revid": 18,
                        "parentid": 14,
                        "user": "14478655",
                        "timestamp": "2020-02-11T13:21:19Z",
                        "comment": ""
                    },
                    {
                        "revid": 24,
                        "parentid": 18,
                        "minor": "",
                        "user": "20923820",
                        "timestamp": "2020-02-11T13:44:17Z",
                        "comment": ""
                    },
                    {
                        "revid": 31,
                        "parentid": 24,
                        "user": "20923820",
                        "timestamp": "2020-02-11T14:00:42Z",
                        "comment": ""
                    },
                    {
                        "revid": 33,
                        "parentid": 31,
                        "minor": "",
                        "user": "20923820",
                        "timestamp": "2020-02-11T14:15:40Z",
                        "comment": ""
                    },
                    {
                        "revid": 36,
                        "parentid": 33,
                        "user": "14478655",
                        "timestamp": "2020-02-11T14:41:00Z",
                        "comment": ""
                    },
                    {
                        "revid": 38,
                        "parentid": 36,
                        "user": "14478655",
                        "timestamp": "2020-02-11T14:43:17Z",
                        "comment": ""
                    },
                    {
                        "revid": 39,
                        "parentid": 38,
                        "user": "14478655",
                        "timestamp": "2020-02-11T14:44:44Z",
                        "comment": ""
                    },
                    {
                        "revid": 41,
                        "parentid": 39,
                        "user": "20923820",
                        "timestamp": "2020-02-11T14:57:25Z",
                        "comment": ""
                    },
                    {
                        "revid": 42,
                        "parentid": 41,
                        "user": "20923820",
                        "timestamp": "2020-02-11T15:12:56Z",
                        "comment": ""
                    },
                    {
                        "revid": 43,
                        "parentid": 42,
                        "user": "20923820",
                        "timestamp": "2020-02-11T15:13:46Z",
                        "comment": ""
                    },
                    {
                        "revid": 44,
                        "parentid": 43,
                        "user": "20923820",
                        "timestamp": "2020-02-11T15:25:10Z",
                        "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": "14478655",
                        "timestamp": "2020-02-10T10:23:38Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<noinclude>{{\u9762\u5305\u5c51}}<!--david082321--></noinclude><includeonly><div id=biliCarousel1 class=\"carousel slide big-carousel\" data-ride=carousel data-interval=5000 st\u2026\u201d"
                    },
                    {
                        "revid": 37,
                        "parentid": 11,
                        "minor": "",
                        "user": "14478655",
                        "timestamp": "2020-02-11T14:42:40Z",
                        "comment": "\u5df2\u4fdd\u62a4\u201c[[\u6a21\u677f:\u8f6e\u64ad\u56fe\u751f\u6210]]\u201d\uff08[\u7f16\u8f91=\u4ec5\u5141\u8bb8\u7ba1\u7406\u5458]\uff08\u65e0\u9650\u671f\uff09[\u79fb\u52a8=\u4ec5\u5141\u8bb8\u7ba1\u7406\u5458]\uff08\u65e0\u9650\u671f\uff09\uff09"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:\u8f6e\u64ad\u56fe\u751f\u6210"
            },
            {
                "pageid": 10,
                "revisions": [
                    {
                        "revid": 12,
                        "parentid": 0,
                        "user": "14478655",
                        "timestamp": "2020-02-10T10:24:24Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<div class=\"bread-crumb\">[[\u9996\u9875|<span class=\"b-name\">\u9996\u9875</span>]]{{#ifeq:{{{1|}}}|||<span class=\"b-line\">/</span>[[{{{1}}}|<span class=\"b-name\">{{{1}}}</span>]]\u2026\u201d"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:\u9762\u5305\u5c51"
            },
            {
                "pageid": 11,
                "revisions": [
                    {
                        "revid": 15,
                        "parentid": 0,
                        "user": "14478655",
                        "timestamp": "2020-02-10T16:23:17Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u8f6e\u64ad\u56fe1.png"
            },
            {
                "pageid": 12,
                "revisions": [
                    {
                        "revid": 16,
                        "parentid": 0,
                        "user": "14478655",
                        "timestamp": "2020-02-10T16:23:18Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u8f6e\u64ad\u56fe2.png"
            },
            {
                "pageid": 13,
                "revisions": [
                    {
                        "revid": 17,
                        "parentid": 0,
                        "user": "14478655",
                        "timestamp": "2020-02-10T16:50:28Z",
                        "comment": ""
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:\u65b9\u821f\u6307\u4ee4WIKI.png"
            },
            {
                "pageid": 14,
                "revisions": [
                    {
                        "revid": 19,
                        "parentid": 0,
                        "user": "20923820",
                        "timestamp": "2020-02-11T13:31:44Z",
                        "comment": "\u521b\u5efa\u7a7a\u767d\u9875\u9762"
                    }
                ],
                "ns": 0,
                "title": "\u6c99\u76d2"
            },
            {
                "pageid": 15,
                "revisions": [
                    {
                        "revid": 20,
                        "parentid": 0,
                        "user": "14478655",
                        "timestamp": "2020-02-11T13:36:36Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c*\u9996\u9875|\u9996\u9875 *\u7f16\u8f91\u5e2e\u52a9 **WIKI\u7533\u8bf7\u9875\u9762|\u7533\u8bf7\u521b\u5efaWIKI **WIKI\u793e\u533a\u89c4\u5219|WIKI\u793e\u533a\u89c4\u5219 *\u5de5\u5177 **MediaWiki:Sidebar|\u83dc\u5355\u680f **MediaWiki:Common.css|\u6837\u2026\u201d"
                    },
                    {
                        "revid": 21,
                        "parentid": 20,
                        "user": "14478655",
                        "timestamp": "2020-02-11T13:39:08Z",
                        "comment": ""
                    },
                    {
                        "revid": 22,
                        "parentid": 21,
                        "user": "14478655",
                        "timestamp": "2020-02-11T13:41:40Z",
                        "comment": ""
                    }
                ],
                "ns": 8,
                "title": "MediaWiki:Sidebar"
            },
            {
                "pageid": 16,
                "revisions": [
                    {
                        "revid": 23,
                        "parentid": 0,
                        "user": "14478655",
                        "timestamp": "2020-02-11T13:43:19Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c/* \u8fd9\u91cc\u653e\u7f6e\u7684CSS\u5c06\u5e94\u7528\u4e8e\u6240\u6709\u76ae\u80a4 */ /* \u9876\u901alogo */ .wiki-header .wiki-nav .wiki-logo {     width: 188px; }\u201d"
                    },
                    {
                        "revid": 28,
                        "parentid": 23,
                        "user": "14478655",
                        "timestamp": "2020-02-11T13:59:09Z",
                        "comment": ""
                    },
                    {
                        "revid": 29,
                        "parentid": 28,
                        "user": "14478655",
                        "timestamp": "2020-02-11T14:00:16Z",
                        "comment": ""
                    },
                    {
                        "revid": 32,
                        "parentid": 29,
                        "user": "14478655",
                        "timestamp": "2020-02-11T14:03:29Z",
                        "comment": ""
                    },
                    {
                        "revid": 34,
                        "parentid": 32,
                        "user": "14478655",
                        "timestamp": "2020-02-11T14:17:19Z",
                        "comment": "\u4ee5\u201c/* \u9875\u9762\u80cc\u666f */ body { \tbackground:url(\"http://i0.hdslb.com/bfs/archive/6bc6d83b069787eccbfef9e53e893ac34dc6a783.jpg\") no-repeat fixed 50% 0; \tbackground-size:cover; \t}\u201d\u66ff\u6362\u5185\u5bb9"
                    },
                    {
                        "revid": 40,
                        "parentid": 34,
                        "user": "14478655",
                        "timestamp": "2020-02-11T14:53:33Z",
                        "comment": ""
                    }
                ],
                "ns": 8,
                "title": "MediaWiki:Common.css"
            },
            {
                "pageid": 17,
                "revisions": [
                    {
                        "revid": 25,
                        "parentid": 0,
                        "user": "14478655",
                        "timestamp": "2020-02-11T13:45:59Z",
                        "comment": "\u57fa\u4e8eMsUpload\u7684\u6587\u4ef6\u4e0a\u4f20"
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:Logo.png"
            },
            {
                "pageid": 19,
                "revisions": [
                    {
                        "revid": 27,
                        "parentid": 0,
                        "user": "20923820",
                        "timestamp": "2020-02-11T13:54:42Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c{{ |\u6587\u4ef61=\u8f6e\u64ad\u56fe1.png |\u94fe\u63a51=https://game.bilibili.com/sdmht/ |\u6587\u4ef62=\u8f6e\u64ad\u56fe2.png |\u94fe\u63a52=https://game.bilibili.com/sdmht/ }}\u201d"
                    },
                    {
                        "revid": 30,
                        "parentid": 27,
                        "user": "20923820",
                        "timestamp": "2020-02-11T14:00:24Z",
                        "comment": ""
                    },
                    {
                        "revid": 35,
                        "parentid": 30,
                        "minor": "",
                        "user": "14478655",
                        "timestamp": "2020-02-11T14:35:57Z",
                        "comment": "\u5df2\u4fdd\u62a4\u201c[[\u6a21\u677f:\u8f6e\u64ad\u56fe]]\u201d\uff08[\u7f16\u8f91=\u4ec5\u5141\u8bb8\u7ba1\u7406\u5458]\uff08\u65e0\u9650\u671f\uff09[\u79fb\u52a8=\u4ec5\u5141\u8bb8\u7ba1\u7406\u5458]\uff08\u65e0\u9650\u671f\uff09\uff09"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:\u8f6e\u64ad\u56fe"
            }
        ]
    }
}