Index: branches/REL1_17/extensions/ConfirmAccount/RequestAccount_body.php |
— | — | @@ -371,8 +371,9 @@ |
372 | 372 | # Send confirmation, required! |
373 | 373 | $result = $this->sendConfirmationMail( $u, $token, $expires ); |
374 | 374 | if ( WikiError::isError( $result ) ) { |
| 375 | + global $wgOut; |
375 | 376 | $dbw->rollback(); // Nevermind |
376 | | - $error = wfMsg( 'mailerror', htmlspecialchars( $result->toString() ) ); |
| 377 | + $error = wfMsg( 'mailerror', $wgOut->parse( $result->getWikiText() ) ); |
377 | 378 | $this->showForm( $error ); |
378 | 379 | return false; |
379 | 380 | } |