Follow up r78101.
[lhc/web/wiklou.git] / docs / hooks.txt
index 3ffce51..ef66db0 100644 (file)
@@ -1165,6 +1165,15 @@ the SkinTemplateToolboxEnd hook instead, which works for all
 "SkinTemplate"-type skins.
 $tools: array of tools
 
+'BaseTemplateToolbox': Called by BaseTemplate when building the $toolbox array
+and returning it for the skin to output. You can add items to the toolbox while
+still letting the skin make final decisions on skin-specific markup conventions
+using this hook.
+&$sk: The BaseTemplate base skin template
+&$toolbox: An array of toolbox items, see BaseTemplate::getToolbox and
+       BaseTemplate::makeListItem for details on the format of individual
+       items inside of this array
+
 'NewRevisionFromEditComplete': called when a revision was inserted
 due to an edit
 $article: the article edited
@@ -1464,7 +1473,7 @@ $type: 'normal' or 'history' for old/diff views
 'SkinGetPoweredBy'
 &$text: additional 'powered by' icons in HTML.
 Note: Modern skin does not use the MediaWiki icon but plain text instead
-$skin: Name of the skin
+$skin: Skin object
 
 'SkinSubPageSubtitle': At the beginning of Skin::subPageSubtitle()
 &$subpages: Subpage links HTML