Merge "Coding conventions - whitespace, ==="

This commit is contained in:
jenkins-bot
2014-03-16 11:32:29 +00:00
committed by Gerrit Code Review

View File

@@ -336,8 +336,13 @@ class UniversalLanguageSelectorHooks {
}
public static function onGetBetaFeaturePreferences( $user, &$prefs ) {
global $wgExtensionAssetsPath, $wgULSCompactLinks, $wgHideInterlanguageLinks, $wgInterwikiMagic;
if ( $wgULSCompactLinks && $wgInterwikiMagic == true && $wgHideInterlanguageLinks == false) {
global $wgExtensionAssetsPath, $wgULSCompactLinks,
$wgHideInterlanguageLinks, $wgInterwikiMagic;
if ( $wgULSCompactLinks &&
$wgInterwikiMagic === true &&
$wgHideInterlanguageLinks === false
) {
$prefs['uls-compact-links'] = array(
'label-message' => 'uls-betafeature-label',
'desc-message' => 'uls-betafeature-desc',