Fix ULSCompactLinksEnableAnon configuration
Compact Language Links was enabled by default despite of ULSCompactLinksEnableAnon was set false. Bug: T138321 Change-Id: I776c31f94c1314091a3d9b635a33962775dd9b52
This commit is contained in:
@@ -59,8 +59,8 @@ class UniversalLanguageSelectorHooks {
|
||||
return false;
|
||||
}
|
||||
|
||||
if ( $user->isAnon() && $wgULSCompactLinksEnableAnon ) {
|
||||
return true;
|
||||
if ( $user->isAnon() ) {
|
||||
return $wgULSCompactLinksEnableAnon;
|
||||
}
|
||||
|
||||
if ( $wgULSCompactLanguageLinksBetaFeature === true &&
|
||||
|
||||
Reference in New Issue
Block a user