From: jenkins-bot Date: Sat, 23 Nov 2013 20:31:35 +0000 (+0000) Subject: Merge "Remove 'prefsnologin' message, don't use 'watchnologin' where inappropriate" X-Git-Tag: 1.31.0-rc.0~17930 X-Git-Url: http://git.heureux-cyclage.org/?a=commitdiff_plain;h=db765aa9af764072db070659b612e23aad1e5d81;hp=166bba144384eb2f9815049b76a67746b0b70d86;p=lhc%2Fweb%2Fwiklou.git Merge "Remove 'prefsnologin' message, don't use 'watchnologin' where inappropriate" --- diff --git a/includes/specials/SpecialEditWatchlist.php b/includes/specials/SpecialEditWatchlist.php index e085240e41..daa56b39b4 100644 --- a/includes/specials/SpecialEditWatchlist.php +++ b/includes/specials/SpecialEditWatchlist.php @@ -62,7 +62,7 @@ class SpecialEditWatchlist extends UnlistedSpecialPage { $this->setHeaders(); # Anons don't get a watchlist - $this->requireLogin( 'watchlistanontext', 'watchnologin' ); + $this->requireLogin( 'watchlistanontext' ); $out = $this->getOutput(); diff --git a/includes/specials/SpecialPreferences.php b/includes/specials/SpecialPreferences.php index 5f4b2084f5..51454f69ae 100644 --- a/includes/specials/SpecialPreferences.php +++ b/includes/specials/SpecialPreferences.php @@ -37,7 +37,7 @@ class SpecialPreferences extends SpecialPage { $out = $this->getOutput(); $out->disallowUserJs(); # Prevent hijacked user scripts from sniffing passwords etc. - $this->requireLogin( 'prefsnologintext2', 'prefsnologin' ); + $this->requireLogin( 'prefsnologintext2' ); $this->checkReadOnly(); if ( $par == 'reset' ) { diff --git a/includes/specials/SpecialWatchlist.php b/includes/specials/SpecialWatchlist.php index c51b61b99f..2c511f53c0 100644 --- a/includes/specials/SpecialWatchlist.php +++ b/includes/specials/SpecialWatchlist.php @@ -41,7 +41,7 @@ class SpecialWatchlist extends SpecialPage { $output = $this->getOutput(); # Anons don't get a watchlist - $this->requireLogin( 'watchlistanontext', 'watchnologin' ); + $this->requireLogin( 'watchlistanontext' ); // Check permissions $this->checkPermissions(); diff --git a/languages/messages/MessagesEn.php b/languages/messages/MessagesEn.php index 2e8ce50d9c..ea1f20cf5f 100644 --- a/languages/messages/MessagesEn.php +++ b/languages/messages/MessagesEn.php @@ -1899,7 +1899,6 @@ Note that their indexes of {{SITENAME}} content may be out of date.', 'preferences-summary' => '', # do not translate or duplicate this message to other languages 'mypreferences' => 'Preferences', 'prefs-edits' => 'Number of edits:', -'prefsnologin' => 'Not logged in', 'prefsnologintext2' => 'Please $1 to set user preferences.', 'changepassword' => 'Change password', 'changepassword-summary' => '', # do not translate or duplicate this message to other languages diff --git a/languages/messages/MessagesQqq.php b/languages/messages/MessagesQqq.php index f4db900510..f1da92fcfe 100644 --- a/languages/messages/MessagesQqq.php +++ b/languages/messages/MessagesQqq.php @@ -2958,7 +2958,6 @@ See also: * {{msg-mw|Tooltip-pt-preferences}} {{Identical|Preferences}}', 'prefs-edits' => 'In user preferences.', -'prefsnologin' => '{{Identical|Not logged in}}', 'prefsnologintext2' => 'Parameters: * $1 - a link to [[Special:UserLogin]] with {{msg-mw|loginreqlink}} as link description', 'changepassword' => "Section heading on [[Special:Preferences]], tab 'User profile'. diff --git a/maintenance/dictionary/mediawiki.dic b/maintenance/dictionary/mediawiki.dic index c9b0949179..d35efae584 100644 --- a/maintenance/dictionary/mediawiki.dic +++ b/maintenance/dictionary/mediawiki.dic @@ -3124,7 +3124,6 @@ prefixindex prefixsearchdisabled prefs prefsection -prefsnologin prefsnologintext2 prefsubmit preload diff --git a/maintenance/language/messages.inc b/maintenance/language/messages.inc index df3b214d24..a6c99bd022 100644 --- a/maintenance/language/messages.inc +++ b/maintenance/language/messages.inc @@ -1025,7 +1025,6 @@ $wgMessageStructure = array( 'preferences-summary', 'mypreferences', 'prefs-edits', - 'prefsnologin', 'prefsnologintext2', 'changepassword', 'changepassword-summary',