MediaWiki API 結果
这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。
指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json。
{ "compare": { "fromrevid": 1, "torevid": 2, "*": "<tr><td colspan=\"2\" class=\"diff-lineno\" id=\"mw-diff-left-l1\" >\u884c 1\uff1a</td>\n<td colspan=\"2\" class=\"diff-lineno\">\u884c 1\uff1a</td></tr>\n<tr><td class='diff-marker'>\u2212</td><td class='diff-deletedline'><div><del class=\"diffchange\">'''\u5df2\u6210\u529f\u5b89\u88ddMediaWiki\u3002'''</del></div></td><td colspan=\"2\"> </td></tr>\n<tr><td class='diff-marker'> </td><td class='diff-context'></td><td class='diff-marker'> </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\">\u8acb\u53c3\u95b1 [//meta.wikimedia.org/wiki/Help:Contents \u4f7f\u7528\u8005\u624b\u518a] \u4ee5\u7372\u5f97\u4f7f\u7528\u6b64 wiki \u8edf\u9ad4\u7684\u8a0a\u606f\uff01</del></div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">* navigation</ins></div></td></tr>\n<tr><td class='diff-marker'>\u2212</td><td class='diff-deletedline'><div> </div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">** mainpage|mainpage-description</ins></div></td></tr>\n<tr><td class='diff-marker'>\u2212</td><td class='diff-deletedline'><div><del class=\"diffchange diffchange-inline\">== \u5165\u9580 ==</del></div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">** portal-url|\u57fa\u672c\u8cc7\u6599</ins></div></td></tr>\n<tr><td class='diff-marker'>\u2212</td><td class='diff-deletedline'><div> </div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">** currentevents-url|\u5c08\u6848\u8a08\u5283</ins></div></td></tr>\n<tr><td class='diff-marker'>\u2212</td><td class='diff-deletedline'><div>* <del class=\"diffchange diffchange-inline\">[//www.mediawiki.org/wiki/Manual:Configuration_settings MediaWiki \u914d\u7f6e\u8a2d\u5b9a\u6e05\u55ae]</del></div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">** recentchanges-url|\u6559\u6388\u8ab2\u7a0b</ins></div></td></tr>\n<tr><td class='diff-marker'>\u2212</td><td class='diff-deletedline'><div>* <del class=\"diffchange diffchange-inline\">[//www.mediawiki.org/wiki/Manual:FAQ MediaWiki \u5e38\u898b\u554f\u984c\u89e3\u7b54]</del></div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">*** randompage-url|randompage</ins></div></td></tr>\n<tr><td class='diff-marker'>\u2212</td><td class='diff-deletedline'><div>* <del class=\"diffchange diffchange-inline\">[https://lists.wikimedia.org/mailman/listinfo/mediawiki-announce MediaWiki \u767c\u4f48\u90f5\u4ef6\u6e05\u55ae]</del></div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">*** helppage|help</ins></div></td></tr>\n<tr><td colspan=\"2\"> </td><td class='diff-marker'>+</td><td class='diff-addedline'><div>* <ins class=\"diffchange diffchange-inline\">SEARCH</ins></div></td></tr>\n<tr><td colspan=\"2\"> </td><td class='diff-marker'>+</td><td class='diff-addedline'><div>* <ins class=\"diffchange diffchange-inline\">TOOLBOX</ins></div></td></tr>\n<tr><td colspan=\"2\"> </td><td class='diff-marker'>+</td><td class='diff-addedline'><div>* <ins class=\"diffchange diffchange-inline\">LANGUAGES</ins></div></td></tr>\n" } }