mediawiki-skins-Vector/hooks.txt

17 lines
710 B
Plaintext
Raw Normal View History

Hooks provided by the Vector skin.
'SkinVectorStyleModules': 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.