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": "SFTP",
        "continue": "gapcontinue||"
    },
    "warnings": {
        "main": {
            "*": "Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> 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": {
            "34": {
                "pageid": 34,
                "ns": 0,
                "title": "Recompiling QM",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "==Recompiling OpenQM==\n\nIf you want to recompile OpenQM there are two different sections you need to look at: the C code and the QMBasic code. If you make any changes to the code then you really should run buildgpl again, as this basically rebuilds the system from the ground up.\n\nIf you alter the C code in gplsrc simply run \"qm -stop\", then buildgpl. This will compile your code and link it into the main routines.  Depending upon compiler and library versions you may need to change some of the QM_GCC_OPTIONS in the buildgpl script.  Try these in various combinations:\n\n    * remove -Werror\n    * add -Wno-packed\n    * add -Wno-pointer-sign\n\nRecent Ubuntu (11.10) and other distributiuons have moved some of the library locations.  You may have to edit the QMLIBS line in the buildgpl script.  Try these\n\n    * QMLIBS=\"-lm -lcrypt -ldl\"\n    * QMLIBS=\"-Wl,--no-as-needed -lm -lcrypt -ldl\"\n\nIf you change the basic programs in GPL.BP, however, you first need to compile them. First login to the sysprog account using \"qm - Internal\"; this allows you to compile the internal subroutines that would normally throw a compiler error. Then compile your altered routine. As GPL.BP.OUT doesn't exist immediately after an install, I'd suggest avoiding \"* CHANGED\" unless you actually want to compile them all. Finally exit qm and run .buildgpl. I'm not sure why this is necessary, but without it the changes only appear in the system account; running buildgpl propagates the changes properly.\n\nQuick checklist:\n\nAfter changing some C-code:\n\n    * cd /usr/qmsys\n    * qm -stop\n    * ./buildgpl\n    * qm -start\n\nAfter changing Basic code:\n\n    * qm -Internal \"BASIC GPL.BP progname\"\n    * ./buildgpl\n\nGene and Ashley discovered that there was a missing file that prevented QPROC being recompiled.  TODO:- recall and document this."
                    }
                ]
            },
            "91": {
                "pageid": 91,
                "ns": 0,
                "title": "Recompiling ScarletDME",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "==Compiling ScarletDME from source==\n\nThe first step is to \"clone into\" the git repository that has the ScarletDME source code. If you haven't done this yet, the command is:\n\n git clone git://github.com/geneb/ScarletDME.git\n\nThis will create a directory called ScarletDME and it will contain the full C and BASIC source code tree.\n\nIf you just want to compile and install ScarletDME, it's very simple:\n\n make \n sudo make install\n\nAnd you're done! :)\n\nBy default \"make install\" will place the system in '''/usr/qmsys''', so you'll need to either be root on the system you're using or have access to root privilege commands via \"sudo\".\n\nIf you do not want the files being installed into '''/usr/qmsys''', you can edit the Makefile and change the line shown below to point where you'd like the installation action to put ScarletDME.\n\n INSTROOT := /usr/qmsys\n\n\nIf you only want to update all the system data files from the source repository, you can use the make target \"datafiles\".  This will copy all the system data into the INSTROOT location. Note that it WILL OVER-WRITE ANY EXISTING DATA!  Please use the \"datafiles\" target with caution.\n\nIf you want to start from a clean slate, there is a make target called \"clean\" that will remove all the object files from the \"gplobj\" directory.  The make target \"distclean\" will also remove the compiled binaries as well as the terminfo database.  \n\nThe terminfo database can be built by hand with the following command executed from the root of the ScarletDME source directory:\n\n bin/qmtic -pterminfo terminfo.src\n\n\n----\n\n\n==Recompiling the original GPL OpenQM==\n\nIf you want to recompile OpenQM there are two different sections you need to look at: the C code and the QMBasic code. If you make any changes to the code then you really should run buildgpl again, as this basically rebuilds the system from the ground up.\n\nIf you alter the C code in gplsrc simply run \"qm -stop\", then buildgpl. This will compile your code and link it into the main routines.  Depending upon compiler and library versions you may need to change some of the QM_GCC_OPTIONS in the buildgpl script.  Try these in various combinations:\n\n    * remove -Werror\n    * add -Wno-packed\n    * add -Wno-pointer-sign\n\nRecent Ubuntu (11.10) and other distributiuons have moved some of the library locations.  You may have to edit the QMLIBS line in the buildgpl script.  Try these\n\n    * QMLIBS=\"-lm -lcrypt -ldl\"\n    * QMLIBS=\"-Wl,--no-as-needed -lm -lcrypt -ldl\"\n\nIf you change the basic programs in GPL.BP, however, you first need to compile them. First login to the sysprog account using \"qm - Internal\"; this allows you to compile the internal subroutines that would normally throw a compiler error. Then compile your altered routine. As GPL.BP.OUT doesn't exist immediately after an install, I'd suggest avoiding \"* CHANGED\" unless you actually want to compile them all. Finally exit qm and run .buildgpl. I'm not sure why this is necessary, but without it the changes only appear in the system account; running buildgpl propagates the changes properly.\n\nQuick checklist:\n\nAfter changing some C-code:\n\n    * cd /usr/qmsys\n    * qm -stop\n    * ./buildgpl\n    * qm -start\n\nAfter changing Basic code:\n\n    * qm -Internal \"BASIC GPL.BP progname\"\n    * ./buildgpl\n\nGene and Ashley discovered that there was a missing file that prevented QPROC being recompiled.  TODO:- recall and document this."
                    }
                ]
            }
        }
    }
}