mediawiki-skins-Vector/hooks.txt
Jack Phoenix 6807fdeffc New VectorAfterToolbox and VectorBeforeFooter hooks
Example use case: the ShoutWiki Ads extension

Change-Id: I0eadf18b9a20147a097729f5f8053cfc65594553
2017-01-06 18:48:54 +02:00

17 lines
710 B
Plaintext

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.