-/* Reuses colors from mediawiki.special.changeemail.css */
+/* Reuses colors from mediawiki.legacy/shared.css */
.mw-email-not-authenticated .mw-input,
.mw-email-none .mw-input{
- border: 1px solid #FF8080;
- background-color: #FFC0C0;
- color: black;
+ border: 1px solid #fde29b;
+ background-color: #fdf1d1;
+ color: #000000;
}
/* Authenticated email field has its own class too. Unstyled by default */
/*
* Placeholder to verify bug 34302
* @covers Preferences::profilePreferences
*/
- public function testEmailFieldsWhenUserHasNoEmail() {
+ public function testEmailAuthenticationFieldWhenUserHasNoEmail() {
$prefs = $this->prefsFor( 'noemail' );
$this->assertArrayHasKey( 'cssclass',
- $prefs['emailaddress']
+ $prefs['emailauthentication']
);
- $this->assertEquals( 'mw-email-none', $prefs['emailaddress']['cssclass'] );
+ $this->assertEquals( 'mw-email-none', $prefs['emailauthentication']['cssclass'] );
}
/**
* Placeholder to verify bug 34302
* @covers Preferences::profilePreferences
*/
- public function testEmailFieldsWhenUserEmailNotAuthenticated() {
+ public function testEmailAuthenticationFieldWhenUserEmailNotAuthenticated() {
$prefs = $this->prefsFor( 'notauth' );
$this->assertArrayHasKey( 'cssclass',
- $prefs['emailaddress']
+ $prefs['emailauthentication']
);
- $this->assertEquals( 'mw-email-not-authenticated', $prefs['emailaddress']['cssclass'] );
+ $this->assertEquals( 'mw-email-not-authenticated', $prefs['emailauthentication']['cssclass'] );
}
/**
* Placeholder to verify bug 34302
* @covers Preferences::profilePreferences
*/
- public function testEmailFieldsWhenUserEmailIsAuthenticated() {
+ public function testEmailAuthenticationFieldWhenUserEmailIsAuthenticated() {
$prefs = $this->prefsFor( 'auth' );
$this->assertArrayHasKey( 'cssclass',
- $prefs['emailaddress']
+ $prefs['emailauthentication']
);
- $this->assertEquals( 'mw-email-authenticated', $prefs['emailaddress']['cssclass'] );
+ $this->assertEquals( 'mw-email-authenticated', $prefs['emailauthentication']['cssclass'] );
}
/** Helper */