diff --git a/SkinVector.php b/SkinVector.php index 7689131..69286a0 100644 --- a/SkinVector.php +++ b/SkinVector.php @@ -80,9 +80,10 @@ class SkinVector extends SkinTemplate { function setupSkinUserCss( OutputPage $out ) { parent::setupSkinUserCss( $out ); - $styles = [ 'mediawiki.skinning.interface', 'skins.vector.styles' ]; - Hooks::run( 'SkinVectorStyleModules', [ $this, &$styles ], '1.31' ); - $out->addModuleStyles( $styles ); + $out->addModuleStyles( [ + 'mediawiki.skinning.interface', + 'skins.vector.styles', + ] ); } /** diff --git a/hooks.txt b/hooks.txt index 57da2ce..05f6c6b 100644 --- a/hooks.txt +++ b/hooks.txt @@ -1,10 +1,5 @@ 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). You can use this to inject items (such as ads or a hit counter, for example) from an extension.