Page MenuHomePhabricator

User Gender is not correctly set sometimes
Closed, DuplicatePublic8 Estimated Story PointsBUG REPORT

Description

Steps to Reproduce:

  1. Go to a wiki on which the female and male version of the user namespace is different, for example the German Wikipedia.
  2. Change your global preferences so that you’re addressed as a male.
  3. Go to your user page and confirm that the male namespace is used (Benutzer:X in German).
  4. Override this in your local preferences so that you’re addressed as a female.
  5. Go to your user page and confirm the the female namespace is used (Benutzerin:X in German).
  6. Cancel the override by unchecking Set a local exception for this global preference (Eine lokale Ausnahme für diese globale Einstellung festlegen in German).
  7. Go to your user page and check the namespace.

Actual Results:

  1. It still uses the female namespace (Benutzerin:X in German).

Expected Results:

  1. The male namespace (Benutzer:X in German) is used again.

Original report

In some language project, the label of userpage will change by user gender.
When you setting user gender as "She edits wiki pages" in dewiki, and save, this time the user page will changed to female label.
Turn on global setting for gender "He edits wiki pages", the label will not change.

Event Timeline

Reedy renamed this task from User Gender is not setted correctly sometime to User Gender is not correctly st sometime.Feb 7 2021, 6:01 PM
Reedy renamed this task from User Gender is not correctly st sometime to User Gender is not correctly set sometimes.Feb 7 2021, 6:01 PM

Hi @LaMagiaaa! What do you mean by “the label will not change”? Does it remain the default of Benutzer? Or after setting to She edits wiki pages and then setting to He edits wiki pages, it remains the female Benutzerin?

The former is expected—in German, the male form is used also when the gender is not known, instead of the contrived BenutzerIn, Benutzer*in etc.

The latter would be pretty surprising to me—the software should decide the used form only based on the current preferences, and should not take former preferences into account.

@Tacsipacsi, This one: after setting to She edits wiki pages and then setting to He edits wiki pages, it remains the female Benutzerin

Tacsipacsi changed the subtype of this task from "Task" to "Bug Report".

Oh, now I got what the bug is. Please see my description edit for how a good bug report looks like. It makes developers’ life a lot easier. (You can use the new bug report form to have the headings filled for you, as well as to get some tips on how to write good bug reports. Thank you!)

@Tacsipacsi, Thank you for your changing. I will take care of this.

ldelench_wmf set the point value for this task to 8.Oct 27 2021, 12:07 PM
ldelench_wmf moved this task from Needs Discussion to Up Next (June 3-21) on the Community-Tech board.