Change 'welcomecreation' and 'loginsuccess' messages from HTML to WikiText.
authorBrion Vibber <brion@users.mediawiki.org>
Sun, 22 Aug 2004 23:40:26 +0000 (23:40 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Sun, 22 Aug 2004 23:40:26 +0000 (23:40 +0000)
Fix XML well-formedness error in the creation message.

includes/SpecialUserlogin.php
languages/Language.php

index 97814b6..26672bc 100644 (file)
@@ -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();
        }
 
index 28b24e4..7b275e2 100644 (file)
@@ -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' => "<h2>Welcome, $1!</h2><p>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',