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.
{
"error": {
"code": "internal_api_error_DBConnectionError",
"info": "[615b311cec4146a03507133f] Exception caught: A database query error has occurred. This may indicate a bug in the software.",
"errorclass": "Wikimedia\\Rdbms\\DBConnectionError",
"*": "Wikimedia\\Rdbms\\DBConnectionError at /var/www/html/mediawiki/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1420)\n#0 /var/www/html/mediawiki/includes/libs/rdbms/loadbalancer/LoadBalancer.php(934): Wikimedia\\Rdbms\\LoadBalancer->reportConnectionError()\n#1 /var/www/html/mediawiki/includes/libs/rdbms/loadbalancer/LoadBalancer.php(901): Wikimedia\\Rdbms\\LoadBalancer->getServerConnection()\n#2 /var/www/html/mediawiki/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1046): Wikimedia\\Rdbms\\LoadBalancer->getConnection()\n#3 /var/www/html/mediawiki/includes/GlobalFunctions.php(2463): Wikimedia\\Rdbms\\LoadBalancer->getMaintenanceConnectionRef()\n#4 /var/www/html/mediawiki/extensions/Gadgets/includes/MediaWikiGadgetsDefinitionRepo.php(106): wfGetDB()\n#5 /var/www/html/mediawiki/includes/libs/objectcache/wancache/WANObjectCache.php(1529): MediaWikiGadgetsDefinitionRepo->{closure}()\n#6 /var/www/html/mediawiki/includes/libs/objectcache/wancache/WANObjectCache.php(1376): WANObjectCache->fetchOrRegenerate()\n#7 /var/www/html/mediawiki/extensions/Gadgets/includes/MediaWikiGadgetsDefinitionRepo.php(116): WANObjectCache->getWithSetCallback()\n#8 /var/www/html/mediawiki/extensions/Gadgets/includes/MediaWikiGadgetsDefinitionRepo.php(32): MediaWikiGadgetsDefinitionRepo->loadGadgets()\n#9 /var/www/html/mediawiki/extensions/Gadgets/includes/GadgetRepo.php(71): MediaWikiGadgetsDefinitionRepo->getGadgetIds()\n#10 /var/www/html/mediawiki/extensions/Gadgets/includes/GadgetHooks.php(114): GadgetRepo->getStructuredList()\n#11 /var/www/html/mediawiki/includes/HookContainer/HookContainer.php(329): GadgetHooks::userGetDefaultOptions()\n#12 /var/www/html/mediawiki/includes/HookContainer/HookContainer.php(132): MediaWiki\\HookContainer\\HookContainer->callLegacyHook()\n#13 /var/www/html/mediawiki/includes/HookContainer/HookRunner.php(4254): MediaWiki\\HookContainer\\HookContainer->run()\n#14 /var/www/html/mediawiki/includes/user/DefaultOptionsLookup.php(99): MediaWiki\\HookContainer\\HookRunner->onUserGetDefaultOptions()\n#15 /var/www/html/mediawiki/includes/user/UserOptionsManager.php(494): MediaWiki\\User\\DefaultOptionsLookup->getDefaultOptions()\n#16 /var/www/html/mediawiki/includes/user/UserOptionsManager.php(135): MediaWiki\\User\\UserOptionsManager->loadUserOptions()\n#17 /var/www/html/mediawiki/includes/user/User.php(2670): MediaWiki\\User\\UserOptionsManager->getOption()\n#18 /var/www/html/mediawiki/includes/context/RequestContext.php(355): User->getOption()\n#19 /var/www/html/mediawiki/includes/StubUserLang.php(52): RequestContext->getLanguage()\n#20 /var/www/html/mediawiki/includes/StubObject.php(172): StubUserLang->_newObject()\n#21 /var/www/html/mediawiki/includes/StubObject.php(99): StubObject->_unstub()\n#22 /var/www/html/mediawiki/includes/parser/ParserOptions.php(1059): StubObject::unstub()\n#23 /var/www/html/mediawiki/includes/cache/MessageCache.php(224): ParserOptions->__construct()\n#24 /var/www/html/mediawiki/includes/cache/MessageCache.php(1247): MessageCache->getParserOptions()\n#25 /var/www/html/mediawiki/includes/language/Message.php(1287): MessageCache->transform()\n#26 /var/www/html/mediawiki/includes/language/Message.php(894): Message->transformText()\n#27 /var/www/html/mediawiki/includes/language/Message.php(954): Message->toString()\n#28 /var/www/html/mediawiki/includes/api/ApiFeedContributions.php(70): Message->text()\n#29 /var/www/html/mediawiki/includes/api/ApiMain.php(1593): ApiFeedContributions->execute()\n#30 /var/www/html/mediawiki/includes/api/ApiMain.php(529): ApiMain->executeAction()\n#31 /var/www/html/mediawiki/includes/api/ApiMain.php(500): ApiMain->executeActionWithErrorHandling()\n#32 /var/www/html/mediawiki/api.php(90): ApiMain->execute()\n#33 /var/www/html/mediawiki/api.php(45): wfApiMain()\n#34 {main}"
}
}