תוצאה של API של מדיה־ויקי
זהו ייצוג ב־HTML של תסדיר JSON. תסדיר HTML טוב לתיקון שגיאות, אבל אינו מתאים ליישומים.
יש לציין את הפרמטר format כדי לשנות את תסדיר הפלט. כדי לראות ייצוג של תסדיר JSON לא ב־HTML יש להגדיר format=json.
ר' את התיעוד המלא, או את העזרה של API למידע נוסף.
{
"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\" >\u05e9\u05d5\u05e8\u05d4 1:</td>\n<td colspan=\"2\" class=\"diff-lineno\">\u05e9\u05d5\u05e8\u05d4 1:</td></tr>\n<tr><td class='diff-marker'>\u2212</td><td class='diff-deletedline'><div><strong><del class=\"diffchange diffchange-inline\">MediaWiki has been installed</del>.</strong></div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div><strong><ins class=\"diffchange diffchange-inline\">\u05de\u05e9\u05e4\u05d7\u05ea \u05e4\u05d5\u05e0\u05d3\u05e7 \u05dc\u05d3\u05d5\u05e8\u05d5\u05ea\u05d9\u05d4</ins>.</strong></div></td></tr>\n<tr><td class='diff-marker'>\u00a0</td><td class='diff-context'></td><td class='diff-marker'>\u00a0</td><td class='diff-context'></td></tr>\n<tr><td class='diff-marker'>\u00a0</td><td class='diff-context'><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'>\u00a0</td><td class='diff-context'><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"
}
}