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": "",
    "continue": {
        "gapcontinue": "Remote_Access",
        "continue": "gapcontinue||"
    },
    "warnings": {
        "main": {
            "*": "Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes."
        },
        "revisions": {
            "*": "Because \"rvslots\" was not specified, a legacy format has been used for the output. This format is deprecated, and in the future the new format will always be used."
        }
    },
    "query": {
        "pages": {
            "117": {
                "pageid": 117,
                "ns": 0,
                "title": "Rebuilding cdb files",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "===Rebuilding cdb files===\n\nI cannot seem to remember the commands to rebuild the cdbs, so I bashed one up to do it for me, automagically...put it in /etc/cron.hourly...this way all your cdbs are never more than an hour old.\n #!/bin/bash\n #rebuilds simcontrol.cdb\n /var/qmail/bin/simscanmk\n sleep 2\n #rebuilds simversions.cdb\n /var/qmail/bin/simscanmk -g\n sleep 2\n #rebuilds badloadertypes--rare-ok to comment out\n /var/qmail/bin/qmail-badloadertypes\n sleep 2\n #rebuilds badmimetypes--rare-ok to comment out\n /var/qmail/bin/qmail-badmimetypes\n sleep 2\n #rebuilds tcp.smtp and reloads new configs\n qmailctl cdb\n #eof\nWORKSFORME. (don't forget to chmod +x the file you save that as, like I did)\n\n\nNote, as of QmailToaster v1.3,\n # qmailctl cdb\ndoes it all, so there's no more need for this.\n\n==[[User Tips & Tricks]]=="
                    }
                ]
            },
            "118": {
                "pageid": 118,
                "ns": 0,
                "title": "Recovering from a blown upgrade",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "===Recovering from a blown upgrade===\nA few weeks ago someone posted a message about how he did an upgrade on a production server and it stopped working.  He was getting the message\n\"451 qq write error or disk full (#4.3.0)\"\n\nI had this same problem happen today.  While I do not know what caused it, I suspect that not turning off monit had something to do with it, as monit would have tried to restart qmail every few minutes.  Again, this is just a suspicion.\n\nThe tangible results of this upgrade failure was that many files and folders throughout the qmail installation ended up being owned by named:named.\n\nOne thing you should know about my system is that /home/vpopmail is a softlink to /var/qmail.  This allows me to have less directories to back up and to follow a scheme that I used on earlier (pre-toaster) setups. So when I refer to the /var/qmail/domains directory, it is likely to be /home/vpopmail/domains for you if you do not have your schema set up as do I,\n\nWhat needs to be done to revive the system is to do a lot of ownership changes and some mode changes.\n\nFirst I ran queue_repair.py -r.  I do not know that it actually did a lot of good because things it said that it did, when I checked it did not, but I include it here for thoroughness.\n\nHere are the changes I had to make:\n<pre>\nchown root:root /usr/sbin/httpd\ncd /var/qmail ; chown -R qmaill:qmail supervise\ncd /var/qmail/bin; chown root:qmail qmail-clean qmail-lspawn qmail-rspawn qmail-send qmail-smtpd\ncd /var/qmail/domains ; chown -R vpopmail:vchkpw *\ncd /var/qmail/etc ; chown vpopmail:vchkpw vpopmail.mysql*\ncd /var/log/qmail ; chown -R qmaill:qmail *\ncd /var/qmail/queue ; chown -R qmailq:qmail todo\ncd /var/qmail/queue/todo ; chmod 644 *\n</pre>\nI have no idea of how apache (httpd) got changed, but it had monit sending me alerts, so that was what I had changed first.\n\nSo that's my list of things that needed to be fixed to get a messed-up toaster upgrade back to working condition.  Hopefully it will save someone the half hour of work it took me to figure it all out.\n\n==[[User Tips & Tricks]]=="
                    }
                ]
            }
        }
    }
}