MediaWiki API 結果

這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。

指定format參數以變更輸出格式。要查看JSON格式的非HTML實現,設定format=json

參見完整文件,或API說明以取得更多資訊。

{
    "batchcomplete": "",
    "continue": {
        "gapcontinue": "\u4f0a\u5df4\u5bc6\u6fc3\u9054",
        "continue": "gapcontinue||"
    },
    "warnings": {
        "main": {
            "*": "Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> 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": {
            "47": {
                "pageid": 47,
                "ns": 0,
                "title": "\u4e2d\u83ef\u6c11\u570b",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "[[\u4e2d\u83ef\u6c11\u570b]]\u7684\u6b77\u53f2\u53ca\u6982\u6cc1\u5171\u5206\u70ba\u5169\u500b\u6642\u671f\uff0c\u4e00\u500b\u662f[[\u4e2d\u83ef\u6c11\u570b\u5927\u9678\u6642\u671f]]\uff0c\u53e6\u4e00\u500b\u662f[[\u4e2d\u83ef\u6c11\u570b\u53f0\u7063\u6642\u671f]]\u3002\u672c\u689d\u76ee\u4e3b\u8981\u4ecb\u7d39\u7684\u662f[[\u4e2d\u83ef\u6c11\u570b]]\u7684\u6b77\u53f2\u53ca\u73fe\u6cc1\u3002\n\n[[File:\u4e2d\u83ef\u6c11\u570b\u570b\u65d7.jpg|thumb|right|\u4e2d\u83ef\u6c11\u570b\u570b\u65d7\u3002]]\n[[File:\u4e2d\u83ef\u6c11\u570b\u570b\u5fbd.jpg|thumb|right|\u4e2d\u83ef\u6c11\u570b\u570b\u5fbd\u3002]]\n\n== \u7c21\u4ecb ==\n*\u9996\u90fd:\u5357\u4eac\uff08\u5167\u6230\u524d\uff09\u3001\u81fa\u5317\uff08\u5167\u6230\u5f8c\u7684\u5be6\u969b\u9996\u90fd\uff09\n*\u96fb\u58d3:\n*\u4eba\u53e3:\u7d042314\u842c(2010\u5e748\u6708)\n*[[\u4e2d\u83ef\u6c11\u570b\u7e3d\u7d71]]:[[\u99ac\u82f1\u4e5d]]\n*[[\u4e2d\u83ef\u6c11\u570b\u884c\u653f\u9662\u9577]]:[[\u5433\u6566\u7fa9]]\n\n== \u6b77\u53f2 ==\n\n== \u7d93\u6fdf ==\n\n== \u6c23\u5019 ==\n\n== \u653f\u6cbb ==\n\n== \u73fe\u6cc1\u53ca\u672a\u4f86 ==\n\n== \u53c3\u898b ==\n\n\n\n{{\u4e9e\u6d32\u570b\u5bb6}}\n\n[[Category:\u570b\u5bb6]]\n[[Category:\u5c0f\u4f5c\u54c1]]\n[[Category:\u5f85\u88dc\u5145\u7684\u9801\u9762\u5167\u5bb9]]"
                    }
                ]
            },
            "105": {
                "pageid": 105,
                "ns": 0,
                "title": "\u4e2d\u83ef\u6c11\u570b\u570b\u6176\u65e5",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "\u4e2d\u83ef\u6c11\u570b\u570b\u6176\u65e5\u53c8\u7a31\u96d9\u5341\u7bc0\uff0c \u662f\u70ba\u7d00\u5ff5\u5ba3\u7d71\u4e09\u5e74\uff081911\uff09\u5341\u6708\u5341\u65e5\u6e56\u5317\u65b0\u8ecd\u7684\u6b66\u660c\u8d77\u7fa9\uff0c \u88ab\u8996\u70ba\u662f\u4e2d\u570b\u6eff\u6e05\u5e1d\u5236\u74e6\u89e3\u7684\u958b\u59cb\u3002 \u5171\u548c\u5275\u7acb\u5f8c\uff0c\u5c07\u9019\u4e00\u5929\u5b9a\u70ba\u4e2d\u83ef\u6c11\u570b\u570b\u6176\u7bc0\u3002"
                    }
                ]
            }
        }
    }
}