Merge "Explicitly specify the width of the search input on Special:Search"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Tue, 14 Jun 2016 16:30:14 +0000 (16:30 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 14 Jun 2016 16:30:14 +0000 (16:30 +0000)
includes/specialpage/LoginSignupSpecialPage.php

index 3099a9b..eb1c805 100644 (file)
@@ -1025,6 +1025,7 @@ abstract class LoginSignupSpecialPage extends AuthManagerSpecialPage {
                                'rememberMe' => [
                                        // option for saving the user token to a cookie
                                        'type' => 'check',
+                                       'name' => 'wpRemember',
                                        'label-message' => $this->msg( 'userlogin-remembermypassword' )
                                                ->numParams( $expirationDays ),
                                        'id' => 'wpRemember',
@@ -1032,7 +1033,6 @@ abstract class LoginSignupSpecialPage extends AuthManagerSpecialPage {
                                'loginattempt' => [
                                        // submit button
                                        'type' => 'submit',
-                                       'name' => 'wpRemember',
                                        'default' => $this->msg( 'pt-login-' . $continuePart . 'button' )->text(),
                                        'id' => 'wpLoginAttempt',
                                        'weight' => 100,