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": "[Z0psMDz-ZIQoji62DH9IbQAAABE] Exception caught: A database query error has occurred. This may indicate a bug in the software.",
        "errorclass": "Wikimedia\\Rdbms\\DBConnectionError",
        "*": "Wikimedia\\Rdbms\\DBConnectionError at /usr/www/users/amlovell/tfs/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1477)\nfrom /usr/www/users/amlovell/tfs/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1477)\n#0 /usr/www/users/amlovell/tfs/includes/libs/rdbms/loadbalancer/LoadBalancer.php(972): Wikimedia\\Rdbms\\LoadBalancer->reportConnectionError()\n#1 /usr/www/users/amlovell/tfs/includes/libs/rdbms/loadbalancer/LoadBalancer.php(944): Wikimedia\\Rdbms\\LoadBalancer->getServerConnection()\n#2 /usr/www/users/amlovell/tfs/includes/libs/rdbms/database/DBConnRef.php(95): Wikimedia\\Rdbms\\LoadBalancer->getConnectionInternal()\n#3 /usr/www/users/amlovell/tfs/includes/libs/rdbms/database/DBConnRef.php(101): Wikimedia\\Rdbms\\DBConnRef->ensureConnection()\n#4 /usr/www/users/amlovell/tfs/includes/libs/rdbms/database/DBConnRef.php(707): Wikimedia\\Rdbms\\DBConnRef->__call()\n#5 /usr/www/users/amlovell/tfs/includes/libs/rdbms/database/Database.php(3154): Wikimedia\\Rdbms\\DBConnRef->getSessionLagStatus()\n#6 /usr/www/users/amlovell/tfs/extensions/Gadgets/includes/MediaWikiGadgetsDefinitionRepo.php(112): Wikimedia\\Rdbms\\Database::getCacheSetOptions()\n#7 /usr/www/users/amlovell/tfs/includes/libs/objectcache/wancache/WANObjectCache.php(1689): MediaWiki\\Extension\\Gadgets\\MediaWikiGadgetsDefinitionRepo->MediaWiki\\Extension\\Gadgets\\{closure}()\n#8 /usr/www/users/amlovell/tfs/includes/libs/objectcache/wancache/WANObjectCache.php(1522): WANObjectCache->fetchOrRegenerate()\n#9 /usr/www/users/amlovell/tfs/extensions/Gadgets/includes/MediaWikiGadgetsDefinitionRepo.php(118): WANObjectCache->getWithSetCallback()\n#10 /usr/www/users/amlovell/tfs/includes/libs/objectcache/BagOStuff.php(216): MediaWiki\\Extension\\Gadgets\\MediaWikiGadgetsDefinitionRepo->MediaWiki\\Extension\\Gadgets\\{closure}()\n#11 /usr/www/users/amlovell/tfs/extensions/Gadgets/includes/MediaWikiGadgetsDefinitionRepo.php(121): BagOStuff->getWithSetCallback()\n#12 /usr/www/users/amlovell/tfs/extensions/Gadgets/includes/MediaWikiGadgetsDefinitionRepo.php(42): MediaWiki\\Extension\\Gadgets\\MediaWikiGadgetsDefinitionRepo->loadGadgets()\n#13 /usr/www/users/amlovell/tfs/extensions/Gadgets/includes/GadgetRepo.php(70): MediaWiki\\Extension\\Gadgets\\MediaWikiGadgetsDefinitionRepo->getGadgetIds()\n#14 /usr/www/users/amlovell/tfs/extensions/Gadgets/includes/Hooks.php(128): MediaWiki\\Extension\\Gadgets\\GadgetRepo->getStructuredList()\n#15 /usr/www/users/amlovell/tfs/includes/HookContainer/HookContainer.php(160): MediaWiki\\Extension\\Gadgets\\Hooks->onUserGetDefaultOptions()\n#16 /usr/www/users/amlovell/tfs/includes/HookContainer/HookRunner.php(4159): MediaWiki\\HookContainer\\HookContainer->run()\n#17 /usr/www/users/amlovell/tfs/includes/user/DefaultOptionsLookup.php(110): MediaWiki\\HookContainer\\HookRunner->onUserGetDefaultOptions()\n#18 /usr/www/users/amlovell/tfs/includes/user/UserOptionsManager.php(608): MediaWiki\\User\\DefaultOptionsLookup->getDefaultOptions()\n#19 /usr/www/users/amlovell/tfs/includes/user/UserOptionsManager.php(510): MediaWiki\\User\\UserOptionsManager->loadOriginalOptions()\n#20 /usr/www/users/amlovell/tfs/includes/user/UserOptionsManager.php(160): MediaWiki\\User\\UserOptionsManager->loadUserOptions()\n#21 /usr/www/users/amlovell/tfs/includes/context/RequestContext.php(460): MediaWiki\\User\\UserOptionsManager->getOption()\n#22 /usr/www/users/amlovell/tfs/includes/ServiceWiring.php(396): RequestContext->getLanguage()\n#23 /usr/www/users/amlovell/tfs/vendor/wikimedia/services/src/ServiceContainer.php(447): Wikimedia\\Services\\ServiceContainer::{closure}()\n#24 /usr/www/users/amlovell/tfs/vendor/wikimedia/services/src/ServiceContainer.php(411): Wikimedia\\Services\\ServiceContainer->createService()\n#25 /usr/www/users/amlovell/tfs/includes/MediaWikiServices.php(301): Wikimedia\\Services\\ServiceContainer->getService()\n#26 /usr/www/users/amlovell/tfs/vendor/wikimedia/services/src/ServiceContainer.php(419): MediaWiki\\MediaWikiServices->getService()\n#27 /usr/www/users/amlovell/tfs/vendor/wikimedia/object-factory/src/ObjectFactory.php(211): Wikimedia\\Services\\ServiceContainer->get()\n#28 /usr/www/users/amlovell/tfs/vendor/wikimedia/object-factory/src/ObjectFactory.php(152): Wikimedia\\ObjectFactory\\ObjectFactory::getObjectFromSpec()\n#29 /usr/www/users/amlovell/tfs/includes/api/ApiModuleManager.php(183): Wikimedia\\ObjectFactory\\ObjectFactory->createObject()\n#30 /usr/www/users/amlovell/tfs/includes/api/ApiModuleManager.php(155): ApiModuleManager->instantiateModule()\n#31 /usr/www/users/amlovell/tfs/includes/api/ApiMain.php(1478): ApiModuleManager->getModule()\n#32 /usr/www/users/amlovell/tfs/includes/api/ApiMain.php(1883): ApiMain->setupModule()\n#33 /usr/www/users/amlovell/tfs/includes/api/ApiMain.php(879): ApiMain->executeAction()\n#34 /usr/www/users/amlovell/tfs/includes/api/ApiMain.php(850): ApiMain->executeActionWithErrorHandling()\n#35 /usr/www/users/amlovell/tfs/api.php(90): ApiMain->execute()\n#36 /usr/www/users/amlovell/tfs/api.php(45): wfApiMain()\n#37 {main}"
    }
}