From: Alexandre Emsenhuber Date: Sun, 11 May 2014 10:02:21 +0000 (+0200) Subject: Don't use $this for docuementing hook parameters X-Git-Tag: 1.31.0-rc.0~15766 X-Git-Url: http://git.cyclocoop.org/%22%20%20.%20generer_url_ecrire%28%22mots_tous%22%29%20.%20%22?a=commitdiff_plain;h=29c34d0cc8a42415ff27dd38423b4486a3f7cc6e;p=lhc%2Fweb%2Fwiklou.git Don't use $this for docuementing hook parameters It is a reserved keyword, so this only confuses people. Change-Id: I6553bd93ac6f72be42493a0c3ca59c63d4a97e18 --- diff --git a/docs/hooks.txt b/docs/hooks.txt index 626ca5e144..966afd8e8c 100644 --- a/docs/hooks.txt +++ b/docs/hooks.txt @@ -281,7 +281,7 @@ $title: the page title 'SendWatchlistEmailNotification': Return true to send watchlist email notification $targetUser: the user whom to send watchlist email notification $title: the page title -$this: EmailNotification object +$enotif: EmailNotification object 'AbortChangePassword': Return false to cancel password change. $user: the User object to which the password change is occuring @@ -2616,7 +2616,7 @@ $user: Current user object &$whitelisted: Boolean value of whether this title is whitelisted 'TitleSquidURLs': Called to determine which URLs to purge from HTTP caches. -$this: Title object to purge +$title: Title object to purge &$urls: An array of URLs to purge from the caches, to be manipulated. 'UndeleteForm::showHistory': Called in UndeleteForm::showHistory, after a