jenkins-bot has submitted this change and it was merged.
Change subject: Clarify "unknown gender" option is a non-answer and resort
......................................................................
Clarify "unknown gender" option is a non-answer and resort
It is easier in other languages, but in English some worry
about "I prefer not to detail" not being an answer to the
question used as label of the option; parentheses should
be enough to clarify it is about not answering the question
because you don't care.
Also put such (default) "zero answer" first and move feminine
before male as suggested by Jared to avoid any appearance of
bias in the user interface, though the fallback works that way
in the code anyway for merely grammatical reasons.
Bug: 53311
Bug: 53834
Change-Id: Iea77e903c91063a648fff5e4be41c0be51ac172a
---
M includes/Preferences.php
1 file changed, 4 insertions(+), 2 deletions(-)
Approvals:
Bartosz Dziewoński: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/Preferences.php b/includes/Preferences.php
index 29d6e07..bf3e037 100644
--- a/includes/Preferences.php
+++ b/includes/Preferences.php
@@ -335,9 +335,11 @@
'type' => 'radio',
'section' => 'personal/i18n',
'options' => array(
- $context->msg( 'gender-male' )->text() =>
'male',
+ $context->msg( 'parentheses',
+ $context->msg( 'gender-unknown'
)->text()
+ )->text() => 'unknown',
$context->msg( 'gender-female' )->text() =>
'female',
- $context->msg( 'gender-unknown' )->text() =>
'unknown',
+ $context->msg( 'gender-male' )->text() =>
'male',
),
'label-message' => 'yourgender',
'help-message' => 'prefs-help-gender',
--
To view, visit https://gerrit.wikimedia.org/r/83083
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iea77e903c91063a648fff5e4be41c0be51ac172a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Nemo bis <[email protected]>
Gerrit-Reviewer: Amire80 <[email protected]>
Gerrit-Reviewer: Bartosz Dziewoński <[email protected]>
Gerrit-Reviewer: MZMcBride <[email protected]>
Gerrit-Reviewer: Nemo bis <[email protected]>
Gerrit-Reviewer: Nikerabbit <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits