MediaWiki API result
This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format. To see the non-HTML representation of the JSON format, set format=json.
See the complete documentation, or the API help for more information.
{ "compare": { "fromid": 1, "fromrevid": 1, "fromns": 0, "fromtitle": "Main Page", "toid": 1, "torevid": 2, "tons": 0, "totitle": "Main Page", "*": "<tr><td colspan=\"2\" class=\"diff-lineno\" id=\"mw-diff-left-l9\">Line 9:</td>\n<td colspan=\"2\" class=\"diff-lineno\">Line 9:</td></tr>\n<tr><td class=\"diff-marker\"></td><td class=\"diff-context diff-side-deleted\"><div>* [https://www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources Localise MediaWiki for your language]</div></td><td class=\"diff-marker\"></td><td class=\"diff-context diff-side-added\"><div>* [https://www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources Localise MediaWiki for your language]</div></td></tr>\n<tr><td class=\"diff-marker\"></td><td class=\"diff-context diff-side-deleted\"><div>* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Combating_spam Learn how to combat spam on your wiki]</div></td><td class=\"diff-marker\"></td><td class=\"diff-context diff-side-added\"><div>* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Combating_spam Learn how to combat spam on your wiki]</div></td></tr>\n<tr><td colspan=\"2\" class=\"diff-side-deleted\"></td><td class=\"diff-marker\" data-marker=\"+\"></td><td class=\"diff-addedline diff-side-added\"><div><ins class=\"diffchange\"></ins></div></td></tr>\n<tr><td colspan=\"2\" class=\"diff-side-deleted\"></td><td class=\"diff-marker\" data-marker=\"+\"></td><td class=\"diff-addedline diff-side-added\"><div><ins class=\"diffchange\">Test updated</ins></div></td></tr>\n" } }