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 <var>format</var> parameter to change the output format. To see the non-HTML representation of the JSON format, set [http://ciapini.wiki.esiliati.org/api.php?action=compare&fromrev=1&torev=2&format=json <kbd>format=json</kbd>]. See the [[mw:API|complete documentation]], or the [[Special:ApiHelp/main|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-l1\">Line 1:</td>\n<td colspan=\"2\" class=\"diff-lineno\">Line 1:</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\">'''MediaWiki has been successfully installed.'''</del></div></td><td class=\"diff-marker\" data-marker=\"+\"></td><td class=\"diff-addedline diff-side-added\"><div><ins class=\"diffchange diffchange-inline\">Repositorio dei ciapini</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\">Consult the [//meta.wikimedia.org/wiki/Help:Contents User's Guide] for information on using the wiki software.</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\">== Getting started ==</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\">* [//www.mediawiki.org/wiki/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\">* [//www.mediawiki.org/wiki/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/mailman/listinfo/mediawiki-announce MediaWiki release mailing list]</del></div></td><td colspan=\"2\" class=\"diff-side-added\"></td></tr>\n"
    }
}{
    "error": {
        "code": "internal_api_error_DBTransactionStateError",
        "info": "[1258f63e7008878a943da732] Caught exception of type Wikimedia\\Rdbms\\DBTransactionStateError",
        "errorclass": "Wikimedia\\Rdbms\\DBTransactionStateError"
    }
}
Retrieved from "$'"1"