Remove support for MediaWiki <= 1.39
With release of MediaWiki 1.41 we no longer need to support MW 1.39 Bug: T355105 Change-Id: I7957ca8aefee168ef11bc20905abd9944faecd73
This commit is contained in:
@@ -189,7 +189,7 @@
|
||||
lang, i, language, $button, autonym;
|
||||
|
||||
// Don't let anonymous users change interface language
|
||||
if ( !anonsAllowed && !mw.uls.isNamed() ) {
|
||||
if ( !anonsAllowed && !mw.user.isNamed() ) {
|
||||
$loginCta = $( '<p>' )
|
||||
.attr( 'id', 'uls-display-settings-anon-log-in-cta' );
|
||||
autonym = $.uls.data.getAutonym( this.contentLanguage );
|
||||
|
||||
Reference in New Issue
Block a user