diff --git a/SkinVector.php b/SkinVector.php index 5dd6ef2..7689131 100644 --- a/SkinVector.php +++ b/SkinVector.php @@ -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 ); } diff --git a/hooks.txt b/hooks.txt index 84ca7fe..57da2ce 100644 --- a/hooks.txt +++ b/hooks.txt @@ -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