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.

{
    "batchcomplete": "",
    "query": {
        "pages": [
            {
                "ns": 0,
                "title": "API",
                "missing": ""
            },
            {
                "pageid": 1,
                "ns": 0,
                "title": "Main Page",
                "revisions": [
                    {
                        "user": "Lyon Cyborg",
                        "timestamp": "2018-05-04T08:44:44Z",
                        "slots": {
                            "main": {
                                "contentmodel": "wikitext",
                                "contentformat": "text/x-wiki",
                                "*": "{{DISPLAYTITLE:<center>'''Main Page'''</center>}}\n<!--        BANNER ACROSS TOP OF PAGE         -->\n<div id=\"mp-topbanner\" style=\"clear:both; position:relative; box-sizing:border-box; width:100%; margin:1.2em 0 6px; min-width:47em; border:1px solid #ddd; background-color:#f9f9f9; color:#000; white-space:nowrap;\">\n<!--        \"WELCOME TO WIKIPEDIA\" AND ARTICLE COUNT        -->\n<div style=\"margin:0.4em; width:22em; text-align:center;\">\n<div style=\"font-size:162%; padding:.1em;\">Welcome to {{SITENAME}},</div>\n<div style=\"font-size:95%;\">the [[free content|free]] [[encyclopedia]] that [[Wikipedia:Introduction|anyone can edit]].</div>\n<div id=\"articlecount\" style=\"font-size:85%;\">[[Special:Statistics|{{NUMBEROFARTICLES}}]] articles in [[English language|English]]</div>\n</div>\n<!--        PORTAL LIST ON RIGHT-HAND SIDE        -->\n<ul style=\"position:absolute; right:-1em; top:50%; margin-top:-2.4em; width:38%; min-width:25em; font-size:95%;\">\n<li style=\"position:absolute; left:0; top:0;\">[[Portal:Arts|Arts]]</li>\n<li style=\"position:absolute; left:0; top:1.6em;\">[[Portal:Biography|Biography]]</li>\n<li style=\"position:absolute; left:0; top:3.2em;\">[[Portal:Geography|Geography]]</li>\n<li style=\"position:absolute; left:33%; top:0;\">[[Portal:History|History]]</li>\n<li style=\"position:absolute; left:33%; top:1.6em;\">[[Portal:Mathematics|Mathematics]]</li>\n<li style=\"position:absolute; left:33%; top:3.2em;\">[[Portal:Science|Science]]</li>\n<li style=\"position:absolute; left:66%; top:0;\">[[Portal:Society|Society]]</li>\n<li style=\"position:absolute; left:66%; top:1.6em;\">[[Portal:Technology|Technology]]</li>\n<li style=\"position:absolute; left:66%; top:3.2em;\"><strong>[[Portal:Contents/Portals|All portals]]</strong></li>\n</ul>\n</div>\n<!--        MAIN PAGE BANNER        -->\n{{#if:{{Main Page banner}}|\n<div id=\"mp-banner\" class=\"MainPageBG\" style=\"margin-top:4px; padding:0.5em; background-color:#fffaf5; border:1px solid #f2e0ce;\">\n{{Main Page banner}}\n</div>\n}}\n<!--        TODAY'S FEATURED CONTENT        -->\n[[ru:]]\n[[uk:]]"
                            }
                        },
                        "comment": "Reverted edits by [[Special:Contributions/201.29.21.6|201.29.21.6]] ([[User talk:201.29.21.6|talk]]) to last revision by [[User:Lyon Cyborg|Lyon Cyborg]]"
                    }
                ]
            }
        ]
    }
}