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:
1 parent
2068c08e04
commit
e08d9bcc57
1 file changed
+2
-2
@@ -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