mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-27 23:50:30 +00:00
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:
parent
b01d9420a0
commit
25cfc8e38a
|
@ -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';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue