From bac1733d946400b5ad841a8222f9dd30aa83c233 Mon Sep 17 00:00:00 2001 From: Andrew Garrett Date: Sat, 12 Apr 2008 15:11:23 +0000 Subject: [PATCH] * Add a footer (emailuser-footer) to the bottom of messages sent with Special:EmailUser --- RELEASE-NOTES | 2 ++ includes/SpecialEmailuser.php | 2 ++ languages/messages/MessagesEn.php | 2 ++ 3 files changed, 6 insertions(+) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 77bd5d9228..2707ea5efa 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -71,6 +71,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN ** (bug 8617) Separate main page url and name * Automatically add old redirects to the redirect table when needed * (bug 6934) Allow separated inclusions, links, redirects on whatlinkshere +* Add a footer (emailuser-footer) to the bottom of messages sent with +Special:EmailUser === Bug fixes in 1.13 === diff --git a/includes/SpecialEmailuser.php b/includes/SpecialEmailuser.php index 8995eb5dc8..27ef9701d1 100644 --- a/includes/SpecialEmailuser.php +++ b/includes/SpecialEmailuser.php @@ -179,6 +179,8 @@ class EmailUserForm { $mailFrom = $from; $replyTo = null; } + + $this->text .= wfMsgForContent( 'emailuser-footer' ); $mailResult = UserMailer::send( $to, $mailFrom, $subject, $this->text, $replyTo ); diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index 7f07b1ca60..14b7a71bb8 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -1906,6 +1906,8 @@ The e-mail address you entered in your user preferences will appear as the "From 'emailccsubject' => 'Copy of your message to $1: $2', 'emailsent' => 'E-mail sent', 'emailsenttext' => 'Your e-mail message has been sent.', +'emailuserfooter' => "-- +This email was sent using the 'email user' feature of {{SITENAME}}", # Watchlist 'watchlist' => 'My watchlist', -- 2.20.1