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>\n  <td colspan=\"2\" class=\"diff-lineno\">Line 1:</td>\n  <td colspan=\"2\" class=\"diff-lineno\">Line 1:</td>\n</tr>\n<tr>\n  <td colspan=\"2\" class=\"diff-empty diff-side-deleted\"></td>\n  <td class=\"diff-marker\"><a class=\"mw-diff-movedpara-right\" title=\"Paragraph was moved. Click to jump to old location.\" href=\"#movedpara_3_0_lhs\">&#x26AB;</a></td>\n  <td class=\"diff-addedline diff-side-added\"><div><a name=\"movedpara_0_0_rhs\"></a><ins class=\"diffchange diffchange-inline\">[</ins>[Rules<ins class=\"diffchange diffchange-inline\">]</ins>]</div></td>\n</tr>\n<tr>\n  <td class=\"diff-marker\" data-marker=\"\u2212\"></td>\n  <td class=\"diff-deletedline diff-side-deleted\"><br /></td>\n  <td colspan=\"2\" class=\"diff-empty diff-side-added\"></td>\n</tr>\n<tr>\n  <td colspan=\"2\" class=\"diff-empty diff-side-deleted\"></td>\n  <td class=\"diff-marker\" data-marker=\"+\"></td>\n  <td class=\"diff-addedline diff-side-added\"><div>[[Tourism]]</div></td>\n</tr>\n<tr>\n  <td class=\"diff-marker\"><a class=\"mw-diff-movedpara-left\" title=\"Paragraph was moved. Click to jump to new location.\" href=\"#movedpara_0_0_rhs\">&#x26AB;</a></td>\n  <td class=\"diff-deletedline diff-side-deleted\"><div><a name=\"movedpara_3_0_lhs\"></a>[Rules]</div></td>\n  <td colspan=\"2\" class=\"diff-empty diff-side-added\"></td>\n</tr>\n<tr>\n  <td class=\"diff-marker\" data-marker=\"\u2212\"></td>\n  <td class=\"diff-deletedline diff-side-deleted\"><div>[<del class=\"diffchange diffchange-inline\">Tourism</del>]</div></td>\n  <td class=\"diff-marker\" data-marker=\"+\"></td>\n  <td class=\"diff-addedline diff-side-added\"><div>[<ins class=\"diffchange diffchange-inline\">[Towns]</ins>]</div></td>\n</tr>\n<tr>\n  <td colspan=\"2\" class=\"diff-empty diff-side-deleted\"></td>\n  <td class=\"diff-marker\"><a class=\"mw-diff-movedpara-right\" title=\"Paragraph was moved. Click to jump to old location.\" href=\"#movedpara_7_0_lhs\">&#x26AB;</a></td>\n  <td class=\"diff-addedline diff-side-added\"><div><a name=\"movedpara_5_0_rhs\"></a><ins class=\"diffchange diffchange-inline\">[</ins>[People<ins class=\"diffchange diffchange-inline\">]</ins>]</div></td>\n</tr>\n<tr>\n  <td class=\"diff-marker\" data-marker=\"\u2212\"></td>\n  <td class=\"diff-deletedline diff-side-deleted\"><div>[Towns]</div></td>\n  <td colspan=\"2\" class=\"diff-empty diff-side-added\"></td>\n</tr>\n<tr>\n  <td class=\"diff-marker\"><a class=\"mw-diff-movedpara-left\" title=\"Paragraph was moved. Click to jump to new location.\" href=\"#movedpara_5_0_rhs\">&#x26AB;</a></td>\n  <td class=\"diff-deletedline diff-side-deleted\"><div><a name=\"movedpara_7_0_lhs\"></a>[People]</div></td>\n  <td colspan=\"2\" class=\"diff-empty diff-side-added\"></td>\n</tr>\n"
    }
}