X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Finstaller%2FWebInstallerOutput.php;h=b061d0da36e60ceffd98c60d71de93719223c080;hb=1404a1f6bf6065035e74c287951b1c2126f11e55;hp=ae07d0cbda5a276cd4c7ae9c612bba1534f004cd;hpb=5dcaded72649241d8f8b650be0e537352fe90d63;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/WebInstallerOutput.php b/includes/installer/WebInstallerOutput.php index ae07d0cbda..b061d0da36 100644 --- a/includes/installer/WebInstallerOutput.php +++ b/includes/installer/WebInstallerOutput.php @@ -21,6 +21,8 @@ * @ingroup Deployment */ +use MediaWiki\MediaWikiServices; + /** * Output class modelled on OutputPage. * @@ -147,7 +149,7 @@ class WebInstallerOutput { 'mediawiki.skinning.interface', ]; - $resourceLoader = new ResourceLoader(); + $resourceLoader = MediaWikiServices::getInstance()->getResourceLoader(); if ( file_exists( "$wgStyleDirectory/Vector/skin.json" ) ) { // Force loading Vector skin if available as a fallback skin