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 ) { public static function onGetBetaFeaturePreferences( $user, &$prefs ) {
global $wgExtensionAssetsPath, $wgULSCompactLinks, $wgHideInterlanguageLinks, $wgInterwikiMagic; global $wgExtensionAssetsPath, $wgULSCompactLinks,
if ( $wgULSCompactLinks && $wgInterwikiMagic == true && $wgHideInterlanguageLinks == false) { $wgHideInterlanguageLinks, $wgInterwikiMagic;
if ( $wgULSCompactLinks &&
$wgInterwikiMagic === true &&
$wgHideInterlanguageLinks === false
) {
$prefs['uls-compact-links'] = array( $prefs['uls-compact-links'] = array(
'label-message' => 'uls-betafeature-label', 'label-message' => 'uls-betafeature-label',
'desc-message' => 'uls-betafeature-desc', 'desc-message' => 'uls-betafeature-desc',