Rename 'SpecialContribSubEnd' hook to more appropriate 'ContributionsToolLinks',...
[lhc/web/wiklou.git] / docs / hooks.txt
index 0886c0c..82fda74 100644 (file)
@@ -355,6 +355,11 @@ $user: the user who did the block (not the one being blocked)
 $isbn: ISBN to show information for
 $output: OutputPage object in use
 
+'ContributionsToolLinks': Change tool links above Special:Contributions
+$id: User identifier
+$title: User page title
+&$tools: Array of tool links
+
 'CustomEditor': When invoking the page editor
 $article: Article being edited
 $user: User performing the edit
@@ -556,6 +561,10 @@ Alter the contents of $siteNotice to add to/alter the sitenotice/anonnotice.
 &$sktemplate: SkinTemplate object
 &$tpl: Template engine object
 
+'SpecialContributionsBeforeMainOutput': Before the contributions form. Return
+not evaluated, audit only.
+$id: The id of the user whose contributions are being accessed.
+
 'TitleLinkUpdatesAfterCompletion': after Linker->doUpdate() is called
 &$title: title of the updated page
 
@@ -637,6 +646,10 @@ $article: article object watched
 $user: user that watched
 $article: article object that was watched
 
+'UserEffectiveGroups': Called in User::getEffectiveGroups()
+$user: User to get groups for
+&$groups: Current effective groups
+
 'CategoryPageView': before viewing a categorypage in CategoryPage::view
 $catpage: CategoryPage instance
 
@@ -652,6 +665,11 @@ $content_actions: The array of content actions
                     Can be used to set custom CSS/JS
 $out: OutputPage object
 
+'ShowRawCssJs': Customise the output of raw CSS and JavaScript in page views
+$text: Text being shown
+$title: Title of the custom script/stylesheet page
+$output: Current OutputPage object
+
 'AjaxAddScript': Called in output page just before the initialisation
 of the javascript ajax engine. The hook is only called when ajax
 is enabled ( $wgUseAjax = true; ).