MediaWiki API 結果
這是JSON格式的HTML實現。HTML對除錯很有用,但不適合應用程式使用。
指定format參數以變更輸出格式。要查看JSON格式的非HTML實現,設定format=json。
{ "compare": { "fromid": 1, "fromrevid": 1, "fromns": 4, "fromtitle": "\u6587\u8a00\u5927\u767e\u79d1:\u5377\u9996", "toid": 2, "torevid": 2, "tons": 8, "totitle": "MediaWiki:Mainpage", "*": "<tr><td colspan=\"2\" class=\"diff-lineno\" id=\"mw-diff-left-l1\">\u7b2c\u4e00\u884c\uff1a</td>\n<td colspan=\"2\" class=\"diff-lineno\">\u7b2c\u4e00\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\"><strong>\u5171\u7b46\u81fa\u5df2\u7acb</strong></del></div></td><td class=\"diff-marker\" data-marker=\"+\"></td><td class=\"diff-addedline diff-side-added\"><div><ins class=\"diffchange diffchange-inline\">Project</ins>: <ins class=\"diffchange diffchange-inline\">\u5377\u9996</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 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\">\u6b32\u8b58\u7dad\u57fa\uff0c\u898b[https</del>:<del class=\"diffchange diffchange-inline\">//meta.wikimedia.org/wiki/Help:Contents User's Guide]</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\">==\u00a0\u59cb ==</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\">* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings Configuration settings list]</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:FAQ MediaWiki FAQ]</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 release mailing list]</del></div></td><td colspan=\"2\" class=\"diff-side-added\"></td></tr>\n" } }