$footerArgs[1] = $from->name;
$footerArgs[2] = $to->name;
$footerArgs[3] = $prefsTitle->getFullURL();
- $this->text = $this->text . "\n" . wfMsg( 'emailuserfooter', $footerArgs );
+ $this->text = $this->text . "\n" . wfMsgExt( 'emailuserfooter', 'parsemag', $footerArgs );
if( wfRunHooks( 'EmailUser', array( &$to, &$from, &$subject, &$this->text ) ) ) {
$mailResult = UserMailer::send( $to, $mailFrom, $subject, $this->text, $replyTo );
if( WikiError::isError( $mailResult ) ) {
- return $mailResult;
+ return $mailResult;
} else {
'emailccsubject' => 'Copy of your message to $1: $2',
'emailsent' => 'E-mail sent',
'emailsenttext' => 'Your e-mail message has been sent.',
-'emailuserfooter' => 'Sent automatically by $1 to $2 for $3
-Please note, $1 cannot be held responsible for the content of this email.
-The option to remove yourself from these mailings is in your preferences
+'emailuserfooter' => 'Sent automatically by {{SITENAME}} to $2 for $3.
+Please note, {{SITENAME}} cannot be held responsible for the content of this email.
+The option to remove yourself from these mailings is in your preferences.
Check your preferences at $4 and uncheck "Enable e-mail from other users."',
# Watchlist