Default to day mode

Bug: T358811
Change-Id: Iadf061b85e3cff4b2e1fc6bda6ff034b5f71b918
This commit is contained in:
Jon Robson 2024-02-29 13:09:58 -08:00
parent 07b25670af
commit 18620a4499
2 changed files with 3 additions and 3 deletions

View file

@ -596,7 +596,7 @@
}
},
"DefaultUserOptions": {
"minerva-night-mode": 2
"minerva-night-mode": 0
},
"manifest_version": 2
}

View file

@ -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 );
}
/**