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
This commit is contained in:
Jon Robson 2024-04-23 16:28:53 -07:00 committed by Jdlrobson
parent b01d9420a0
commit 25cfc8e38a

View file

@ -636,10 +636,6 @@ class SkinMinerva extends SkinMustache {
$className .= ' ' . ( $this->skinOptions->get( SkinOptions::BETA_MODE ) $className .= ' ' . ( $this->skinOptions->get( SkinOptions::BETA_MODE )
? 'beta' : 'stable' ); ? 'beta' : 'stable' );
if ( $title->isMainPage() ) {
$className .= ' page-Main_Page ';
}
if ( $this->getUser()->isRegistered() ) { if ( $this->getUser()->isRegistered() ) {
$className .= ' is-authenticated'; $className .= ' is-authenticated';
} }