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/';
|
||||
}
|
||||
|
||||
// Cannot check where whether CLL is enabled for a particular user. The overhead
|
||||
// of including this data is small.
|
||||
if ( isset( $wgWBClientSettings['sortPrepend'] ) ) {
|
||||
$vars['wgULSCompactLinksPrepend'] = $wgWBClientSettings['sortPrepend'];
|
||||
if ( isset( $wgInterwikiSortingSortPrepend ) && $wgInterwikiSortingSortPrepend !== [] ) {
|
||||
$vars['wgULSCompactLinksPrepend'] = $wgInterwikiSortingSortPrepend;
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user