Documented hooks added in r64903
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Tue, 13 Apr 2010 17:33:22 +0000 (17:33 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Tue, 13 Apr 2010 17:33:22 +0000 (17:33 +0000)
docs/hooks.txt

index ecb8e06..82248a7 100644 (file)
@@ -731,12 +731,21 @@ $from: address of sending user
 $subject: subject of the mail
 $text: text of the mail
 
+'EmailUserCC': before sending the copy of the email to the author
+$to: address of receiving user
+$from: address of sending user
+$subject: subject of the mail
+$text: text of the mail
+
 'EmailUserComplete': after sending email from one user to another
 $to: address of receiving user
 $from: address of sending user
 $subject: subject of the mail
 $text: text of the mail
 
+'EmailUserForm': after building the email user form object
+$form: HTMLForm object
+
 'EmailUserPermissionsErrors': to retrieve permissions errors for emailing a user.
 $user: The user who is trying to email another user.
 $editToken: The user's edit token.