MediaWiki API 结果

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

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

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

{
    "compare": {
        "fromid": 1,
        "fromrevid": 1,
        "fromns": 0,
        "fromtitle": "\u9996\u9875",
        "toid": 2,
        "torevid": 2,
        "tons": 0,
        "totitle": "Family Computer",
        "*": "<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\">&lt;strong&gt;\u5df2\u5b89\u88c5MediaWiki\u3002&lt;/strong&gt;</del></div></td><td class=\"diff-marker\" data-marker=\"+\"></td><td class=\"diff-addedline diff-side-added\"><div><ins class=\"diffchange diffchange-inline\">The Nintendo Entertainment System (NES) is the first video game console made by Nintendo in Japan, Europe, and the United States. It came out in 1985 in the United States and was very popular. In Japan, the console looked different and was called the Famicom (from Family Computer).</ins></div></td></tr>\n<tr><td class=\"diff-marker\"></td><td class=\"diff-context diff-side-deleted\"><br></td><td class=\"diff-marker\"></td><td class=\"diff-context diff-side-added\"><br></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[https://www</del>.<del class=\"diffchange diffchange-inline\">mediawiki</del>.<del class=\"diffchange diffchange-inline\">org/wiki/Special:MyLanguage/Help:Contents \u7528\u6237\u6307\u5bfc]\u4ee5\u83b7\u53d6\u4f7f\u7528\u672cwiki\u8f6f\u4ef6\u7684\u4fe1\u606f\u3002</del></div></td><td class=\"diff-marker\" data-marker=\"+\"></td><td class=\"diff-addedline diff-side-added\"><div><ins class=\"diffchange diffchange-inline\">The controller for the NES was different from the joysticks that older consoles had</ins>. <ins class=\"diffchange diffchange-inline\">It had a D-pad button that could go up, down, left, or right. It also had A, B, Select, and Start buttons. The NES could use up to two controllers for multiplayer games. There were also other types of controllers that could be used with the NES</ins>.</div></td></tr>\n<tr><td class=\"diff-marker\"></td><td class=\"diff-context diff-side-deleted\"><br></td><td class=\"diff-marker\"></td><td class=\"diff-context diff-side-added\"><br></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 class=\"diff-marker\" data-marker=\"+\"></td><td class=\"diff-addedline diff-side-added\"><div><ins class=\"diffchange diffchange-inline\">Some famous games for the NES are Super Mario Bros</ins>.<ins class=\"diffchange diffchange-inline\">, The Legend of Zelda, Metroid, Mega Man, Castlevania, Donkey Kong, and Final Fantasy</ins>. <ins class=\"diffchange diffchange-inline\">There have been many sequels to these games</ins>. <ins class=\"diffchange diffchange-inline\">Nintendo discontinued (stopped making and selling) the NES in 1995 and the Famicom in 2003</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\">* [https://www</del>.<del class=\"diffchange diffchange-inline\">mediawiki</del>.<del class=\"diffchange diffchange-inline\">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\">* [https://www</del>.<del class=\"diffchange diffchange-inline\">mediawiki</del>.<del class=\"diffchange diffchange-inline\">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/postorius/lists/mediawiki-announce.lists.wikimedia.org/ 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\">* [https://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<tr><td class=\"diff-marker\" data-marker=\"\u2212\"></td><td class=\"diff-deletedline diff-side-deleted\"><div><del class=\"diffchange diffchange-inline\">* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Combating_spam \u4e86\u89e3\u5982\u4f55\u5728\u60a8\u7684wiki\u4e0a\u6253\u51fb\u7834\u574f]</del></div></td><td colspan=\"2\" class=\"diff-side-added\"></td></tr>\n"
    }
}