Fix broken site picks feature for compact language links
Ref T153900#3011037 and T155995 Change-Id: I429cdf330b6bf70d1710cd5a041c782e6617cb39
This commit is contained in:
@@ -331,10 +331,8 @@ class UniversalLanguageSelectorHooks {
|
|||||||
'/UniversalLanguageSelector/data/fontrepo/fonts/';
|
'/UniversalLanguageSelector/data/fontrepo/fonts/';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Cannot check where whether CLL is enabled for a particular user. The overhead
|
if ( isset( $wgInterwikiSortingSortPrepend ) && $wgInterwikiSortingSortPrepend !== [] ) {
|
||||||
// of including this data is small.
|
$vars['wgULSCompactLinksPrepend'] = $wgInterwikiSortingSortPrepend;
|
||||||
if ( isset( $wgWBClientSettings['sortPrepend'] ) ) {
|
|
||||||
$vars['wgULSCompactLinksPrepend'] = $wgWBClientSettings['sortPrepend'];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user