Language button should use a new id to identify itself

This breaks existing integrations with extensions which will need
to be revisited as part of this redesign.

Change-Id: Iabf627e6926d4574f27448400d76210386ebdaa2
This commit is contained in:
jdlrobson 2021-02-04 12:25:20 -08:00 committed by Jdlrobson
parent d50eef9cf6
commit 36eda30e0f
2 changed files with 2 additions and 1 deletions

View File

@ -237,6 +237,7 @@ class SkinVector extends SkinMustache {
count( $this->getLanguages() )
)->parse();
$portletData['icon'] = 'language';
$portletData['id'] = 'p-lang-btn';
}
$class = $portletData['class'];
$portletData['class'] = trim( "$class $extraClasses[$type]" );

View File

@ -81,7 +81,7 @@ body {
.mw-body-header {
.mixin-clearfix();
#p-lang {
#p-lang-btn {
float: right;
}
}