Page MenuHomePhabricator

Allow for the use of user language for ProtectionForm expiration dropdown
Open, Needs TriagePublic

Description

There is no reason why the ProtectionForm expiration dropdowns should be in the content language since it doesn't change the submitted value. The issue is that items in the dropdown are defined in the message.

This applies to:

  • Core (ProtectionForm.php)
  • FlaggedRevs (FlaggedRevsUIHooks.php)
  • ArticleFeedbackv5 (ArticleFeedbackv5Hooks.php)

Event Timeline

Change 665176 had a related patch set uploaded (by BrandonXLF; owner: BrandonXLF):
[mediawiki/core@master] Don't use content language for expiration dropdown

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

BrandonXLF renamed this task from Use user language for ProtectionForm expiration dropdown to Allow for the use of user language for ProtectionForm expiration dropdown.Mar 23 2021, 2:01 PM
BrandonXLF updated the task description. (Show Details)

Change 665176 abandoned by BrandonXLF:
[mediawiki/core@master] Don't use content language for expiration dropdown

Reason:
Messages can define custom expirations

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