From 25cfc8e38a32e1e569770807c689c6f3a3e8986d Mon Sep 17 00:00:00 2001 From: Jon Robson Date: Tue, 23 Apr 2024 16:28:53 -0700 Subject: [PATCH] Class page-Main_page is now defined in core We need this class in Vector 2022 and other skins so this is now upstreamed to core. Depends-On: I4b77356364f7d7670139d9a1860b3e228b4dcf21 Bug: T363281 Change-Id: I948d7d3ade90583b91e7e19946b6b2354c349829 --- includes/Skins/SkinMinerva.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/includes/Skins/SkinMinerva.php b/includes/Skins/SkinMinerva.php index a08b87e2f..e822d6dc6 100644 --- a/includes/Skins/SkinMinerva.php +++ b/includes/Skins/SkinMinerva.php @@ -636,10 +636,6 @@ class SkinMinerva extends SkinMustache { $className .= ' ' . ( $this->skinOptions->get( SkinOptions::BETA_MODE ) ? 'beta' : 'stable' ); - if ( $title->isMainPage() ) { - $className .= ' page-Main_Page '; - } - if ( $this->getUser()->isRegistered() ) { $className .= ' is-authenticated'; }