Remove 'SkinVectorStyleModules' hook
Bug: T185782 Bug: T140664 Change-Id: I67950b4bed34b56d17bbea82f311bfe31683ad1e
This commit is contained in:
parent
a14ba2a1e7
commit
c5d49d71fb
|
@ -80,9 +80,10 @@ class SkinVector extends SkinTemplate {
|
||||||
function setupSkinUserCss( OutputPage $out ) {
|
function setupSkinUserCss( OutputPage $out ) {
|
||||||
parent::setupSkinUserCss( $out );
|
parent::setupSkinUserCss( $out );
|
||||||
|
|
||||||
$styles = [ 'mediawiki.skinning.interface', 'skins.vector.styles' ];
|
$out->addModuleStyles( [
|
||||||
Hooks::run( 'SkinVectorStyleModules', [ $this, &$styles ], '1.31' );
|
'mediawiki.skinning.interface',
|
||||||
$out->addModuleStyles( $styles );
|
'skins.vector.styles',
|
||||||
|
] );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,10 +1,5 @@
|
||||||
Hooks provided by the Vector skin.
|
Hooks provided by the Vector skin.
|
||||||
|
|
||||||
'SkinVectorStyleModules': DEPRECATED! Called when defining the list of module
|
|
||||||
styles to be loaded by the Vector skin.
|
|
||||||
$skin: SkinVector object
|
|
||||||
&$styles: Array of module names whose style will be loaded for the skin
|
|
||||||
|
|
||||||
'VectorAfterToolbox': Called after rendering the toolbox portlet (div#p-tb).
|
'VectorAfterToolbox': Called after rendering the toolbox portlet (div#p-tb).
|
||||||
You can use this to inject items (such as ads or a hit counter, for example)
|
You can use this to inject items (such as ads or a hit counter, for example)
|
||||||
from an extension.
|
from an extension.
|
||||||
|
|
Loading…
Reference in New Issue