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": 145,
        "fromrevid": 1,
        "fromns": 0,
        "fromtitle": "Welcome to our knowledge base",
        "toid": 2,
        "torevid": 2,
        "tons": 0,
        "totitle": "Coupons & Promotion Codes",
        "*": "<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'>\u2212</td><td class='diff-deletedline'><div><del class=\"diffchange diffchange-inline\">&lt;big&gt;</del>&#039;&#039;&#039;<del class=\"diffchange diffchange-inline\">MediaWiki has been successfully installed.</del>&#039;&#039;&#039;<del class=\"diffchange diffchange-inline\">&lt;/big&gt;</del></div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div>&#039;&#039;&#039;<ins class=\"diffchange diffchange-inline\">Discount&#039;&#039;&#039; and &#039;&#039;&#039;Coupon</ins>&#039;&#039;&#039; <ins class=\"diffchange diffchange-inline\">codes can be created using the following rules.</ins></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'>\u2212</td><td class='diff-deletedline'><div><del class=\"diffchange diffchange-inline\">Consult the [http://meta.wikimedia.org/wiki/Help:Contents User&#039;s Guide] for information on using the wiki software.</del></div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"># Time Period</ins></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'>\u2212</td><td class='diff-deletedline'><div><del class=\"diffchange diffchange-inline\">== Getting started ==</del></div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">A start date and end date can be specified for each code. If no end date is specified, then the code is valid until deactivated. If no start date is specified, then the current date is assumed.</ins></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'>\u2212</td><td class='diff-deletedline'><div><del class=\"diffchange diffchange-inline\">* [http://www</del>.<del class=\"diffchange diffchange-inline\">mediawiki.org/wiki/Manual:Configuration_settings Configuration settings list]</del></div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"># Type of discount</ins></div></td></tr>\n<tr><td class='diff-marker'>\u2212</td><td class='diff-deletedline'><div><del class=\"diffchange diffchange-inline\">* [http://www</del>.<del class=\"diffchange diffchange-inline\">mediawiki</del>.<del class=\"diffchange diffchange-inline\">org/wiki/Manual:FAQ MediaWiki FAQ]</del></div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div>\u00a0</div></td></tr>\n<tr><td class='diff-marker'>\u2212</td><td class='diff-deletedline'><div><del class=\"diffchange diffchange-inline\">* [http://lists</del>.<del class=\"diffchange diffchange-inline\">wikimedia</del>.<del class=\"diffchange diffchange-inline\">org/mailman/listinfo/mediawiki-announce MediaWiki release mailing list]</del></div></td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">A discount can take two forms, a flat amount or a percentage amount</ins>.</div></td></tr>\n<tr><td colspan=\"2\">\u00a0</td><td class='diff-marker'>+</td><td class='diff-addedline'><div>\u00a0</div></td></tr>\n<tr><td colspan=\"2\">\u00a0</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\"># Qualifying Conditions</ins></div></td></tr>\n<tr><td colspan=\"2\">\u00a0</td><td class='diff-marker'>+</td><td class='diff-addedline'><div>\u00a0</div></td></tr>\n<tr><td colspan=\"2\">\u00a0</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">In order for a code to be valid, it must meet the qualifying conditions</ins>. <ins class=\"diffchange diffchange-inline\">If no qualifying conditions are set, then the discount is applicable to the entire order, regardless of what is in the order</ins>.</div></td></tr>\n<tr><td colspan=\"2\">\u00a0</td><td class='diff-marker'>+</td><td class='diff-addedline'><div>\u00a0</div></td></tr>\n<tr><td colspan=\"2\">\u00a0</td><td class='diff-marker'>+</td><td class='diff-addedline'><div><ins class=\"diffchange diffchange-inline\">A qualifying quantity or value may be set. If a quantity is set, then there must be at least n qualifying items in the cart, before the discount can be applied</ins>. <ins class=\"diffchange diffchange-inline\">If a value is set, then the value of all the qualifying items in the cart must be at least equal to the qualifying value</ins>.</div></td></tr>\n"
    }
}