MediaWiki API 结果

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

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

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

{
    "batchcomplete": "",
    "continue": {
        "gapcontinue": "\u4e9a\u4e1d\u5a1c\u56fe\u9274",
        "continue": "gapcontinue||"
    },
    "warnings": {
        "main": {
            "*": "Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes."
        },
        "revisions": {
            "*": "Because \"rvslots\" was not specified, a legacy format has been used for the output. This format is deprecated, and in the future the new format will always be used."
        }
    },
    "query": {
        "pages": {
            "503": {
                "pageid": 503,
                "ns": 0,
                "title": "\u4e13\u5c5e\u6b66\u5668\u56fe\u9274",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "{{\u677f\u5757|\u5f00\u59cb|CSS=BOX-5|\u6807\u9898=[[File:ico-\u673a\u68b0.png|link=|35px]]<font size=\"4\">\u673a\u68b0</font>}}\n{{\u677f\u5757|\u5185\u5bb9\u5f00\u59cb}}\n<!--\u5185\u5bb9\u90e8\u5206\uff1a\u5f00\u59cb-->\n<div class=\"sy-box-css\" style=\"margin-bottom:0px\">\n<div class=\"sy-box-css-n\" style=\"padding:0px;padding-top:5px\"><div class=\"col-tj\" style=\"width:100%;\">\n{{:\u7c73\u51ef\u62c9\u4e13\u6b66\u56fe\u9274}}\n{{:\u53f2\u745e\u7279\u4e13\u6b66\u56fe\u9274}}\n{{:\u7d22\u6069\u4e13\u6b66\u56fe\u9274}}\n{{:\u5409\u5c14\u4f2f\u7279\u4e13\u6b66\u56fe\u9274}}\n{{:\u6ce2\u5c14\u4e13\u6b66\u56fe\u9274}}\n</div></div><!--\u5185\u5bb9\u90e8\u5206\uff1a\u7ed3\u675f-->\n{{\u677f\u5757|\u5185\u5bb9\u7ed3\u675f}}\n{{\u677f\u5757|\u7ed3\u675f}}\n{{\u677f\u5757|\u5f00\u59cb|CSS=BOX-5|\u6807\u9898=[[File:ico-\u9a6f\u517d.png|link=|35px]]<font size=\"4\">\u9a6f\u517d</font>}}\n{{\u677f\u5757|\u5185\u5bb9\u5f00\u59cb}}\n<!--\u5185\u5bb9\u90e8\u5206\uff1a\u5f00\u59cb-->\n<div class=\"sy-box-css\" style=\"margin-bottom:0px\">\n<div class=\"sy-box-css-n\" style=\"padding:0px;padding-top:5px\"><div class=\"col-tj\" style=\"width:100%;\">\n{{:\u5b81\u56fe\u4e13\u6b66\u56fe\u9274}}\n{{:\u7ef4\u8fbe\u4e13\u6b66\u56fe\u9274}}\n{{:\u5a1c\u6885\u8389\u4e9a\u4e13\u6b66\u56fe\u9274}}\n{{:\u83f2\u78a7\u4e13\u6b66\u56fe\u9274}}\n</div></div><!--\u5185\u5bb9\u90e8\u5206\uff1a\u7ed3\u675f-->\n{{\u677f\u5757|\u5185\u5bb9\u7ed3\u675f}}\n{{\u677f\u5757|\u7ed3\u675f}}\n{{\u677f\u5757|\u5f00\u59cb|CSS=BOX-5|\u6807\u9898=[[File:ico-\u6b66\u6597.png|link=|35px]]<font size=\"4\">\u6b66\u6597</font>}}\n{{\u677f\u5757|\u5185\u5bb9\u5f00\u59cb}}\n<!--\u5185\u5bb9\u90e8\u5206\uff1a\u5f00\u59cb-->\n<div class=\"sy-box-css\" style=\"margin-bottom:0px\">\n<div class=\"sy-box-css-n\" style=\"padding:0px;padding-top:5px\"><div class=\"col-tj\" style=\"width:100%;\">\n{{:\u8d1d\u91d1\u8d5b\u5c14\u4e13\u6b66\u56fe\u9274}}\n{{:\u963f\u662d\u4e13\u6b66\u56fe\u9274}}\n{{:\u74e6\u897f\u91cc\u4e13\u6b66\u56fe\u9274}}\n{{:\u590f\u6d1b\u7279\u4e13\u6b66\u56fe\u9274}}\n</div></div><!--\u5185\u5bb9\u90e8\u5206\uff1a\u7ed3\u675f-->\n{{\u677f\u5757|\u5185\u5bb9\u7ed3\u675f}}\n{{\u677f\u5757|\u7ed3\u675f}}\n{{\u677f\u5757|\u5f00\u59cb|CSS=BOX-5|\u6807\u9898=[[File:ico-\u81ea\u7136.png|link=|35px]]<font size=\"4\">\u81ea\u7136</font>}}\n{{\u677f\u5757|\u5185\u5bb9\u5f00\u59cb}}\n<!--\u5185\u5bb9\u90e8\u5206\uff1a\u5f00\u59cb-->\n<div class=\"sy-box-css\" style=\"margin-bottom:0px\">\n<div class=\"sy-box-css-n\" style=\"padding:0px;padding-top:5px\"><div class=\"col-tj\" style=\"width:100%;\">\n{{:\u96f7\u6208\u4e13\u6b66\u56fe\u9274}}\n{{:\u83b1\u6208\u62c9\u65af\u4e13\u6b66\u56fe\u9274}}\n{{:\u62c9\u6590\u5c14\u4e13\u6b66\u56fe\u9274}}\n{{:\u54c8\u5c14\u4f69\u4e13\u6b66\u56fe\u9274}}\n{{:\u594e\u6258\u65af\u4e13\u6b66\u56fe\u9274}}\n</div></div><!--\u5185\u5bb9\u90e8\u5206\uff1a\u7ed3\u675f-->\n{{\u677f\u5757|\u5185\u5bb9\u7ed3\u675f}}\n{{\u677f\u5757|\u7ed3\u675f}}\n{{\u677f\u5757|\u5f00\u59cb|CSS=BOX-5|\u6807\u9898=[[File:ico-\u5815\u843d.png|link=|35px]]<font size=\"4\">\u5815\u843d</font>}}\n{{\u677f\u5757|\u5185\u5bb9\u5f00\u59cb}}\n<!--\u5185\u5bb9\u90e8\u5206\uff1a\u5f00\u59cb-->\n<div class=\"sy-box-css\" style=\"margin-bottom:0px\">\n<div class=\"sy-box-css-n\" style=\"padding:0px;padding-top:5px\"><div class=\"col-tj\" style=\"width:100%;\">\n{{:\u4f0a\u57fa\u4e13\u6b66\u56fe\u9274}}\n{{:\u7c73\u65af\u7279\u6c40\u4e13\u6b66\u56fe\u9274}}\n{{:\u5fb7\u83b1\u5f17\u65af\u4e13\u6b66\u56fe\u9274}}\n{{:\u4e9a\u4f26\u683c\u6797\u4e13\u6b66\u56fe\u9274}}\n</div></div><!--\u5185\u5bb9\u90e8\u5206\uff1a\u7ed3\u675f-->\n{{\u677f\u5757|\u5185\u5bb9\u7ed3\u675f}}\n{{\u677f\u5757|\u7ed3\u675f}}\n{{\u677f\u5757|\u5f00\u59cb|CSS=BOX-5|\u6807\u9898=[[File:ico-\u9a87\u5ba2.png|link=|35px]]<font size=\"4\">\u9a87\u5ba2</font>}}\n{{\u677f\u5757|\u5185\u5bb9\u5f00\u59cb}}\n<!--\u5185\u5bb9\u90e8\u5206\uff1a\u5f00\u59cb-->\n<div class=\"sy-box-css\" style=\"margin-bottom:0px\">\n<div class=\"sy-box-css-n\" style=\"padding:0px;padding-top:5px\"><div class=\"col-tj\" style=\"width:100%;\">\n{{:\u8d5b\u6377\u4e13\u6b66\u56fe\u9274}}\n{{:\u6492\u6155\u5c14\u4e13\u6b66\u56fe\u9274}}\n{{:\u6bd4\u8499\u4e13\u6b66\u56fe\u9274}}\n{{:\u5239\u5f71\u4e13\u6b66\u56fe\u9274}}\n</div></div><!--\u5185\u5bb9\u90e8\u5206\uff1a\u7ed3\u675f-->\n{{\u677f\u5757|\u5185\u5bb9\u7ed3\u675f}}\n{{\u677f\u5757|\u7ed3\u675f}}"
                    }
                ]
            },
            "260": {
                "pageid": 260,
                "ns": 0,
                "title": "\u4e3d\u96c5\u56fe\u9274",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "\u5f85\u7f16\u8f91"
                    }
                ]
            }
        }
    }
}