From afd0b0dea5dc3fe5dc50fc855a0480c8e332c6d5 Mon Sep 17 00:00:00 2001 From: Rob Church Date: Mon, 16 Jul 2007 11:30:27 +0000 Subject: [PATCH] Less verbose; don't bother with "return not evaluated", gives the wrong impression (i.e. hooks *have* to return something) - if the return would affect whether or not an operation occurs, it's probably better to be explicit about this, e.g. "Set $result and return false to override..." --- docs/hooks.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/hooks.txt b/docs/hooks.txt index 82fda74554..ca30f73813 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -561,9 +561,8 @@ 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. +'SpecialContributionsBeforeMainOutput': Before the form on Special:Contributions +$id: User identifier 'TitleLinkUpdatesAfterCompletion': after Linker->doUpdate() is called &$title: title of the updated page -- 2.20.1