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": "KNOWLEDGE CENTRE", "toid": 1, "torevid": 2, "tons": 0, "totitle": "KNOWLEDGE CENTRE", "*": "<tr><td colspan=\"2\" class=\"diff-lineno\" id=\"mw-diff-left-l2\">Line 2:</td>\n<td colspan=\"2\" class=\"diff-lineno\">Line 2:</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\"></td><td class=\"diff-context diff-side-deleted\"><div>Consult the [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents User's Guide] for information on using the wiki software.</div></td><td class=\"diff-marker\"></td><td class=\"diff-context diff-side-added\"><div>Consult the [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents User's Guide] for information on using the wiki software.</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\">test</ins></div></td></tr>\n<tr><td class=\"diff-marker\"></td><td class=\"diff-context diff-side-deleted\"><div>== Getting started ==</div></td><td class=\"diff-marker\"></td><td class=\"diff-context diff-side-added\"><div>== Getting started ==</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:Configuration_settings Configuration settings list]</div></td><td class=\"diff-marker\"></td><td class=\"diff-context diff-side-added\"><div>* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings Configuration settings list]</div></td></tr>\n" } }