mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-23 11:32:51 +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 |
||
---|---|---|
.. | ||
styles | ||
.eslintrc.json | ||
ve.init.mw.ArticleTargetLoader.js | ||
ve.init.mw.ArticleTargetSaver.js | ||
ve.init.mw.DesktopArticleTarget.init.js | ||
ve.init.mw.DiffLoader.js | ||
ve.init.mw.DiffPage.init.js | ||
ve.init.mw.ProgressBarWidget.js | ||
ve.init.mw.TempWikitextEditorWidget.js | ||
ve.init.MWEditingTabDialog.js | ||
ve.init.MWEditModeTool.js | ||
ve.init.MWVESwitchConfirmDialog.js | ||
ve.init.MWVESwitchPopupWidget.js | ||
ve.init.MWWelcomeDialog.js | ||
ve.utils.parsoid.js |