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": "RecoverSuperUserRights",
        "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": {
            "636": {
                "pageid": 636,
                "ns": 0,
                "title": "ReOpenOnCorresWithExcep",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "This is a quick Scrip that will reopen a ticket upon correspondence being added to said ticket.\n\nDescription: Auto reopen a ticket upon correspondence Condition: User Defined Action: Open Tickets Template: Global Template: blank Stage: [[TransactionCreate]]\n\nCustom Condition:\n\nmy $trans = $self-&gt;[[TransactionObj]]; my $ticket = $self-&gt;[[TicketObj]];\n\nreturn 0 unless $trans-&gt;Type eq \"Correspond\"; return 0 if $ticket-&gt;Queue == 12; return 1;\n\nLeave \"Custom action preparation code\" and \"Custom action cleanup code\" blank.\n\nNote: The queue that I did not want this action to take place on, was number 12. Change this number to reflect the queue that you would like to filter on. You could easily add more queues or other criteria to filter on.\n\nGood Luck!"
                    }
                ]
            },
            "637": {
                "pageid": 637,
                "ns": 0,
                "title": "RecoverRootPassword",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "The topic of recovering root password comes up frequently in the [[MailingLists]].\n\nHere are some answers.\n\nThe original (default) '''RT root user''' password is \"password\", not the password you set in RT_SiteConfig.pm (which is your DBMS root user password), nor the password of your '''Unix''' root user.\n\nIf you over-write, corrupt, or lose the root password, there are a few ways to recover it.\n\n== Easiest way ==\n\nQ: I lost the root password how can I reset it?\n\nA:\n    perl -I/opt/rt4/local/lib -I/opt/rt4/lib \\\n     -MRT -MRT::User \\\n     -e'RT::LoadConfig(); RT::Init(); my $u = RT::User-&gt;new($RT::SystemUser); $u-&gt;Load(\"root\"); $u-&gt;SetPassword(\"secret\")'\n\nThe above also works for rt5, just adjust the include path to your rt installation (typically /opt/rt5).\n\n== Use another known password ==\n\nUse SQL to copy the known password from some other user into the root password.\n\n== Generate a new password ==\n\n=== SQL ===\n\nUse base64 encoded MD5 of the word 'password'. This should work with all recent RT versions. Before you set the password you must switch to the RT Database.\n mysql&gt; UPDATE Users SET Password='X03MO1qnZdYdgyfeuILPmQ' WHERE Name='root';\n\nFor RT4 use the default enry (root/password):\n mysql&gt; UPDATE Users SET Password='!bcrypt!10!xijhhtbzipG6.EsQwgic7.D1mUs2tC0yN4iNjOWS9Za8gAtKTzTlW' WHERE Name='root';\n\nOr...\n mysql&gt; UPDATE Users SET Password=md5('password') WHERE Name='root';\n\nOr very old crypt variant.\n mysql&gt; UPDATE Users SET Password=ENCRYPT('password','SA') WHERE Name='root';\n\n== Enable root user ==\n\nQ: Passwort is reset, but i still can not log in. My log says:\n\n Disabled user root tried to log in\n\nA: You have to (re-)enable the root user:\n\nFind out the id of root (usually it's 12):\n mysql&gt; SELECT * FROM Users WHERE Name='root';\nCheck if root is disabled:\n mysql&gt; SELECT * FROM Principals WHERE id=12;\nEnable root:\n mysql&gt; UPDATE Principals SET Disabled=0 WHERE id=12;\n\n== See also ==\n\n[[PasswordsInDB]]"
                    }
                ]
            }
        }
    }
}