Revert the email footer for the moment. A few comments:
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 19 Jun 2008 21:28:21 +0000 (21:28 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 19 Jun 2008 21:28:21 +0000 (21:28 +0000)
* It's using the *sending* user's UI language for the footer, which is not ideal.
* There's no clean separation between body text and footer; the text will run together unappetizingly.
* The default message is really long
* "Sent automatically" implies that it's something like a "this page changed, and the computer is notifying you", but this is an explicit user-to-user messaging action, not automatic at all.
* It's trying to take the 'allowemail' toggle string, which may contain arbitrary HTML, and pop it into a plaintext email. This can cause very ugly output if formatting or character entities are being used in the message string.

includes/specials/SpecialEmailuser.php
languages/messages/MessagesEn.php

index 596f16b..d6f7151 100644 (file)
@@ -150,13 +150,6 @@ class EmailUserForm {
 
                $prefsTitle = Title::newFromText( 'Preferences', NS_SPECIAL );
                
-               // Add a standard footer
-               $footerArgs[0] = $from->name;
-               $footerArgs[1] = $to->name;
-               $footerArgs[2] = $prefsTitle->getFullURL();
-               $footerArgs[3] = wfMsg ('allowemail');
-               $this->text = $this->text . "\n" . wfMsgExt( 'emailuserfooter', 'parsemag', $footerArgs );
-               
                if( wfRunHooks( 'EmailUser', array( &$to, &$from, &$subject, &$this->text ) ) ) {
 
                        if( $wgUserEmailUseReplyTo ) {
index 23bb65d..9bcc004 100644 (file)
@@ -2014,10 +2014,6 @@ 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' => 'Sent automatically by {{SITENAME}} to $1 for $2.
-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 $3 and uncheck "$4".',
 
 # Watchlist
 'watchlist'            => 'My watchlist',