MediaWiki internal error.
Original exception: [92f40d81fcdbbd9d0d76c860] /w/Template:Okay Wikimedia\Rdbms\DBUnexpectedError: DB connection was already closed
Backtrace:
from /srv/mediawiki/includes/libs/rdbms/database/Database.php(643)
#0 /srv/mediawiki/includes/libs/rdbms/database/Database.php(929): Wikimedia\Rdbms\Database->assertHasConnectionHandle()
#1 /srv/mediawiki/includes/libs/rdbms/database/Database.php(846): Wikimedia\Rdbms\Database->executeQuery()
#2 /srv/mediawiki/includes/libs/rdbms/database/Database.php(1629): Wikimedia\Rdbms\Database->query()
#3 /srv/mediawiki/includes/libs/rdbms/database/DBConnRef.php(119): Wikimedia\Rdbms\Database->select()
#4 /srv/mediawiki/includes/libs/rdbms/database/DBConnRef.php(344): Wikimedia\Rdbms\DBConnRef->__call()
#5 /srv/mediawiki/includes/Revision/RevisionStore.php(1427): Wikimedia\Rdbms\DBConnRef->select()
#6 /srv/mediawiki/includes/Revision/RevisionStore.php(1381): MediaWiki\Revision\RevisionStore->loadSlotRecordsFromDb()
#7 /srv/mediawiki/includes/Revision/RevisionStore.php(1557): MediaWiki\Revision\RevisionStore->loadSlotRecords()
#8 [internal function]: MediaWiki\Revision\RevisionStore->MediaWiki\Revision\{closure}()
#9 /srv/mediawiki/includes/Revision/RevisionSlots.php(170): call_user_func()
#10 /srv/mediawiki/includes/Revision/RevisionSlots.php(129): MediaWiki\Revision\RevisionSlots->getSlots()
#11 /srv/mediawiki/includes/Revision/RevisionRecord.php(217): MediaWiki\Revision\RevisionSlots->hasSlot()
#12 /srv/mediawiki/includes/parser/Parser.php(3714): MediaWiki\Revision\RevisionRecord->hasSlot()
#13 /srv/mediawiki/includes/parser/Parser.php(3590): Parser::statelessFetchTemplate()
#14 /srv/mediawiki/extensions/Scribunto/includes/ScribuntoEngineBase.php(174): Parser->fetchTemplateAndTitle()
#15 /srv/mediawiki/extensions/Scribunto/includes/Hooks.php(128): MediaWiki\Extension\Scribunto\ScribuntoEngineBase->fetchModuleFromParser()
#16 /srv/mediawiki/includes/parser/Parser.php(3423): MediaWiki\Extension\Scribunto\Hooks::invokeHook()
#17 /srv/mediawiki/includes/parser/Parser.php(3108): Parser->callParserFunction()
#18 /srv/mediawiki/includes/parser/PPFrame_Hash.php(277): Parser->braceSubstitution()
#19 /srv/mediawiki/includes/parser/Parser.php(3299): PPFrame_Hash->expand()
#20 /srv/mediawiki/includes/parser/PPFrame_Hash.php(277): Parser->braceSubstitution()
#21 /srv/mediawiki/includes/parser/Parser.php(2937): PPFrame_Hash->expand()
#22 /srv/mediawiki/includes/parser/Parser.php(1588): Parser->replaceVariables()
#23 /srv/mediawiki/includes/parser/Parser.php(700): Parser->internalParse()
#24 /srv/mediawiki/includes/content/WikitextContentHandler.php(346): Parser->parse()
#25 /srv/mediawiki/includes/content/ContentHandler.php(1747): WikitextContentHandler->fillParserOutput()
#26 /srv/mediawiki/includes/content/Renderer/ContentRenderer.php(47): ContentHandler->getParserOutput()
#27 /srv/mediawiki/includes/Revision/RenderedRevision.php(259): MediaWiki\Content\Renderer\ContentRenderer->getParserOutput()
#28 /srv/mediawiki/includes/Revision/RenderedRevision.php(232): MediaWiki\Revision\RenderedRevision->getSlotParserOutputUncached()
#29 /srv/mediawiki/includes/Revision/RevisionRenderer.php(227): MediaWiki\Revision\RenderedRevision->getSlotParserOutput()
#30 /srv/mediawiki/includes/Revision/RevisionRenderer.php(164): MediaWiki\Revision\RevisionRenderer->combineSlotOutput()
#31 [internal function]: MediaWiki\Revision\RevisionRenderer->MediaWiki\Revision\{closure}()
#32 /srv/mediawiki/includes/Revision/RenderedRevision.php(199): call_user_func()
#33 /srv/mediawiki/includes/poolcounter/PoolWorkArticleView.php(87): MediaWiki\Revision\RenderedRevision->getRevisionParserOutput()
#34 /srv/mediawiki/includes/poolcounter/PoolWorkArticleViewCurrent.php(92): PoolWorkArticleView->renderRevision()
#35 /srv/mediawiki/includes/poolcounter/PoolCounterWork.php(166): PoolWorkArticleViewCurrent->doWork()
#36 /srv/mediawiki/includes/page/ParserOutputAccess.php(299): PoolCounterWork->execute()
#37 /srv/mediawiki/includes/page/Article.php(734): MediaWiki\Page\ParserOutputAccess->getParserOutput()
#38 /srv/mediawiki/includes/page/Article.php(545): Article->generateContentOutput()
#39 /srv/mediawiki/includes/actions/ViewAction.php(78): Article->view()
#40 /srv/mediawiki/includes/MediaWiki.php(556): ViewAction->show()
#41 /srv/mediawiki/includes/MediaWiki.php(333): MediaWiki->performAction()
#42 /srv/mediawiki/includes/MediaWiki.php(923): MediaWiki->performRequest()
#43 /srv/mediawiki/includes/MediaWiki.php(576): MediaWiki->main()
#44 /srv/mediawiki/index.php(50): MediaWiki->run()
#45 /srv/mediawiki/index.php(46): wfIndexMain()
#46 {main}
Exception caught inside exception handler: [92f40d81fcdbbd9d0d76c860] /w/Template:Okay Wikimedia\Rdbms\DBConnectionError: Cannot access the database: Connection refused (mysql-docker)
Backtrace:
from /srv/mediawiki/includes/libs/rdbms/loadbalancer/LoadBalancer.php(1247)
#0 /srv/mediawiki/includes/libs/rdbms/loadbalancer/LoadBalancer.php(894): Wikimedia\Rdbms\LoadBalancer->reportConnectionError()
#1 /srv/mediawiki/includes/libs/rdbms/loadbalancer/LoadBalancer.php(861): Wikimedia\Rdbms\LoadBalancer->getServerConnection()
#2 /srv/mediawiki/includes/libs/rdbms/database/DBConnRef.php(99): Wikimedia\Rdbms\LoadBalancer->getConnectionInternal()
#3 /srv/mediawiki/includes/libs/rdbms/database/DBConnRef.php(117): Wikimedia\Rdbms\DBConnRef->ensureConnection()
#4 /srv/mediawiki/includes/libs/rdbms/database/DBConnRef.php(418): Wikimedia\Rdbms\DBConnRef->__call()
#5 /srv/mediawiki/includes/cache/LinkBatch.php(385): Wikimedia\Rdbms\DBConnRef->makeWhereFrom2d()
#6 /srv/mediawiki/includes/cache/LinkBatch.php(340): LinkBatch->constructSet()
#7 /srv/mediawiki/includes/cache/LinkBatch.php(248): LinkBatch->doQuery()
#8 /srv/mediawiki/includes/cache/LinkBatch.php(222): LinkBatch->executeInto()
#9 /srv/mediawiki/includes/skins/Skin.php(477): LinkBatch->execute()
#10 /srv/mediawiki/includes/skins/Skin.php(322): Skin->preloadExistence()
#11 /srv/mediawiki/includes/skins/SkinTemplate.php(177): Skin->initPage()
#12 /srv/mediawiki/includes/OutputPage.php(2899): SkinTemplate->outputPage()
#13 /srv/mediawiki/includes/exception/MWExceptionRenderer.php(184): OutputPage->output()
#14 /srv/mediawiki/includes/exception/MWExceptionRenderer.php(103): MWExceptionRenderer::reportHTML()
#15 /srv/mediawiki/includes/exception/MWExceptionHandler.php(132): MWExceptionRenderer::output()
#16 /srv/mediawiki/includes/exception/MWExceptionHandler.php(249): MWExceptionHandler::report()
#17 /srv/mediawiki/includes/MediaWiki.php(595): MWExceptionHandler::handleException()
#18 /srv/mediawiki/index.php(50): MediaWiki->run()
#19 /srv/mediawiki/index.php(46): wfIndexMain()
#20 {main}