mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-23 22:03:39 +00:00
Default to day mode
Bug: T358811 Change-Id: Iadf061b85e3cff4b2e1fc6bda6ff034b5f71b918
This commit is contained in:
parent
07b25670af
commit
18620a4499
|
@ -596,7 +596,7 @@
|
|||
}
|
||||
},
|
||||
"DefaultUserOptions": {
|
||||
"minerva-night-mode": 2
|
||||
"minerva-night-mode": 0
|
||||
},
|
||||
"manifest_version": 2
|
||||
}
|
||||
|
|
|
@ -188,7 +188,7 @@ class SkinMinervaTest extends MediaWikiIntegrationTestCase {
|
|||
$skin = new SkinMinerva();
|
||||
|
||||
$classes = $skin->getHtmlElementAttributes()['class'];
|
||||
$this->assertStringContainsString( 'skin-night-mode-clientpref-2', $classes );
|
||||
$this->assertStringContainsString( 'skin-night-mode-clientpref-0', $classes );
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -218,7 +218,7 @@ class SkinMinervaTest extends MediaWikiIntegrationTestCase {
|
|||
$skin->setContext( $context );
|
||||
|
||||
$classes = $skin->getHtmlElementAttributes()['class'];
|
||||
$this->assertStringContainsString( 'skin-night-mode-clientpref-2', $classes );
|
||||
$this->assertStringContainsString( 'skin-night-mode-clientpref-0', $classes );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue