MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "arvcontinue": "20210103033511|51",
        "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": "17475657",
                        "timestamp": "2020-12-25T06:25:33Z",
                        "comment": "/* \u5165\u95e8 */"
                    },
                    {
                        "revid": 10,
                        "parentid": 9,
                        "minor": "",
                        "user": "17475657",
                        "timestamp": "2020-12-25T06:29:24Z",
                        "comment": "/* \u5165\u95e8 */"
                    },
                    {
                        "revid": 12,
                        "parentid": 10,
                        "user": "17475657",
                        "timestamp": "2020-12-25T07:29:34Z",
                        "comment": ""
                    },
                    {
                        "revid": 13,
                        "parentid": 12,
                        "user": "3444642",
                        "timestamp": "2020-12-25T07:45:56Z",
                        "comment": "\u9996\u9875\u680f\u76ee"
                    },
                    {
                        "revid": 14,
                        "parentid": 13,
                        "user": "3444642",
                        "timestamp": "2020-12-25T08:13:13Z",
                        "comment": "\u9996\u9875\u5e03\u5c40"
                    },
                    {
                        "revid": 15,
                        "parentid": 14,
                        "user": "3444642",
                        "timestamp": "2020-12-25T08:38:35Z",
                        "comment": ""
                    },
                    {
                        "revid": 16,
                        "parentid": 15,
                        "minor": "",
                        "user": "17475657",
                        "timestamp": "2020-12-25T09:20:59Z",
                        "comment": ""
                    },
                    {
                        "revid": 18,
                        "parentid": 16,
                        "minor": "",
                        "user": "3444642",
                        "timestamp": "2020-12-26T05:58:57Z",
                        "comment": ""
                    },
                    {
                        "revid": 19,
                        "parentid": 18,
                        "minor": "",
                        "user": "24514213",
                        "timestamp": "2020-12-26T06:01:22Z",
                        "comment": "/* \u9879\u76ee\u7d22\u5f15 */"
                    },
                    {
                        "revid": 20,
                        "parentid": 19,
                        "minor": "",
                        "user": "24514213",
                        "timestamp": "2020-12-26T06:02:11Z",
                        "comment": "/* \u9879\u76ee\u7d22\u5f15 */"
                    },
                    {
                        "revid": 34,
                        "parentid": 20,
                        "user": "3444642",
                        "timestamp": "2020-12-27T04:22:30Z",
                        "comment": ""
                    },
                    {
                        "revid": 35,
                        "parentid": 34,
                        "user": "3444642",
                        "timestamp": "2020-12-27T05:03:12Z",
                        "comment": "\u672c\u5730\u65f6\u95f4"
                    },
                    {
                        "revid": 36,
                        "parentid": 35,
                        "minor": "",
                        "user": "3444642",
                        "timestamp": "2021-01-01T10:14:59Z",
                        "comment": "/* \u9996\u9875 */"
                    },
                    {
                        "revid": 38,
                        "parentid": 36,
                        "user": "3444642",
                        "timestamp": "2021-01-01T10:54:36Z",
                        "comment": "/* \u9996\u9875 */"
                    },
                    {
                        "revid": 44,
                        "parentid": 38,
                        "user": "3444642",
                        "timestamp": "2021-01-03T02:50:54Z",
                        "comment": "/* \u9996\u9875 */"
                    },
                    {
                        "revid": 50,
                        "parentid": 44,
                        "user": "3444642",
                        "timestamp": "2021-01-03T03:23:36Z",
                        "comment": "/* \u9996\u9875 */"
                    }
                ],
                "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": "17475657",
                        "timestamp": "2020-12-25T07:27:18Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201cNitrome\u662f\u4e00\u5bb6\u6210\u7acb\u4e8e2004\u5e74\uff0c\u76ee\u524d\u4f4d\u4e8e\u82f1\u56fd\u4f26\u6566\u7684\u6e38\u620f\u5236\u4f5c\u516c\u53f8\u201d"
                    }
                ],
                "ns": 0,
                "title": "Nitrome"
            },
            {
                "pageid": 10,
                "revisions": [
                    {
                        "revid": 17,
                        "parentid": 0,
                        "user": "17475657",
                        "timestamp": "2020-12-26T05:51:09Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c==[[2005]]== *[[Four Play]]  *[[Hot Air]] ==[[2006]]== *[[Sandman]] *[[Chick Flick]]  *[[Roly Poly]] *[[Feed Me]] *[[Tanked Up]] *[[Scribble]] *[[Gift Wrapped]]  ==[\u2026\u201d"
                    }
                ],
                "ns": 0,
                "title": "\u6e38\u620f\u5217\u8868"
            },
            {
                "pageid": 11,
                "revisions": [
                    {
                        "revid": 21,
                        "parentid": 0,
                        "user": "17475657",
                        "timestamp": "2020-12-26T06:06:48Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<infobox> \t<title source=\"\u6e38\u620f\u540d\u79f0\"><default>{{PAGENAME}}</default></title> \t<image source=\"\u540d\u79f0\"><label>\u540d\u79f0</label></image> \t<image source=\"\u56fe\u7247\"><label>\u2026\u201d"
                    },
                    {
                        "revid": 22,
                        "parentid": 21,
                        "user": "17475657",
                        "timestamp": "2020-12-26T06:10:08Z",
                        "comment": ""
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:\u6e38\u620f"
            },
            {
                "pageid": 12,
                "revisions": [
                    {
                        "revid": 23,
                        "parentid": 0,
                        "user": "24514213",
                        "timestamp": "2020-12-26T06:18:25Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\u8fd9\u662f\u4e00\u4e2a\u8bb0\u5f55Nitrome\u5728'''2006\u5e74'''\u7684\u5927\u4e8b\u7684\u5217\u8868\u3002   == \u4e8c\u6708 == *'''2\u670817\u65e5'''\uff1a[[Sandman]]\u53d1\u5e03\u3002  == \u56db\u6708 == *'''4\u67086\u65e5'''\uff1a[[Chick Flick]]\u2026\u201d"
                    }
                ],
                "ns": 0,
                "title": "2006"
            },
            {
                "pageid": 13,
                "revisions": [
                    {
                        "revid": 24,
                        "parentid": 0,
                        "user": "17475657",
                        "timestamp": "2020-12-26T06:25:00Z",
                        "comment": ""
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:Nitromev2.png"
            },
            {
                "pageid": 14,
                "revisions": [
                    {
                        "revid": 25,
                        "parentid": 0,
                        "user": "17475657",
                        "timestamp": "2020-12-26T06:31:33Z",
                        "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(\"https://patchwiki.biligame.com/images/nitrome/thumb/f/fb/8agiz42dprnm72\u2026\u201d"
                    },
                    {
                        "revid": 26,
                        "parentid": 25,
                        "user": "17475657",
                        "timestamp": "2020-12-26T06:34:02Z",
                        "comment": ""
                    },
                    {
                        "revid": 27,
                        "parentid": 26,
                        "user": "17475657",
                        "timestamp": "2020-12-26T06:36:52Z",
                        "comment": ""
                    },
                    {
                        "revid": 28,
                        "parentid": 27,
                        "user": "17475657",
                        "timestamp": "2020-12-26T06:38:15Z",
                        "comment": ""
                    },
                    {
                        "revid": 29,
                        "parentid": 28,
                        "user": "17475657",
                        "timestamp": "2020-12-26T06:39:29Z",
                        "comment": ""
                    },
                    {
                        "revid": 31,
                        "parentid": 29,
                        "user": "24514213",
                        "timestamp": "2020-12-26T07:15:35Z",
                        "comment": ""
                    },
                    {
                        "revid": 32,
                        "parentid": 31,
                        "user": "24514213",
                        "timestamp": "2020-12-26T07:20:28Z",
                        "comment": ""
                    },
                    {
                        "revid": 33,
                        "parentid": 32,
                        "user": "24514213",
                        "timestamp": "2020-12-26T07:34:03Z",
                        "comment": ""
                    },
                    {
                        "revid": 37,
                        "parentid": 33,
                        "user": "3444642",
                        "timestamp": "2021-01-01T10:53:38Z",
                        "comment": "\u9996\u9875"
                    },
                    {
                        "revid": 39,
                        "parentid": 37,
                        "user": "3444642",
                        "timestamp": "2021-01-01T11:00:44Z",
                        "comment": ""
                    },
                    {
                        "revid": 48,
                        "parentid": 39,
                        "user": "3444642",
                        "timestamp": "2021-01-03T03:04:00Z",
                        "comment": ""
                    },
                    {
                        "revid": 49,
                        "parentid": 48,
                        "user": "3444642",
                        "timestamp": "2021-01-03T03:22:14Z",
                        "comment": ""
                    }
                ],
                "ns": 8,
                "title": "MediaWiki:Common.css"
            },
            {
                "pageid": 15,
                "revisions": [
                    {
                        "revid": 30,
                        "parentid": 0,
                        "user": "24514213",
                        "timestamp": "2020-12-26T07:11:35Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c\u8fd9\u662f\u4e00\u4e2a\u8bb0\u5f55Nitrome\u5728[[2005\u5e74]]\u7684\u5927\u4e8b\u7684\u5217\u8868\u3002  == \u56db\u6708 == *'''4\u67083\u65e5'''\uff1a[[Nitrome.com]]\u7f51\u7ad9\u4e0a\u7ebf\uff0c\u5e76\u53d1\u5e03\u4e86\u6709\u5173[[Chick Flick]]\u624b\u673a\u6e38\u2026\u201d"
                    }
                ],
                "ns": 0,
                "title": "2005"
            },
            {
                "pageid": 16,
                "revisions": [
                    {
                        "revid": 40,
                        "parentid": 0,
                        "user": "17475657",
                        "timestamp": "2021-01-02T16:12:10Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c|\u201d"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:!"
            },
            {
                "pageid": 17,
                "revisions": [
                    {
                        "revid": 41,
                        "parentid": 0,
                        "user": "17475657",
                        "timestamp": "2021-01-02T16:17:32Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c<onlyinclude>{|  | {| class=\"mw-collapsible mw-collapsed\" data-expandtext=\"\u5c55\u5f00\" data-collapsetext=\"\u9690\u85cf\" ! style=\"margin:left;\" | {{{1}}} |- | {{{2}}} |} |}</on\u2026\u201d"
                    }
                ],
                "ns": 10,
                "title": "\u6a21\u677f:\u5267\u900f/\u5934\u50cf"
            },
            {
                "pageid": 18,
                "revisions": [
                    {
                        "revid": 42,
                        "parentid": 0,
                        "user": "17475657",
                        "timestamp": "2021-01-02T16:29:03Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201cProject ''Super Stock Take'' Undergoing\u201d"
                    }
                ],
                "ns": 2,
                "title": "\u7528\u6237:17475657"
            },
            {
                "pageid": 19,
                "revisions": [
                    {
                        "revid": 43,
                        "parentid": 0,
                        "user": "17475657",
                        "timestamp": "2021-01-02T16:30:27Z",
                        "comment": "\u521b\u5efa\u9875\u9762\uff0c\u5185\u5bb9\u4e3a\u201c{| class=\"wikitable\" style=\"text-align:center; width:260px; max-width:100%; float:right; background-color:#FFF;\" |- |colspan=2|File:\u6d4b\u8bd5\u56fe1.jpg|center|class=img\u2026\u201d"
                    }
                ],
                "ns": 2,
                "title": "\u7528\u6237:17475657/Sandbox"
            },
            {
                "pageid": 20,
                "revisions": [
                    {
                        "revid": 45,
                        "parentid": 0,
                        "user": "3444642",
                        "timestamp": "2021-01-03T02:58:38Z",
                        "comment": ""
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:Home-h2-1.png"
            },
            {
                "pageid": 21,
                "revisions": [
                    {
                        "revid": 46,
                        "parentid": 0,
                        "user": "3444642",
                        "timestamp": "2021-01-03T02:58:47Z",
                        "comment": ""
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:Home-h2-2.png"
            },
            {
                "pageid": 22,
                "revisions": [
                    {
                        "revid": 47,
                        "parentid": 0,
                        "user": "3444642",
                        "timestamp": "2021-01-03T02:58:55Z",
                        "comment": ""
                    }
                ],
                "ns": 6,
                "title": "\u6587\u4ef6:Home-h2-3.png"
            }
        ]
    }
}