Using rMWdbb1a9ef64604cedfd85b7c04a6b4699cad5c3c2, the installer is missing styles. Opening the console traces it to an exception throw when generating the stylesheet:
/mw-config/index.php?css=1 Wikimedia\Services\ServiceDisabledException from line 412 of mediawiki/vendor/wikimedia/services/src/ServiceContainer.php: Service disabled: DBLoadBalancer Backtrace: #0 mediawiki/includes/MediaWikiServices.php(709): Wikimedia\Services\ServiceContainer->getService(string) #1 mediawiki/includes/GlobalFunctions.php(2467): MediaWiki\MediaWikiServices->getDBLoadBalancer() #2 mediawiki/includes/GlobalFunctions.php(2453): wfGetLB(boolean) #3 mediawiki/includes/resourceloader/MessageBlobStore.php(156): wfGetDB(integer) #4 mediawiki/includes/resourceloader/MessageBlobStore.php(120): MessageBlobStore->recacheMessageBlob(string, ResourceLoaderSkinModule, string) #5 mediawiki/includes/resourceloader/MessageBlobStore.php(85): MessageBlobStore->getBlobs(array, string) #6 mediawiki/includes/resourceloader/ResourceLoaderModule.php(585): MessageBlobStore->getBlob(ResourceLoaderSkinModule, string) #7 mediawiki/includes/resourceloader/ResourceLoaderLessVarFileModule.php(111): ResourceLoaderModule->getMessageBlob(ResourceLoaderContext) #8 mediawiki/includes/resourceloader/ResourceLoaderSkinModule.php(514): ResourceLoaderLessVarFileModule->getLessVars(ResourceLoaderContext) #9 mediawiki/includes/resourceloader/ResourceLoaderFileModule.php(1098): ResourceLoaderSkinModule->getLessVars(ResourceLoaderContext) #10 mediawiki/includes/resourceloader/ResourceLoaderFileModule.php(990): ResourceLoaderFileModule->compileLessString(string, string, ResourceLoaderContext) #11 mediawiki/includes/resourceloader/ResourceLoaderFileModule.php(966): ResourceLoaderFileModule->processStyle(string, string, ResourceLoaderFilePath, ResourceLoaderContext) #12 mediawiki/includes/resourceloader/ResourceLoaderFileModule.php(943): ResourceLoaderFileModule->readStyleFile(ResourceLoaderFilePath, ResourceLoaderContext) #13 mediawiki/includes/installer\WebInstallerOutput.php(160): ResourceLoaderFileModule->readStyleFiles(array, ResourceLoaderContext) #14 mediawiki/includes/installer\WebInstaller.php(1218): WebInstallerOutput->getCSS() #15 mediawiki/includes/installer\WebInstaller.php(178): WebInstaller->outputCss() #16 mediawiki/mw-config/index.php(82): WebInstaller->execute(array) #17 mediawiki/mw-config/index.php(40): wfInstallerMain() #18 {main}
Problem:
When introducing the "toc" feature, we made ResourceLoaderSkinModule use LESS messages. Even though this feature is not in the installer it has an impact on caching and requires access to the MessageBlobStore. The MessageBlobStore access the database which is not available in the installer so an exception is thrown.
The required fix would be to make it possible for ResourceLoader to disable database access and/or to avoid the message lookup for ResourceLoaderSkinModules which do not use the toc feature.