Coding conventions - whitespace, ===

Change-Id: I56d876529993970b42cf33dc1badb1429b1eda12
This commit is contained in:
Amir E. Aharoni
2014-03-14 16:47:19 +02:00
parent d8c6e59da8
commit 9732c5b3cf

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',