When VisualEditorUnifiedPreference is true, VisualEditor uses two different preferences, depending on how the integration with BetaFeatures was configured historically:
- When VisualEditorEnableBetaFeature is true, 'visualeditor-enable' is used (true means VE is enabled)
- When VisualEditorEnableBetaFeature is false, 'visualeditor-betatempdisable' is used (false means VE is enabled)
This is bad for two reasons:
We should make it use just one preference name (either 'visualeditor-enable' or a new one, if that makes migration easier) and write and run a maintenance script to update the entries in the databases to also use that name. The maintenance script will also need to update global preferences somehow.
This may be easier to do after T344757 and T344760 are done, so that there are less weird edge cases to consider.