Merge "Revert "Fix ULSCompactLinksEnableAnon configuration""

This commit is contained in:
jenkins-bot
2016-06-27 03:34:18 +00:00
committed by Gerrit Code Review

View File

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