Merge "Coding conventions - whitespace, ==="
This commit is contained in:
@@ -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',
|
||||||
|
|||||||
Reference in New Issue
Block a user