MediaWiki API 结果

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

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

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

{
    "compare": {
        "fromrevid": 1,
        "torevid": 2,
        "*": "<tr><td colspan=\"2\" class=\"diff-lineno\" id=\"L1\" >\u7b2c1\u884c\uff1a</td>\n<td colspan=\"2\" class=\"diff-lineno\">\u7b2c1\u884c\uff1a</td></tr>\n<tr><td class='diff-marker'>&#160;</td><td class='diff-context'><div>'''\u5df2\u6210\u529f\u5b89\u88c5MediaWiki\u3002'''</div></td><td class='diff-marker'>&#160;</td><td class='diff-context'><div>'''\u5df2\u6210\u529f\u5b89\u88c5MediaWiki\u3002'''</div></td></tr>\n<tr><td class='diff-marker'>&#160;</td><td class='diff-context'></td><td class='diff-marker'>&#160;</td><td class='diff-context'></td></tr>\n<tr><td class='diff-marker'>\u2212</td><td class='diff-deletedline'><div><del class=\"diffchange diffchange-inline\">\u8bf7\u67e5\u9605</del>[//<del class=\"diffchange diffchange-inline\">meta</del>.<del class=\"diffchange diffchange-inline\">wikimedia.org</del>/<del class=\"diffchange diffchange-inline\">wiki</del>/<del class=\"diffchange diffchange-inline\">Help:Contents \u7528\u6237\u6307\u5357</del>]<del class=\"diffchange diffchange-inline\">\u4ee5\u83b7\u53d6\u4f7f\u7528\u672cwiki\u8f6f\u4ef6\u7684\u4fe1\u606f\uff01</del></div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div>[<ins class=\"diffchange diffchange-inline\">http:</ins>//<ins class=\"diffchange diffchange-inline\">mlei</ins>.<ins class=\"diffchange diffchange-inline\">net</ins>/<ins class=\"diffchange diffchange-inline\">shared</ins>/<ins class=\"diffchange diffchange-inline\">tool/csv-wiki.htm Table-Wiki Conversion Tool</ins>]<ins class=\"diffchange diffchange-inline\">.</ins></div></td></tr>\n<tr><td class='diff-marker'>&#160;</td><td class='diff-context'></td><td class='diff-marker'>&#160;</td><td class='diff-context'></td></tr>\n<tr><td class='diff-marker'>&#160;</td><td class='diff-context'><div>== \u5165\u95e8 ==</div></td><td class='diff-marker'>&#160;</td><td class='diff-context'><div>== \u5165\u95e8 ==</div></td></tr>\n"
    }
}