| Index: trunk/phase3/includes/specials/SpecialEditWatchlist.php |
| — | — | @@ -152,7 +152,14 @@ |
| 153 | 153 | } else { |
| 154 | 154 | $this->clearWatchlist(); |
| 155 | 155 | $this->getUser()->invalidateCache(); |
| 156 | | - $this->successMessage .= wfMessage( |
| | 156 | + |
| | 157 | + if( count( $current ) > 0 ){ |
| | 158 | + $this->successMessage = wfMessage( 'watchlistedit-raw-done' )->parse(); |
| | 159 | + } else { |
| | 160 | + return false; |
| | 161 | + } |
| | 162 | + |
| | 163 | + $this->successMessage .= ' ' . wfMessage( |
| 157 | 164 | 'watchlistedit-raw-removed', |
| 158 | 165 | $this->getLang()->formatNum( count( $current ) ) |
| 159 | 166 | ); |