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": "References",
        "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": {
            "1440": {
                "pageid": 1440,
                "ns": 0,
                "title": "Red Hat",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "== Red Hat ==\n\nRed Hat - Wikipedia - http://en.wikipedia.org/wiki/Red_Hat\n\n\"Red Hat, Inc. (NYSE: RHT) is an American software company that is engaged in providing open source software solutions to the enterprise community. Founded in 1993, Red Hat has its corporate headquarters in Raleigh, North Carolina with satellite offices worldwide.\n\nRed Hat has become associated to a large extent with its enterprise operating system Red Hat Enterprise Linux and with the acquisition of open-source enterprise middleware vendor JBoss. Red Hat provides operating system platforms, middleware, applications, management products, and support, training, and consulting services.\n\nRed Hat creates, maintains, and contributes to many free software projects and has also acquired several proprietary software packages and released their source code under mostly GNU GPL while holding copyright under single commercial entity and selling user licenses. As of February 2009, Red Hat was the largest corporate contributor to the Linux kernel.\""
                    }
                ]
            },
            "389": {
                "pageid": 389,
                "ns": 0,
                "title": "Redis",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "== Redis ==\n\nRedis - http://redis.io/\n\n''\"Redis is an open source, BSD licensed, advanced key-value cache and store. It is often referred to as a data structure server since keys can contain strings, hashes, lists, sets, sorted sets, bitmaps and hyperloglogs.\"'' [http://redis.io/]\n\n== Install ==\n\nDepenencies:\n yum install make gcc jemalloc-devel\n\n # stable\n curl http://download.redis.io/releases/redis-stable.tar.gz > redis-stable.tar.gz\n tar zxvf redis-stable.tar.gz\n cd redis-stable\n\n # latest\n #wget http://download.redis.io/releases/redis-2.8.17.tar.gz\n #tar -zvxf redis-2.8.17.tar.gz\n #cd redis-2.8.17\n\n make clean\n make\n #make test  # need tcl\n\n #cd src\n #./redis-server\n\n cp src/redis-server /usr/local/bin\n cp src/redis-cli /usr/local/bin\n\n mkdir -p /var/redis\n\n mkdir /etc/redis\n cp redis.conf /etc/redis/6379.conf\n\n<s>\n # replace 10.10.10.25 with you ip address\n<pre>\ncat > /etc/redis/redis.conf << \"EOF\"\nbind 10.10.10.25 127.0.0.1\ndir /var/redis/\ndaemonize yes\npidfile /var/run/redis.pid\nlogfile \"/var/log/redis.log\"\nEOF\n</pre>\n</s>\n\n<pre>\ncat > /etc/redis/redis.conf << \"EOF\"\ndaemonize yes\npidfile /var/run/redis.pid\nport 6379\ntcp-backlog 511\nbind 0.0.0.0\ntimeout 0\ntcp-keepalive 0\nloglevel notice\nlogfile \"/var/log/redis.log\"\ndatabases 16\nsave 900 1\nsave 300 10\nsave 60 10000\nstop-writes-on-bgsave-error yes\nrdbcompression yes\nrdbchecksum yes\ndbfilename dump.rdb\ndir /var/redis/\nslave-serve-stale-data yes\nslave-read-only yes\nrepl-disable-tcp-nodelay no\nslave-priority 100\nappendonly no\nappendfilename \"appendonly.aof\"\nappendfsync everysec\nno-appendfsync-on-rewrite no\nauto-aof-rewrite-percentage 100\nauto-aof-rewrite-min-size 64mb\nlua-time-limit 5000\nslowlog-log-slower-than 10000\nslowlog-max-len 128\nnotify-keyspace-events \"\"\nhash-max-ziplist-entries 512\nhash-max-ziplist-value 64\nlist-max-ziplist-entries 512\nlist-max-ziplist-value 64\nset-max-intset-entries 512\nzset-max-ziplist-entries 128\nzset-max-ziplist-value 64\nhll-sparse-max-bytes 3000\nactiverehashing yes\nclient-output-buffer-limit normal 0 0 0\nclient-output-buffer-limit slave 256mb 64mb 60\nclient-output-buffer-limit pubsub 32mb 8mb 60\nhz 10\naof-rewrite-incremental-fsync yes\nEOF\n</pre>\n\n<pre>\n# diff redis.conf /etc/redis/6379.conf\n37c37\n< daemonize no\n---\n> daemonize yes\n64a65,66\n> bind 172.31.45.18 127.0.0.1\n>\n103c105\n< logfile \"\"\n---\n> logfile \"/var/log/redis.log\"\n187c189,190\n< dir ./\n---\n> #dir ./\n> dir /var/redis/\n</pre>\n\n cp utils/redis_init_script /etc/init.d/redis\n\n chkconfig --add redis\n chkconfig redis on\n service redis start\n\n # set iptables for network and port 6379\n iptables -A INPUT -i eth0 -p tcp -s 10.10.10.0/24 --dport 6379 -m state --state NEW,ESTABLISHED -j ACCEPT\n iptables -A OUTPUT -o eth0 -p tcp --sport 6379 -m state --state ESTABLISHED -j ACCEPT\n\nConnect to server\n redis-cli -h 10.10.10.25"
                    }
                ]
            }
        }
    }
}