Restore compact languages button user preference
The compact languages button user preference will be applied to any compact language button provided by the skin, this allows users to opt out of the feature as before. This will be used immediately in Vector in I436554d9d51470d277d59c2c71e08124735e12fd Bug: T282149 Change-Id: I726c61d4c6895a28b999781752535e0ddc961744
This commit is contained in:
@@ -112,6 +112,7 @@ class UniversalLanguageSelectorHooks {
|
||||
$override = is_array( $excludedLinks ) && in_array( '*', $excludedLinks );
|
||||
$config = [
|
||||
'wgULSPosition' => $wgULSPosition,
|
||||
'wgULSisCompactLinksEnabled' => self::isCompactLinksEnabled( $out->getUser() ),
|
||||
];
|
||||
|
||||
// Load compact links if no mw-interlanguage-selector element is present in the page HTML.
|
||||
|
||||
Reference in New Issue
Block a user