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": "TEST.masteruser",
        "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": {
            "145": {
                "pageid": 145,
                "ns": 0,
                "title": "Set up Basic Firewall Functions",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "<b>TODO: change this to not use ifrename and use udev instead</b>\n\n==System Prep==\n*apt-get remove nfs-common rpcbind\n*apt-get install ifrename\n\n==Multiple Network Interfaces on Debian==\n*<b>BIG FAT NOTE: Do not use ifrename on current debian, use udev instead</b>\n**SUBSYSTEM==\"net\", ACTION==\"add\", DRIVERS==\"?*\", ATTR{address}==\"00:a0:c9:2e:fe:db\", ATTR{dev_id}==\"0x0\", ATTR{type}==\"1\", KERNEL==\"eth*\", NAME=\"eth2\"\n\n*for i in eth0 eth1 eth2; do ADD=$(ifconfig $i | head -1 | cut -f 11 -d \" \"); echo \"$i mac $ADD\" >> /etc/iftab; done\n*> /etc/network/interfaces; vi [[/etc/network/interfaces]]\n\n==Configure Packet Forwarding / Basic IPTables Rules Set / Network Startup Script==\n*sed -i 's/#net.ipv4.ip_forward=1/net.ipv4.ip_forward=1/' /etc/sysctl.conf\n*sysctl -p\n*mkdir /root/scripts\n*vi [[/root/scripts/iptables-restore]]\n*iptables-restore < /root/scripts/iptables-restore\n*vi [[/root/scripts/netup.sh]]\n*vi [[/root/scripts/netdown.sh]]"
                    }
                ]
            },
            "146": {
                "pageid": 146,
                "ns": 0,
                "title": "Shape/Track Bandwidth - Finalize IPTables",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "==System Prep==\n*apt-get install tcng xtables-addons-source xtables-addons-common nbtscan linux-headers-$(uname -r) automake libtool libfile-tail-perl libtext-trim-perl libdatetime-format-mail-perl libnet-sslglue-perl\n*<b>Note: </b>as of Apr2014, tcng must be installed from wheezy (update sources.list && apt-get install tcng/wheezy)\n\n==Configure Traffic Control==\n*vi [[/root/scripts/qos.tc]]\n*echo \\#\\!\\/bin\\/bash > /root/scripts/qos.sh; tcng /root/scripts/qos.tc >> /root/scripts/qos.sh\n*vi [[/root/scripts/qos.reset.sh]]\n*bash /root/scripts/qos.reset.sh; bash /root/scripts/qos.sh\n\n==Install and Configure Bandwidth Accounting and Reporting==\n*m-a prepare\n*m-a a-i -t xtables-addons-source\n**NOV7/2014 - build fails.  $(ln -s /usr/src /tmp/buildd); $(m-a a-i -t xtables-addons-source); let it fail; $(cd /usr/src/modules/xtables-addons; ./configure; make; make install)\n*echo xt_ACCOUNT >> /etc/modules\n*modprobe xt_ACCOUNT\n*depmod -a\n*vi [[/root/scripts/bwrpt.pl]]\n*crontab -e\n**9-59/10 * * * * PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin; /usr/bin/perl /root/scripts/bwrpt.pl <b><= Note: on large networks this can take a few minutes to run, and it needs to complete it's data collection before 00:00, so you may need to set it to start at 58 or 57</b>\n\n==Finalize IPTables Configuration==\n*vi [[/root/scripts/iptables-restore#Completed|/root/scripts/iptables-restore]]\n*iptables-restore < /root/scripts/iptables-restore\n*iptaccount -a <b><= Make sure these three lines show up:</b><br>Found table: wan<br>Found table: computerisms<br>Found table: pubaccess\n*From worklian:\n**telnet 192.168.25.15 25 <b><= Make sure you can telnet to ports 25, 80, 443, 587, 993, 995</b>\n\n==Notes==\n*Aug30/2014 => module-assistant fails to build xtables-addons.  after it fails do:\n**cd /usr/src/modules/xtables-addons/\n**/bin/bash build-aux/missing autoconf\n**./configure\n**make -j1\n**m-a a-i -t -O xtables-addons"
                    }
                ]
            }
        }
    }
}