Merge "Use bodyClasses option to register static classes on skin"

This commit is contained in:
jenkins-bot 2022-02-08 16:25:02 +00:00 committed by Gerrit Code Review
commit d94c685f02
2 changed files with 4 additions and 4 deletions

View File

@ -606,10 +606,6 @@ class Hooks {
// list.
if ( self::isSkinVersionLegacy( $skinName ) ) {
$bodyAttrs['class'] .= ' skin-vector-legacy';
} else {
// The modern Vector skin must also carry skin-vector for compatibility with older
// skins.
$bodyAttrs['class'] .= ' skin-vector skin-vector-search-vue';
}
$config = $sk->getConfig();

View File

@ -36,6 +36,10 @@
"tag": "span"
}
},
"bodyClasses": [
"skin-vector",
"skin-vector-search-vue"
],
"messages": [
"tooltip-p-logo",
"vector-opt-out-tooltip",