Page MenuHomePhabricator

If you automatically enable all Beta Features locally, then you can't enable any of them in Global Preferences
Open, Needs TriagePublicBUG REPORT

Assigned To
None
Authored By
Whatamidoing-WMF
Oct 4 2021, 4:08 PM
Referenced Files
F34915744: image.png
Jan 12 2022, 4:48 PM
F34915750: image.png
Jan 12 2022, 4:48 PM
F34915742: image.png
Jan 12 2022, 4:48 PM
F34915752: T292454.webm
Jan 12 2022, 4:48 PM

Description

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

What happens?:

You can't enable any Beta Features in GlobalPreferences while your account is set to enable everything locally.

What should have happened instead?:

You should be able to use Global Preferences no matter what your local status is.

In some respects, this is probably the opposite of T170055: Impossible to turn off certain BetaFeatures when "Automatically enable all new beta features" is selected. The only potentially relevant Phab task I could find is T199725: Make automatic beta feature enablements of Content Translation to work with Global preferences.

Event Timeline

Reedy renamed this task from If you automatically enable all Beta Features locally, then you can't enabled any of them in Global Preferences to If you automatically enable all Beta Features locally, then you can't enable any of them in Global Preferences.Oct 4 2021, 4:54 PM

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

[mediawiki/extensions/BetaFeatures@master] Use native method to disable checkboxes when \"enable most features\" is selected

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

I noticed that my patch for T298300 can also fix this...

Change 749775 merged by jenkins-bot:

[mediawiki/extensions/BetaFeatures@master] Use native method to disable checkboxes when \"enable most features\" is selected

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

This works now, but the interface is still buggy:

  1. I enabled "Automatically enable most beta features" in local preferences:
    image.png (1×3 px, 232 KB)
  2. I visit global preferences – the settings are now visible, but they're all unavailable:
    image.png (1×3 px, 218 KB)
  3. I can do a funny dance with the checkboxes to make them available, and configure some beta features globally – but it's not clear whether this actually takes effect, as checkboxes become unavailable again after saving and some of the checks change:
  4. When I disabled "Automatically enable most beta features" locally again, it's clear that it actually had the desired effect:
    image.png (1×3 px, 228 KB)

However, if you change any global preferences without doing the funny dance in step 3, you'll lose the global beta feature configuration.

The other problems may be resolved by the work on T64815 that @Func started. I'm not sure if we should call this resolved, or not?