Document recently added SpecialContribsSubEnd hook, as well as SpecialContributionsBe...
authorDaniel Cannon <amidaniel@users.mediawiki.org>
Mon, 16 Jul 2007 07:11:25 +0000 (07:11 +0000)
committerDaniel Cannon <amidaniel@users.mediawiki.org>
Mon, 16 Jul 2007 07:11:25 +0000 (07:11 +0000)
docs/hooks.txt

index a74591a..63d6aaf 100644 (file)
@@ -556,6 +556,16 @@ Alter the contents of $siteNotice to add to/alter the sitenotice/anonnotice.
 &$sktemplate: SkinTemplate object
 &$tpl: Template engine object
 
+'SpecialContribsSubEnd': Right before the contribsub (the talk, log, etc.
+links) are added above Special:Contributions. Return not evaluated, audit only.
+$nt: The user whose contributions are being accessed.
+&$tools: An array of links that will be added above Special:Contributions,
+delimited by '|'.
+
+'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
 
@@ -666,4 +676,4 @@ of the javascript ajax engine. The hook is only called when ajax
 is enabled ( $wgUseAjax = true; ).
 
 More hooks might be available but undocumented, you can execute
-./maintenance/findhooks.php to find hidden one.
\ No newline at end of file
+./maintenance/findhooks.php to find hidden one.