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.

{
    "warnings": {
        "query": {
            "*": "Formatting of continuation data will be changing soon. To continue using the current formatting, use the 'rawcontinue' parameter. To begin using the new format, pass an empty string for 'continue' in the initial query."
        }
    },
    "query-continue": {
        "allpages": {
            "gapcontinue": "Release_notes"
        }
    },
    "query": {
        "pages": {
            "374": {
                "pageid": 374,
                "ns": 0,
                "title": "Reactor",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "[[Category:Humans]]\n[[Category:Buildables]]\n{{InfoBoxStart | name = Reactor | image = Reactor v28.png | caption = Hummmm hummm *bzzt*!}}\n{{InfoRow | caption = Health | value = 930 }}\n{{InfoRow | caption = Build Time | value = 20 seconds }}\n{{InfoBoxEnd}}\n\nGenerates a lot of power in its immediate vicinity while also delivering a small amount of power across the whole map, allowing humans to establish forward bases more safely. It is capable of attacking aliens that are too close to it, but with its limited range it is nothing to count on.\n\n==Tips==\n\n* You can recharge your energy weapons at the reactor.\n* It will deal some damages (20 per second) to aliens close enough, which can help covering sensible nearby structures, especially in early stages since aliens usually needs to go close to structures to hit them.\n\n[[File:2021-11-Reactor.jpg|650px]]"
                    }
                ]
            },
            "799": {
                "pageid": 799,
                "ns": 0,
                "title": "Reformatting the source",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "The Daemon and Unvanquished repositories suffer from differing code style conventions and fractally varying choice of indentation (spaces vs. tabs). The inconsistency is a constant source of friction for developers.\nI (slipher) propose that we may reformat the source code (in one big commit) if we have all of the following:\n\n# Whitespace-ignoring replacements for 'git diff' and 'git blame'\n# A configuration file for some cross-platform formatting tool which produces satisfying results\n# Instructions on how to install the formatting tool\n# A script to rewrite a chain of commits using the formatting tool (for use with unmerged branches)\n\n== Solutions ==\n\n# <p>freem suggests a method for configuring git blame to ignore a particular commit:\n#* https://www.moxio.com/blog/43/ignoring-bulk-change-commits-with-git-blame\n#* https://git-scm.com/docs/git-blame#Documentation/git-blame.txt---ignore-revltrevgt</p><p>Here is a [https://github.com/slipher/source-tools/blob/master/wsdiff.sh prototype Bash script] for doing a whitespace-ignoring invocation of git diff, which works by plugging into Git as an [https://git-scm.com/docs/git#Documentation/git.txt-codeGITEXTERNALDIFFcode external diff tool] and processing both sides of the diff with clang-format. It is probably a bad idea to use it without specifying specific paths, since in that case, if used across the reformatting commit, it will have to process every source file in the tree. {{TODO|See how slow that really is.}}</p>\n# WIP: https://github.com/Unvanquished/Unvanquished/pull/2622\n# ?\n# ?\n\n== Areas requiring special attention ==\n\nSome people have noted difficulties with autoformatters and lambda functions. [https://github.com/Unvanquished/Unvanquished/blob/master/src/cgame/cg_api.cpp cg_api.cpp] is one file with a lot of lambdas.\n\nWe should consider if we want to preserve formatting of tables such as <code>fields</code> (for map entities) in [https://github.com/Unvanquished/Unvanquished/blob/master/src/sgame/sg_spawn.cpp sg_spawn.cpp]."
                    }
                ]
            }
        }
    }
}