There is no reason why the default can't be used instead.
No other special pages requiring login have special messages for the
title, as far as I know.
Left one use of 'watchnologin' in WatchAction alone, since it also uses
another special message there. This message is also currently used by
the MobileFrontend extension.
Change-Id: I7878ed3692358cee1f5785b34ab48a0cc83c05bc
$this->setHeaders();
# Anons don't get a watchlist
- $this->requireLogin( 'watchlistanontext', 'watchnologin' );
+ $this->requireLogin( 'watchlistanontext' );
$out = $this->getOutput();
$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' ) {
$output = $this->getOutput();
# Anons don't get a watchlist
- $this->requireLogin( 'watchlistanontext', 'watchnologin' );
+ $this->requireLogin( 'watchlistanontext' );
// Check permissions
$this->checkPermissions();
'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
* {{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'.
prefixsearchdisabled
prefs
prefsection
-prefsnologin
prefsnologintext2
prefsubmit
preload
'preferences-summary',
'mypreferences',
'prefs-edits',
- 'prefsnologin',
'prefsnologintext2',
'changepassword',
'changepassword-summary',