From: Daniel Cannon Date: Mon, 16 Jul 2007 07:11:25 +0000 (+0000) Subject: Document recently added SpecialContribsSubEnd hook, as well as SpecialContributionsBe... X-Git-Tag: 1.31.0-rc.0~52082 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/membres/fiche.php?a=commitdiff_plain;h=2f3c0ca5d1be7889c3899e6e7505dfaf66120f6a;p=lhc%2Fweb%2Fwiklou.git Document recently added SpecialContribsSubEnd hook, as well as SpecialContributionsBeforeMainOutput (which apparently didn't get documented when it was added). --- 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.