Index: trunk/extensions/SemanticWatchlist/includes/SWL_Emailer.php |
— | — | @@ -49,10 +49,13 @@ |
50 | 50 | $emailText .= self::getChangeListHTML( $changeSet ); |
51 | 51 | } |
52 | 52 | |
53 | | - //echo $emailText;exit; |
| 53 | + $title = wfMsgReal( |
| 54 | + 'swl-email-propschanged', |
| 55 | + array( $changeSet->getEdit()->getTitle()->getFullText() ), |
| 56 | + true, |
| 57 | + $user->getOption( 'language' ) |
| 58 | + ); |
54 | 59 | |
55 | | - $title = wfMsgReal( 'swl-email-propschanged', array(), true, $user->getOption( 'language' ) ); |
56 | | - |
57 | 60 | wfRunHooks( 'SWLBeforeEmailNotify', array( $group, $user, $changeSet, $describeChanges, &$title, &$emailText ) ); |
58 | 61 | |
59 | 62 | return $user->sendMail( |
Index: trunk/extensions/SemanticWatchlist/SemanticWatchlist.hooks.php |
— | — | @@ -77,7 +77,6 @@ |
78 | 78 | $user = User::newFromId( $userID ); |
79 | 79 | |
80 | 80 | if ( $user->getOption( 'swl_email', false ) ) { |
81 | | - |
82 | 81 | if ( !method_exists( 'Sanitizer', 'validateEmail' ) || Sanitizer::validateEmail( $user->getEmail() ) ) { |
83 | 82 | $lastNotify = $user->getOption( 'swl_last_notify' ); |
84 | 83 | $lastWatch = $user->getOption( 'swl_last_watch' ); |