01tonythomas has uploaded a new change for review. https://gerrit.wikimedia.org/r/94614
Change subject: Removed 'Remember my login' option from the Preferences page ...................................................................... Removed 'Remember my login' option from the Preferences page Removed 'Remember my login' from the Preferences page, as it was unwanted. It clutters the Preferences Bug: 52342 Change-Id: I7c957e1e1aaecf47f7c47bc063b5d3b364644afc --- M includes/Preferences.php M languages/messages/MessagesEn.php 2 files changed, 0 insertions(+), 9 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/14/94614/1 diff --git a/includes/Preferences.php b/includes/Preferences.php index c9caf4f..5388233 100644 --- a/includes/Preferences.php +++ b/includes/Preferences.php @@ -294,14 +294,6 @@ 'section' => 'personal/info', ); } - if ( $wgCookieExpiration > 0 ) { - $defaultPreferences['rememberpassword'] = array( - 'type' => 'toggle', - 'label' => $context->msg( 'tog-rememberpassword' )->numParams( - ceil( $wgCookieExpiration / ( 3600 * 24 ) ) )->text(), - 'section' => 'personal/info', - ); - } // Only show preferhttps if secure login is turned on if ( $wgSecureLogin && wfCanIPUseHTTPS( $context->getRequest()->getIP() ) ) { $defaultPreferences['prefershttps'] = array( diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index 39f0b8a..17186dd 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -668,7 +668,6 @@ 'tog-editsection' => 'Enable section editing via [edit] links', 'tog-editsectiononrightclick' => 'Enable section editing by right clicking on section titles', 'tog-showtoc' => 'Show table of contents (for pages with more than 3 headings)', -'tog-rememberpassword' => 'Remember my login on this browser (for a maximum of $1 {{PLURAL:$1|day|days}})', 'tog-watchcreations' => 'Add pages I create and files I upload to my watchlist', 'tog-watchdefault' => 'Add pages and files I edit to my watchlist', 'tog-watchmoves' => 'Add pages and files I move to my watchlist', -- To view, visit https://gerrit.wikimedia.org/r/94614 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I7c957e1e1aaecf47f7c47bc063b5d3b364644afc Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: 01tonythomas <01tonytho...@gmail.com> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits