Revert "Language button icon/button should be consistent with other buttons"
This reverts commit 5ca2ccb58a.
Reason for revert: Per Niklas's review (T289630#7324439)
I've also seen a much better way to do this which limits the change
to modern skins so I'll post a follow up shortly.
Change-Id: I99802c60390e23eaa0de21462788da622a35a37a
This commit is contained in:
@@ -132,10 +132,7 @@ class UniversalLanguageSelectorHooks {
|
||||
$out->addJsConfigVars( $config );
|
||||
|
||||
if ( $wgULSPosition === 'personal' ) {
|
||||
$out->addModuleStyles( [
|
||||
'mediawiki.ui.button',
|
||||
'ext.uls.pt'
|
||||
] );
|
||||
$out->addModuleStyles( 'ext.uls.pt' );
|
||||
} else {
|
||||
$out->addModuleStyles( 'ext.uls.interlanguage' );
|
||||
}
|
||||
@@ -229,8 +226,7 @@ class UniversalLanguageSelectorHooks {
|
||||
'uls' => [
|
||||
'text' => Language::fetchLanguageName( $langCode ),
|
||||
'href' => '#',
|
||||
'link-class' => 'mw-ui-icon mw-ui-icon-before',
|
||||
'class' => 'uls-trigger mw-ui-button mw-ui-quiet',
|
||||
'class' => 'uls-trigger',
|
||||
'active' => true
|
||||
]
|
||||
] + $personal_urls;
|
||||
|
||||
Reference in New Issue
Block a user