Use new ResourceLoader namespaces

Bug: T308718
Change-Id: I258f600453cba5a1b2b614e5d0ec8929733cde69
This commit is contained in:
Jon Robson 2022-05-26 15:22:08 -07:00 committed by Jdlrobson
parent 0ea007a2ec
commit ac5f74d705

View file

@ -20,15 +20,17 @@
namespace MediaWiki\Minerva;
use MediaWiki\ResourceLoader;
/**
* Subclass with extra LESS variables for Minerva configuration.
*/
class ResourceLoaderSkinModule extends \ResourceLoaderSkinModule {
class ResourceLoaderSkinModule extends ResourceLoader\SkinModule {
/**
* @param \ResourceLoaderContext $context
* @return array LESS variables
*/
protected function getLessVars( \ResourceLoaderContext $context ) {
protected function getLessVars( ResourceLoader\Context $context ) {
$lessVars = parent::getLessVars( $context );
$lessVars += [
'wgMinervaApplyKnownTemplateHacks' =>