From c2900af71e000e3528b5e1ba21a0c9f62f1def0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20Dziewo=C5=84ski?= Date: Mon, 18 Jul 2022 17:41:20 +0200 Subject: [PATCH] Remove temporary compat for $wgVectorTitleAboveTabs = false The configuration option has been removed in Ib35c6bfa5493f7dc81b63c42e7fedb8f1e47226b. Change-Id: I1392cab0f6916c47cade833c10036adec2c9d4dd --- extension.json | 3 +-- ...DesktopArticleTarget.init-vector-2022.less | 25 ------------------- 2 files changed, 1 insertion(+), 27 deletions(-) delete mode 100644 modules/ve-mw/preinit/styles/ve.init.mw.DesktopArticleTarget.init-vector-2022.less diff --git a/extension.json b/extension.json index b468fd3af8..9484813c2d 100644 --- a/extension.json +++ b/extension.json @@ -375,8 +375,7 @@ "modules/ve-mw/preinit/styles/ve.init.mw.DesktopArticleTarget.init-vector.less" ], "vector-2022": [ - "modules/ve-mw/preinit/styles/ve.init.mw.DesktopArticleTarget.init-wikimediatheme.css", - "modules/ve-mw/preinit/styles/ve.init.mw.DesktopArticleTarget.init-vector-2022.less" + "modules/ve-mw/preinit/styles/ve.init.mw.DesktopArticleTarget.init-wikimediatheme.css" ], "monobook": [ "modules/ve-mw/preinit/styles/ve.init.mw.DesktopArticleTarget.init-apextheme.css" diff --git a/modules/ve-mw/preinit/styles/ve.init.mw.DesktopArticleTarget.init-vector-2022.less b/modules/ve-mw/preinit/styles/ve.init.mw.DesktopArticleTarget.init-vector-2022.less deleted file mode 100644 index 6a7a4d2b2f..0000000000 --- a/modules/ve-mw/preinit/styles/ve.init.mw.DesktopArticleTarget.init-vector-2022.less +++ /dev/null @@ -1,25 +0,0 @@ -/*! - * VisualEditor MediaWiki DesktopArticleTarget Vector-2022 skin init styles. - * - * @copyright 2011-2020 VisualEditor Team and others; see AUTHORS.txt - * @license The MIT License (MIT); see LICENSE.txt - */ - -// Local copy of Vector variables. -@padding-top-content: 0.5em; -@padding-horizontal-content: 0.5em; -// End local copy of Vector variables. - -@padding-top-toolbar: -@padding-top-content/0.875; -@padding-horizontal-toolbar: -@padding-horizontal-content/0.875; - -.ve-init-mw-desktopArticleTarget-toolbar, -.ve-init-mw-desktopArticleTarget-toolbarPlaceholder { - - // New Vector with $wgVectorTitleAboveTabs = false - /* stylelint-disable-next-line selector-max-id */ - #content.ve-init-mw-desktopArticleTarget-targetContainer & { - font-size: 0.875em; - margin: @padding-top-toolbar @padding-horizontal-toolbar -@padding-top-toolbar @padding-horizontal-toolbar; - } -}