mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 15:53:46 +00:00
6807fdeffc
Example use case: the ShoutWiki Ads extension Change-Id: I0eadf18b9a20147a097729f5f8053cfc65594553
17 lines
710 B
Plaintext
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. |