mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-23 03:23:09 +00:00
b91c8647fe
We have two preferences used for enabling/disabling VE: 'visualeditor-enable' and 'visualeditor-betatempdisable'. (And 'visualeditor-autodisable', which sometimes overrides them both, but it's not relevant here.) The user can only set 'visualeditor-enable' when VE is Beta Feature, and they can only set 'visualeditor-betatempdisable' when it is not. However, when deciding if VE should be loaded, we always checked both of the preferences. This gives incorrect results when the preference that is not supposed to be settable actually exists, due to being set in GlobalPreferences on another wiki where it's settable. A similar issue could occur if VE configuration is changed from Beta Feature to a normal preference (or the other way around), and the preference values for the previous configuration still persist. Bug: T271434 Change-Id: I7399b3c516f762429050a662ac85d1d392392323 |
||
---|---|---|
.. | ||
ve-mw | ||
ve-mw-collab |