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": "",
    "query": {
        "userinfo": {
            "id": 0,
            "name": "3.140.250.157",
            "anon": ""
        }
    }
}{
    "error": {
        "code": "internal_api_error_DBTransactionStateError",
        "info": "[Z_e6STtbgk2oCgV4bDSA5gAAAJQ] Exception caught: A database query error has occurred. This may indicate a bug in the software.",
        "errorclass": "Wikimedia\\Rdbms\\DBTransactionStateError",
        "*": "Wikimedia\\Rdbms\\DBTransactionStateError at /home/kochosting/kidsoncomputers.org/wiki/includes/libs/rdbms/database/TransactionManager.php(207)\nfrom /home/kochosting/kidsoncomputers.org/wiki/includes/libs/rdbms/database/TransactionManager.php(207)\n#0 /home/kochosting/kidsoncomputers.org/wiki/includes/libs/rdbms/database/Database.php(1296): Wikimedia\\Rdbms\\TransactionManager->assertTransactionStatus(Wikimedia\\Rdbms\\DatabaseSqlite, array, string)\n#1 /home/kochosting/kidsoncomputers.org/wiki/includes/libs/rdbms/database/Database.php(842): Wikimedia\\Rdbms\\Database->assertQueryIsCurrentlyAllowed(string, string)\n#2 /home/kochosting/kidsoncomputers.org/wiki/includes/libs/rdbms/database/Database.php(1629): Wikimedia\\Rdbms\\Database->query(string, string, integer)\n#3 /home/kochosting/kidsoncomputers.org/wiki/includes/libs/rdbms/database/Database.php(1582): Wikimedia\\Rdbms\\Database->select(string, string, array, string, array, array)\n#4 /home/kochosting/kidsoncomputers.org/wiki/includes/libs/rdbms/database/DBConnRef.php(119): Wikimedia\\Rdbms\\Database->selectField(string, string, array, string)\n#5 /home/kochosting/kidsoncomputers.org/wiki/includes/libs/rdbms/database/DBConnRef.php(331): Wikimedia\\Rdbms\\DBConnRef->__call(string, array)\n#6 /home/kochosting/kidsoncomputers.org/wiki/includes/language/LCStoreDB.php(61): Wikimedia\\Rdbms\\DBConnRef->selectField(string, string, array, string)\n#7 /home/kochosting/kidsoncomputers.org/wiki/includes/language/LocalisationCache.php(429): LCStoreDB->get(string, string)\n#8 /home/kochosting/kidsoncomputers.org/wiki/includes/language/LocalisationCache.php(332): LocalisationCache->loadSubitem(string, string, string)\n#9 /home/kochosting/kidsoncomputers.org/wiki/includes/language/MessageCache.php(725): LocalisationCache->getSubitem(string, string, string)\n#10 /home/kochosting/kidsoncomputers.org/wiki/includes/language/MessageCache.php(1221): MessageCache->isMainCacheable(string, string)\n#11 /home/kochosting/kidsoncomputers.org/wiki/includes/language/MessageCache.php(1125): MessageCache->getMsgFromNamespace(string, string)\n#12 /home/kochosting/kidsoncomputers.org/wiki/includes/language/MessageCache.php(1097): MessageCache->getMessageForLang(LanguageEn, string, boolean, array)\n#13 /home/kochosting/kidsoncomputers.org/wiki/includes/language/MessageCache.php(1039): MessageCache->getMessageFromFallbackChain(LanguageEn, string, boolean)\n#14 /home/kochosting/kidsoncomputers.org/wiki/includes/language/Message.php(1476): MessageCache->get(string, boolean, LanguageEn)\n#15 /home/kochosting/kidsoncomputers.org/wiki/includes/language/Message.php(971): Message->fetchMessage()\n#16 /home/kochosting/kidsoncomputers.org/wiki/includes/language/Message.php(1054): Message->format(string)\n#17 /home/kochosting/kidsoncomputers.org/wiki/includes/OutputPage.php(1101): Message->text()\n#18 /home/kochosting/kidsoncomputers.org/wiki/includes/api/ApiFormatBase.php(261): OutputPage->setPageTitle(Message)\n#19 /home/kochosting/kidsoncomputers.org/wiki/includes/api/ApiMain.php(2169): ApiFormatBase->closePrinter()\n#20 /home/kochosting/kidsoncomputers.org/wiki/includes/api/ApiMain.php(1911): ApiMain->printResult()\n#21 /home/kochosting/kidsoncomputers.org/wiki/includes/api/ApiMain.php(880): ApiMain->executeAction()\n#22 /home/kochosting/kidsoncomputers.org/wiki/includes/api/ApiMain.php(851): ApiMain->executeActionWithErrorHandling()\n#23 /home/kochosting/kidsoncomputers.org/wiki/api.php(91): ApiMain->execute()\n#24 /home/kochosting/kidsoncomputers.org/wiki/api.php(46): wfApiMain()\n#25 {main}"
    }
}