Add explanation text for "Allow emails from brand-new users"

It is not clear who the "brand-new users" are in this case so help-message is required here.

Bug: T381205
Change-Id: Idfc1b7e4b5b1686f0edf69b32e0d4152b30e54ae
(cherry picked from commit 141be6c7f7a3be92d702db1e26ba7d0493aa8a0f)
This commit is contained in:
Nemoralis 2024-11-30 22:35:13 +04:00 committed by Reedy
parent 1364192bb9
commit 4d4359f8ef
3 changed files with 3 additions and 0 deletions

View file

@ -884,6 +884,7 @@ class DefaultPreferencesFactory implements PreferencesFactory {
'type' => 'toggle',
'section' => 'personal/email',
'label-message' => 'email-allow-new-users-label',
'help-message' => 'prefs-help-email-allow-new-users',
'disabled' => $disableEmailPrefs,
'disable-if' => [ '!==', 'disablemail', '1' ],
];

View file

@ -87,6 +87,7 @@
"emailauthenticated": "Your email address was confirmed on $2 at $3.",
"allowemail": "Allow other users to email me",
"email-allow-new-users-label": "Allow emails from brand-new users",
"prefs-help-email-allow-new-users": "Enabling this option will allow users who are not [[{{MediaWiki:grouppage-autoconfirmed}}|autoconfirmed]] to send you emails.",
"tog-ccmeonemails": "Send me copies of emails I send to other users",
"email-mutelist-label": "Prohibit these users from emailing me:",
"tog-enotifwatchlistpages": "Email me when a page or a file on my watchlist is changed",

View file

@ -346,6 +346,7 @@
"emailauthenticated": "In user preferences ([[Special:Preferences]] > {{int:prefs-personal}} > {{int:email}}) and on [[Special:ConfirmEmail]].\n\nParameters:\n* $1 - (Unused) obsolete, date and time\n* $2 - date\n* $3 - time",
"allowemail": "Used in [[Special:Preferences]] > {{int:prefs-personal}} > {{int:email}}.",
"email-allow-new-users-label": "Used in [[Special:Preferences]] > {{int:prefs-personal}} > {{int:email}}.",
"prefs-help-email-allow-new-users": "Shown as explanation text on [[Special:Preferences]] > {{int:prefs-personal}} > {{int:email}}.\n\nSee also:\n* {{msg-mw|email-allow-new-users-label}}\n* {{msg-mw|grouppage-autoconfirmed}}\n* {{msg-mw|group-autoconfirmed-member}}",
"tog-ccmeonemails": "Option in [[Special:Preferences]] > <bdi>{{int:prefs-personal}}</bdi> > {{int:email}}. {{Gender}}",
"email-mutelist-label": "Used in [[Special:Preferences]] > {{int:prefs-personal}} > {{int:email}}.",
"tog-enotifwatchlistpages": "Option in [[Special:Preferences]] > {{int:prefs-personal}} > {{int:email}}. {{Gender}}",