]> scripts.mit.edu Git - autoinstalls/mediawiki.git/blob - skins/MonoBook/hooks.txt
MediaWiki 1.30.2-scripts2
[autoinstalls/mediawiki.git] / skins / MonoBook / hooks.txt
1 Hooks provided by the MonoBook skin.
2
3 'MonoBookAfterContent': Called after div#content has been closed but right
4 before div#column-content is closed. You can use this to inject items (such as
5 ads, for example) from an extension.
6
7 'MonoBookAfterToolbox': Called in toolbox() after the toolbox portlet (div#p-tb)
8 has been generated. You can use this to inject items (such as ads or a hit
9 counter, for example) from an extension.
10 This is the MonoBook couterpart to the VectorAfterToolbox hook in the Vector
11 skin.
12
13 'MonoBookTemplateToolboxEnd': DEPRECATED. Called by Monobook skin after toolbox
14 links have been rendered (useful for adding more). Note: this is only run for
15 the Monobook skin. To add items to the toolbox you should use the
16 SkinTemplateToolboxEnd hook instead, which works for all "SkinTemplate"-type
17 skins.
18 $tools: array of tools