From 2f3c0ca5d1be7889c3899e6e7505dfaf66120f6a Mon Sep 17 00:00:00 2001 From: Daniel Cannon Date: Mon, 16 Jul 2007 07:11:25 +0000 Subject: [PATCH] Document recently added SpecialContribsSubEnd hook, as well as SpecialContributionsBeforeMainOutput (which apparently didn't get documented when it was added). --- docs/hooks.txt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/hooks.txt b/docs/hooks.txt index a74591a8f6..63d6aafd4a 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -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. -- 2.20.1