Deprecate 'SkinVectorStyleModules' hook
Bug: T185782 Change-Id: Ie40309964797cbb5af7682d7f566fc674bc4ef12
This commit is contained in:
parent
1d56823f8b
commit
a14ba2a1e7
|
@ -81,7 +81,7 @@ class SkinVector extends SkinTemplate {
|
|||
parent::setupSkinUserCss( $out );
|
||||
|
||||
$styles = [ 'mediawiki.skinning.interface', 'skins.vector.styles' ];
|
||||
Hooks::run( 'SkinVectorStyleModules', [ $this, &$styles ] );
|
||||
Hooks::run( 'SkinVectorStyleModules', [ $this, &$styles ], '1.31' );
|
||||
$out->addModuleStyles( $styles );
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Hooks provided by the Vector skin.
|
||||
|
||||
'SkinVectorStyleModules': Called when defining the list of module styles to be
|
||||
loaded 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
|
||||
|
||||
|
|
Loading…
Reference in New Issue