(bug 42215) "Welcome, X" account creation title #2
authorS Page <spage@wikimedia.org>
Wed, 21 Nov 2012 22:41:58 +0000 (14:41 -0800)
committerS Page <spage@wikimedia.org>
Wed, 28 Nov 2012 22:34:48 +0000 (14:34 -0800)
Follow-up to 8842727 https://gerrit.wikimedia.org/r/#/c/34063/ .
Renamed welcomecreation-agora to welcomecreation-msg since it's not
agora-specific; actually use this message in SpecialUserLogin.php;
improve Qqq docs.

---- Patch 2: fix alignment nit

---- Patch-3: rebased, and remove 'welcomecreation'
'welcomecreation-msg' obsoletes it

Change-Id: I3f5552b0e60ea89461744c823c646d35891ecdb6

includes/specials/SpecialUserlogin.php
languages/messages/MessagesEn.php
languages/messages/MessagesQqq.php
maintenance/language/messages.inc

index c9ac825..fd33ec1 100644 (file)
@@ -914,7 +914,7 @@ class LoginForm extends SpecialPage {
                # Run any hooks; display injected HTML
                $currentUser = $this->getUser();
                $injected_html = '';
-               $welcome_creation_msg = 'welcomecreation';
+               $welcome_creation_msg = 'welcomecreation-msg';
 
                wfRunHooks( 'UserLoginComplete', array( &$currentUser, &$injected_html ) );
 
index f516051..81fea50 100644 (file)
@@ -1069,10 +1069,7 @@ The administrator who locked it offered this explanation: "$3".',
 You can continue to use {{SITENAME}} anonymously, or you can <span class='plainlinks'>[$1 log in again]</span> 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.",
 'welcomeuser'                => 'Welcome, $1!',
-'welcomecreation'            => '== Welcome, $1! ==
-Your account has been created.
-Do not forget to change your [[Special:Preferences|{{SITENAME}} preferences]].',
-'welcomecreation-agora'      => 'Your account has been created.
+'welcomecreation-msg'        => 'Your account has been created.
 Do not forget to change your [[Special:Preferences|{{SITENAME}} preferences]].',
 'yourname'                   => 'Username:',
 'yourpassword'               => 'Password:',
index d588a67..9dfe974 100644 (file)
@@ -746,9 +746,8 @@ See also {{msg-mw|protectedinterface}}.',
 # Login and logout pages
 'logouttext' => 'Log out message
 * $1 is an URL to [[Special:Userlogin]] containing returnto and returntoquery parameters',
-'welcomeuser' => 'Text for a welcome heading that users see after registering a user account. $1 is the username of the new user. See [[bugzilla:42215]].',
-'welcomecreation' => 'The welcome message users see after registering a user account. $1 is the username of the new user.',
-'welcomecreation-agora' => 'A welcome message users see after registering a user account, following a welcomeuser heading. $1 is the username of the new user.',
+'welcomeuser' => 'Text for a welcome heading that users see after registering a user account. $1 is the username of the new user. See [[bugzilla:42215]]',
+'welcomecreation-msg' => 'A welcome message users see after registering a user account, following a welcomeuser heading. $1 is the username of the new user. Replaces welcomecreation in 1.21wmf5,see [[bugzilla:42215]]',
 'yourname' => "In user preferences
 
 <nowiki>{{</nowiki>[[Gender|GENDER]]<nowiki>}}</nowiki> is '''NOT''' supported.
index e2e3940..2e9ebc2 100644 (file)
@@ -427,8 +427,7 @@ $wgMessageStructure = array(
        'login' => array(
                'logouttext',
                'welcomeuser',
-               'welcomecreation',
-               'welcomecreation-agora',
+               'welcomecreation-msg',
                'yourname',
                'yourpassword',
                'yourpasswordagain',