From 733ea279c23a71c2111f2bd837ce18404fb060be Mon Sep 17 00:00:00 2001 From: Glaisher Date: Mon, 28 Sep 2015 21:42:52 +0500 Subject: [PATCH] Make it more obvious that users can remove their email address * Add help message to new email address field indicating that the field should be left blank if the user want to remove their email address. and the consequences of no email address it. * Update changeemail related messages. Bug: T98799 Change-Id: Ie92e393207ee30811fd30e25e72b9e523d95fd62 --- includes/specials/SpecialChangeEmail.php | 3 ++- languages/i18n/en.json | 7 ++++--- languages/i18n/qqq.json | 7 ++++--- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/includes/specials/SpecialChangeEmail.php b/includes/specials/SpecialChangeEmail.php index 22df04e828..65fa01fe2c 100644 --- a/includes/specials/SpecialChangeEmail.php +++ b/includes/specials/SpecialChangeEmail.php @@ -92,7 +92,8 @@ class SpecialChangeEmail extends FormSpecialPage { 'NewEmail' => array( 'type' => 'email', 'label-message' => 'changeemail-newemail', - 'autofocus' => true + 'autofocus' => true, + 'help-message' => 'changeemail-newemail-help', ), ); diff --git a/languages/i18n/en.json b/languages/i18n/en.json index 20112867b9..4d8e392be7 100644 --- a/languages/i18n/en.json +++ b/languages/i18n/en.json @@ -553,12 +553,13 @@ "passwordreset-emailsent": "A password reset email has been sent.", "passwordreset-emailsent-capture": "A password reset email has been sent, which is shown below.", "passwordreset-emailerror-capture": "A password reset email was generated, which is shown below, but sending it to the {{GENDER:$2|user}} failed: $1", - "changeemail": "Change email address", + "changeemail": "Change or remove email address", "changeemail-summary": "", - "changeemail-text": "Complete this form to change your email address. You will need to enter your password to confirm this change. If you would like to remove the association of any email address from your account, leave the email address blank when submitting the form.", + "changeemail-text": "Complete this form to change your email address. You will need to enter your password to confirm this change. If you would like to remove the association of any email address from your account, leave the new email address blank when submitting the form.", "changeemail-no-info": "You must be logged in to access this page directly.", "changeemail-oldemail": "Current email address:", "changeemail-newemail": "New email address:", + "changeemail-newemail-help": "This field should be left blank if you want to remove your email address. You will not be able to reset a forgotten password and will not receive emails from this wiki if the email address is removed.", "changeemail-none": "(none)", "changeemail-password": "Your {{SITENAME}} password:", "changeemail-submit": "Change email", @@ -965,7 +966,7 @@ "prefs-watchlist-token": "Watchlist token:", "prefs-misc": "Misc", "prefs-resetpass": "Change password", - "prefs-changeemail": "Change email address", + "prefs-changeemail": "Change or remove email address", "prefs-setemail": "Set an email address", "prefs-email": "Email options", "prefs-rendering": "Appearance", diff --git a/languages/i18n/qqq.json b/languages/i18n/qqq.json index 208e39502b..f32a5852eb 100644 --- a/languages/i18n/qqq.json +++ b/languages/i18n/qqq.json @@ -726,12 +726,13 @@ "passwordreset-emailsent": "Used in [[Special:PasswordReset]].\n\nSee also:\n* {{msg-mw|Passwordreset-emailsent-capture}}\n* {{msg-mw|Passwordreset-emailerror-capture}}", "passwordreset-emailsent-capture": "Used in [[Special:PasswordReset]].\n\nSee also:\n* {{msg-mw|Passwordreset-emailsent}}\n* {{msg-mw|Passwordreset-emailerror-capture}}", "passwordreset-emailerror-capture": "Error message displayed in [[Special:PasswordReset]] when sending an email fails. Parameters:\n* $1 - error message\n* $2 - username, used for GENDER\nSee also:\n* {{msg-mw|Passwordreset-emailsent}}\n* {{msg-mw|Passwordreset-emailsent-capture}}", - "changeemail": "Title of [[Special:ChangeEmail|special page]].", + "changeemail": "Title of [[Special:ChangeEmail|special page]]. This page also allows removing the user's email address.", "changeemail-summary": "{{ignored}}", "changeemail-text": "Text of [[Special:ChangeEmail]].", "changeemail-no-info": "Error message for [[Special:ChangeEmail]].\n\nParameters:\n* $1 (unused) - a link to [[Special:UserLogin]] with {{msg-mw|loginreqlink}} as link description", "changeemail-oldemail": "Label for e-mail address field in [[Special:ChangeEmail]].", - "changeemail-newemail": "Label for e-mail address field in [[Special:ChangeEmail]].", + "changeemail-newemail": "Label for e-mail address field in [[Special:ChangeEmail]]. See also {{msg-mw|changeemail-newemail-help}}", + "changeemail-newemail-help": "Help message shown next to the new email address field. See also {{msg-mw|changeemail-newemail}}", "changeemail-none": "Probably appears in 'Current E-mail address' field when no address held, in [[Special:ChangeEmail]].\n\n{{Identical|None}}", "changeemail-password": "Label for password field in [[Special:ChangeEmail]].", "changeemail-submit": "Submit button on [[Special:ChangeEmail]]", @@ -1138,7 +1139,7 @@ "prefs-watchlist-token": "Used in [[Special:Preferences]], tab Watchlist.", "prefs-misc": "Tab used on the [[Special:Preferences|user preferences]] special page.", "prefs-resetpass": "Button on user data tab in user preferences. When you click the button you go to the special page [[Special:ResetPass]].\n\n{{Identical|Change password}}", - "prefs-changeemail": "Link on [[Special:Preferences]] to [[Special:ChangeEmail]].\n\nSee also:\n* {{msg-mw|prefs-help-email-required|help}}\n* {{msg-mw|prefs-help-email|help}}\n* {{msg-mw|prefs-help-email-others|help}}\n* {{msg-mw|prefs-setemail|link title}}", + "prefs-changeemail": "Link on [[Special:Preferences]] to [[Special:ChangeEmail]]. [[Special:ChangeEmail]] also allows removing email address. \n\nSee also:\n* {{msg-mw|prefs-help-email-required|help}}\n* {{msg-mw|prefs-help-email|help}}\n* {{msg-mw|prefs-help-email-others|help}}\n* {{msg-mw|prefs-setemail|link title}}", "prefs-setemail": "Used as link title in [[Special:Preferences]], if the user has not set E-mail address yet.\n\nSee also:\n* {{msg-mw|prefs-help-email-required|help}}\n* {{msg-mw|prefs-help-email|help}}\n* {{msg-mw|prefs-help-email-others|help}}\n* {{msg-mw|prefs-changeemail|link title}}", "prefs-email": "Used as section name in [[Special:Preferences]].", "prefs-rendering": "Title of tab in [[Special:Preferences]].\n{{Identical|Appearance}}", -- 2.20.1