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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( $user->isAnon() && $wgULSCompactLinksEnableAnon ) {
|
if ( $user->isAnon() ) {
|
||||||
return true;
|
return $wgULSCompactLinksEnableAnon;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( $wgULSCompactLanguageLinksBetaFeature === true &&
|
if ( $wgULSCompactLanguageLinksBetaFeature === true &&
|
||||||
|
|||||||
Reference in New Issue
Block a user