From: Brion Vibber Date: Sun, 22 Aug 2004 23:40:26 +0000 (+0000) Subject: Change 'welcomecreation' and 'loginsuccess' messages from HTML to WikiText. X-Git-Tag: 1.5.0alpha1~2247 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=5380c5ca6a7f1f7a66c7bf60640e395f421d2b98;p=lhc%2Fweb%2Fwiklou.git Change 'welcomecreation' and 'loginsuccess' messages from HTML to WikiText. Fix XML well-formedness error in the creation message. --- diff --git a/includes/SpecialUserlogin.php b/includes/SpecialUserlogin.php index 97814b6538..26672bc936 100644 --- a/includes/SpecialUserlogin.php +++ b/includes/SpecialUserlogin.php @@ -298,7 +298,7 @@ class LoginForm { $wgOut->setPageTitle( wfMsg( "loginsuccesstitle" ) ); $wgOut->setRobotpolicy( "noindex,nofollow" ); $wgOut->setArticleRelated( false ); - $wgOut->addHTML( $msg ); + $wgOut->addWikiText( $msg ); $wgOut->returnToMain(); } diff --git a/languages/Language.php b/languages/Language.php index 28b24e47a1..7b275e2791 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -496,8 +496,9 @@ again as the same or as a different user. Note that some pages may continue to be displayed as if you were still logged in, until you clear your browser cache\n", -'welcomecreation' => "

Welcome, $1!

Your account has been created. -Don't forget to change your {{SITENAME}} preferences.", +'welcomecreation' => "== Welcome, $1! == + +Your account has been created. Don't forget to change your {{SITENAME}} preferences.", 'loginpagetitle' => 'User login', 'yourname' => 'Your user name',