r64997 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r64996‎ | r64997 | r64998 >
Date:17:33, 13 April 2010
Author:ialex
Status:ok
Tags:
Comment:
Documented hooks added in r64903
Modified paths:
  • /trunk/phase3/docs/hooks.txt (modified) (history)

Diff [purge]

Index: trunk/phase3/docs/hooks.txt
@@ -731,12 +731,21 @@
732732 $subject: subject of the mail
733733 $text: text of the mail
734734
 735+'EmailUserCC': before sending the copy of the email to the author
 736+$to: address of receiving user
 737+$from: address of sending user
 738+$subject: subject of the mail
 739+$text: text of the mail
 740+
735741 'EmailUserComplete': after sending email from one user to another
736742 $to: address of receiving user
737743 $from: address of sending user
738744 $subject: subject of the mail
739745 $text: text of the mail
740746
 747+'EmailUserForm': after building the email user form object
 748+$form: HTMLForm object
 749+
741750 'EmailUserPermissionsErrors': to retrieve permissions errors for emailing a user.
742751 $user: The user who is trying to email another user.
743752 $editToken: The user's edit token.

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r64903Overhaul Special:EmailUser, use HTMLForm, a SpecialPage-derived class, and ge...happy-melon21:14, 10 April 2010

Status & tagging log