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:
Kartik Mistry
2016-06-22 09:25:23 +05:30
parent 2068c08e04
commit e08d9bcc57

View File

@@ -59,8 +59,8 @@ class UniversalLanguageSelectorHooks {
return false;
}
if ( $user->isAnon() && $wgULSCompactLinksEnableAnon ) {
return true;
if ( $user->isAnon() ) {
return $wgULSCompactLinksEnableAnon;
}
if ( $wgULSCompactLanguageLinksBetaFeature === true &&