mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-30 17:04:28 +00:00
Use new ResourceLoader namespaces
Bug: T308718 Change-Id: I258f600453cba5a1b2b614e5d0ec8929733cde69
This commit is contained in:
parent
0ea007a2ec
commit
ac5f74d705
|
@ -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' =>
|
||||
|
|
Loading…
Reference in a new issue