MediaWiki API 结果
这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。
指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json。
{ "compare": { "fromid": 1, "fromrevid": 1, "fromns": 0, "fromtitle": "\u9996\u9875", "toid": 1, "torevid": 2, "tons": 0, "totitle": "\u9996\u9875", "*": "<tr><td colspan=\"2\" class=\"diff-lineno\" id=\"mw-diff-left-l1\">\u7b2c1\u884c\uff1a</td>\n<td colspan=\"2\" class=\"diff-lineno\">\u7b2c1\u884c\uff1a</td></tr>\n<tr><td class=\"diff-marker\" data-marker=\"\u2212\"></td><td class=\"diff-deletedline diff-side-deleted\"><div><del class=\"diffchange diffchange-inline\">'''\u5df2\u6210\u529f\u5b89\u88c5MediaWiki\u3002'''</del></div></td><td class=\"diff-marker\" data-marker=\"+\"></td><td class=\"diff-addedline diff-side-added\"><div><ins class=\"diffchange diffchange-inline\">\u57282016\u5e74\u7684\u67d0\u4e00\u5929\uff0c\u7a81\u7136\u6709\u4e86\u4e2a\u60f3\u6cd5\uff0c\u4e3a\u4ec0\u4e48\u4e0d\u53bb\u642d\u4e00\u4e2awiki\u5462\uff1f</ins></div></td></tr>\n<tr><td class=\"diff-marker\" data-marker=\"\u2212\"></td><td class=\"diff-deletedline diff-side-deleted\"><div>\u00a0</div></td><td class=\"diff-marker\" data-marker=\"+\"></td><td class=\"diff-addedline diff-side-added\"><div><ins class=\"diffchange diffchange-inline\">\u7136\u540e\u6211\u5c31\u642d\u4e86\u4e00\u4e2awiki\uff0c\u8fd9\u4e2awiki\u5177\u4f53\u8981\u5e72\u4ec0\u4e48\uff0c\u4ee5\u540e\u6162\u6162\u7684\u5c31\u77e5\u9053\u4e86\u3002</ins></div></td></tr>\n<tr><td class=\"diff-marker\" data-marker=\"\u2212\"></td><td class=\"diff-deletedline diff-side-deleted\"><div><del class=\"diffchange diffchange-inline\">\u8bf7\u67e5\u9605[//meta.wikimedia.org/wiki/Help:Contents \u7528\u6237\u6307\u5357]\u4ee5\u83b7\u53d6\u4f7f\u7528\u672cwiki\u8f6f\u4ef6\u7684\u4fe1\u606f\uff01</del></div></td><td colspan=\"2\" class=\"diff-side-added\"></td></tr>\n<tr><td class=\"diff-marker\" data-marker=\"\u2212\"></td><td class=\"diff-deletedline diff-side-deleted\"><div>\u00a0</div></td><td colspan=\"2\" class=\"diff-side-added\"></td></tr>\n<tr><td class=\"diff-marker\" data-marker=\"\u2212\"></td><td class=\"diff-deletedline diff-side-deleted\"><div><del class=\"diffchange diffchange-inline\">== \u5165\u95e8 ==</del></div></td><td colspan=\"2\" class=\"diff-side-added\"></td></tr>\n<tr><td class=\"diff-marker\" data-marker=\"\u2212\"></td><td class=\"diff-deletedline diff-side-deleted\"><div><del class=\"diffchange diffchange-inline\">* [//www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings MediaWiki\u914d\u7f6e\u8bbe\u7f6e\u5217\u8868]</del></div></td><td colspan=\"2\" class=\"diff-side-added\"></td></tr>\n<tr><td class=\"diff-marker\" data-marker=\"\u2212\"></td><td class=\"diff-deletedline diff-side-deleted\"><div><del class=\"diffchange diffchange-inline\">* [//www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ/zh-hans MediaWiki\u5e38\u89c1\u95ee\u9898]</del></div></td><td colspan=\"2\" class=\"diff-side-added\"></td></tr>\n<tr><td class=\"diff-marker\" data-marker=\"\u2212\"></td><td class=\"diff-deletedline diff-side-deleted\"><div><del class=\"diffchange diffchange-inline\">* [https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki\u53d1\u5e03\u90ae\u4ef6\u5217\u8868]</del></div></td><td colspan=\"2\" class=\"diff-side-added\"></td></tr>\n<tr><td class=\"diff-marker\" data-marker=\"\u2212\"></td><td class=\"diff-deletedline diff-side-deleted\"><div><del class=\"diffchange diffchange-inline\">* [//www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources \u672c\u5730\u5316MediaWiki\u5230\u60a8\u7684\u8bed\u8a00]</del></div></td><td colspan=\"2\" class=\"diff-side-added\"></td></tr>\n" } }