Page MenuHomePhabricator

Some fields with a local exception displayed wrongly in Special:GlobalPreferences
Open, Needs TriagePublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

  • For example, set "Time zone" to "Other (time offset from UTC)" as a global preference.
  • Set a local exception for it.
  • Check Special:GlobalPreferences again.

What happens?:
The offset is displayed in a raw format.

捕获2.PNG (361×865 px, 21 KB)

What should have happened instead?:
The offset is formatted as when no local exception does.

捕获3.PNG (324×564 px, 12 KB)

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc:
Wikimedia wikis

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 748271 had a related patch set uploaded (by Func; author: Func):

[mediawiki/core@master] DefaultPreferencesFactory: Make UserOptionsManager variable as protected for GlobalPreferences

https://gerrit.wikimedia.org/r/748271

Change 748272 had a related patch set uploaded (by Func; author: Func):

[mediawiki/extensions/GlobalPreferences@master] Inject global preferences lively to support setting default values by form descriptor

https://gerrit.wikimedia.org/r/748272

Reedy renamed this task from Some fileds with a local exception displayed wrongly in Special:GlobalPreferences to Some fields with a local exception displayed wrongly in Special:GlobalPreferences.Dec 20 2021, 2:09 AM

Change 748271 merged by jenkins-bot:

[mediawiki/core@master] DefaultPreferencesFactory: Make UserOptionsManager variable as protected for GlobalPreferences

https://gerrit.wikimedia.org/r/748271