styles: Stop using SkinModule in skins.minerva.mainPage.styles

Follow-up to commit 95c4454 and dd424cb.

This has become a plain style module since 95c4454 and doesn't need to
use SkinModule anymore.

Also, cleaned up the unused import of the less variables.
 * mainPage: apparently never used, dated back to 2cc9516
 * userpage: unused since 196fb20

Bug: T360988
Change-Id: I49304c64cd2bbc5f791164127a5169e60a43058a
This commit is contained in:
Func 2024-05-15 18:35:44 +08:00 committed by Jdlrobson
parent 51efcfcedc
commit 1bac80cd59
3 changed files with 0 additions and 8 deletions

View file

@ -1,6 +1,3 @@
@import '../../minerva.less/minerva.variables.less';
@import '../../minerva.less/minerva.mixins.less';
// stylelint-disable selector-max-id // stylelint-disable selector-max-id
.page-Main_Page { .page-Main_Page {
.mw-first-heading { .mw-first-heading {

View file

@ -1,6 +1,3 @@
@import '../../minerva.less/minerva.variables.less';
@import '../../minerva.less/minerva.mixins.less';
.user-links { .user-links {
margin: 15px 0 0 0; margin: 15px 0 0 0;

View file

@ -425,8 +425,6 @@
] ]
}, },
"skins.minerva.mainPage.styles": { "skins.minerva.mainPage.styles": {
"class": "MediaWiki\\ResourceLoader\\SkinModule",
"features": [],
"styles": [ "styles": [
"resources/skins.minerva.mainPage.styles/common.less" "resources/skins.minerva.mainPage.styles/common.less"
] ]