mediawiki-skins-Vector/hooks.txt
Timo Tijhof a14ba2a1e7 Deprecate 'SkinVectorStyleModules' hook
Bug: T185782
Change-Id: Ie40309964797cbb5af7682d7f566fc674bc4ef12
2018-01-26 10:33:46 -08:00

17 lines
722 B
Plaintext

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.
This is the Vector couterpart to the MonoBookAfterToolbox hook in the MonoBook
skin.
'VectorBeforeFooter': Called before the footer (div#footer) is output, but after
div#mw-navigation has been closed.
You can use this to inject items (such as ads or a hit counter, for example)
from an extension.