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": "[ZpDjNWKA5_0qQF3HJDByTwAADzA] Exception caught: A database query error has occurred. This may indicate a bug in the software.",
        "errorclass": "Wikimedia\\Rdbms\\DBConnectionError",
        "*": "Wikimedia\\Rdbms\\DBConnectionError at /home2/hcdevelo/preparingyou.com/wiki/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1149)\nfrom /home2/hcdevelo/preparingyou.com/wiki/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1149)\n#0 /home2/hcdevelo/preparingyou.com/wiki/includes/libs/rdbms/loadbalancer/LoadBalancer.php(805): Wikimedia\\Rdbms\\LoadBalancer->reportConnectionError()\n#1 /home2/hcdevelo/preparingyou.com/wiki/includes/libs/rdbms/loadbalancer/LoadBalancer.php(793): Wikimedia\\Rdbms\\LoadBalancer->getServerConnection(integer, string, integer)\n#2 /home2/hcdevelo/preparingyou.com/wiki/includes/libs/rdbms/database/DBConnRef.php(99): Wikimedia\\Rdbms\\LoadBalancer->getConnectionInternal(integer, array, string, integer)\n#3 /home2/hcdevelo/preparingyou.com/wiki/includes/libs/rdbms/database/DBConnRef.php(117): Wikimedia\\Rdbms\\DBConnRef->ensureConnection()\n#4 /home2/hcdevelo/preparingyou.com/wiki/includes/libs/rdbms/database/DBConnRef.php(710): Wikimedia\\Rdbms\\DBConnRef->__call(string, array)\n#5 /home2/hcdevelo/preparingyou.com/wiki/includes/libs/rdbms/database/Database.php(2760): Wikimedia\\Rdbms\\DBConnRef->getSessionLagStatus()\n#6 /home2/hcdevelo/preparingyou.com/wiki/extensions/Gadgets/includes/MediaWikiGadgetsDefinitionRepo.php(119): Wikimedia\\Rdbms\\Database::getCacheSetOptions(Wikimedia\\Rdbms\\DBConnRef)\n#7 /home2/hcdevelo/preparingyou.com/wiki/includes/libs/objectcache/wancache/WANObjectCache.php(1725): MediaWiki\\Extension\\Gadgets\\MediaWikiGadgetsDefinitionRepo->MediaWiki\\Extension\\Gadgets\\{closure}(boolean, integer, array, NULL, array)\n#8 /home2/hcdevelo/preparingyou.com/wiki/includes/libs/objectcache/wancache/WANObjectCache.php(1556): WANObjectCache->fetchOrRegenerate(string, integer, Closure, array, array)\n#9 /home2/hcdevelo/preparingyou.com/wiki/extensions/Gadgets/includes/MediaWikiGadgetsDefinitionRepo.php(113): WANObjectCache->getWithSetCallback(string, integer, Closure, array)\n#10 /home2/hcdevelo/preparingyou.com/wiki/includes/libs/objectcache/BagOStuff.php(206): MediaWiki\\Extension\\Gadgets\\MediaWikiGadgetsDefinitionRepo->MediaWiki\\Extension\\Gadgets\\{closure}(integer)\n#11 /home2/hcdevelo/preparingyou.com/wiki/extensions/Gadgets/includes/MediaWikiGadgetsDefinitionRepo.php(108): BagOStuff->getWithSetCallback(string, integer, Closure)\n#12 /home2/hcdevelo/preparingyou.com/wiki/extensions/Gadgets/includes/MediaWikiGadgetsDefinitionRepo.php(42): MediaWiki\\Extension\\Gadgets\\MediaWikiGadgetsDefinitionRepo->loadGadgets()\n#13 /home2/hcdevelo/preparingyou.com/wiki/extensions/Gadgets/includes/GadgetRepo.php(70): MediaWiki\\Extension\\Gadgets\\MediaWikiGadgetsDefinitionRepo->getGadgetIds()\n#14 /home2/hcdevelo/preparingyou.com/wiki/extensions/Gadgets/includes/Hooks.php(133): MediaWiki\\Extension\\Gadgets\\GadgetRepo->getStructuredList()\n#15 /home2/hcdevelo/preparingyou.com/wiki/includes/HookContainer/HookContainer.php(161): MediaWiki\\Extension\\Gadgets\\Hooks->onUserGetDefaultOptions(array)\n#16 /home2/hcdevelo/preparingyou.com/wiki/includes/HookContainer/HookRunner.php(4194): MediaWiki\\HookContainer\\HookContainer->run(string, array)\n#17 /home2/hcdevelo/preparingyou.com/wiki/includes/user/DefaultOptionsLookup.php(117): MediaWiki\\HookContainer\\HookRunner->onUserGetDefaultOptions(array)\n#18 /home2/hcdevelo/preparingyou.com/wiki/includes/user/UserOptionsManager.php(598): MediaWiki\\User\\DefaultOptionsLookup->getDefaultOptions()\n#19 /home2/hcdevelo/preparingyou.com/wiki/includes/user/UserOptionsManager.php(501): MediaWiki\\User\\UserOptionsManager->loadOriginalOptions(MediaWiki\\User\\User, integer, NULL)\n#20 /home2/hcdevelo/preparingyou.com/wiki/includes/user/UserOptionsManager.php(147): MediaWiki\\User\\UserOptionsManager->loadUserOptions(MediaWiki\\User\\User, integer)\n#21 /home2/hcdevelo/preparingyou.com/wiki/includes/context/RequestContext.php(459): MediaWiki\\User\\UserOptionsManager->getOption(MediaWiki\\User\\User, string)\n#22 /home2/hcdevelo/preparingyou.com/wiki/includes/context/DerivativeContext.php(298): RequestContext->getLanguage()\n#23 /home2/hcdevelo/preparingyou.com/wiki/includes/language/Message.php(820): DerivativeContext->getLanguage()\n#24 /home2/hcdevelo/preparingyou.com/wiki/includes/context/DerivativeContext.php(330): Message->setContext(DerivativeContext)\n#25 /home2/hcdevelo/preparingyou.com/wiki/includes/context/ContextSource.php(203): DerivativeContext->msg(string, string)\n#26 /home2/hcdevelo/preparingyou.com/wiki/includes/api/ApiFeedRecentChanges.php(135): ContextSource->msg(string, string)\n#27 /home2/hcdevelo/preparingyou.com/wiki/includes/api/ApiFeedRecentChanges.php(94): ApiFeedRecentChanges->getFeedObject(string, string)\n#28 /home2/hcdevelo/preparingyou.com/wiki/includes/api/ApiMain.php(1935): ApiFeedRecentChanges->execute()\n#29 /home2/hcdevelo/preparingyou.com/wiki/includes/api/ApiMain.php(912): ApiMain->executeAction()\n#30 /home2/hcdevelo/preparingyou.com/wiki/includes/api/ApiMain.php(883): ApiMain->executeActionWithErrorHandling()\n#31 /home2/hcdevelo/preparingyou.com/wiki/api.php(95): ApiMain->execute()\n#32 /home2/hcdevelo/preparingyou.com/wiki/api.php(48): wfApiMain()\n#33 {main}"
    }
}