mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-27 15:50:29 +00:00
e1cdab7931
Previously, this code relied on 'visualeditor-enable' being set to '1' when VE was opt-out (so not using that preference). That default does not make sense for a beta feature (which uses that preference), so WMF config was overriding it to 0 when the beta feature mode was wanted. Instead of making assumptions about the default values of preferences that depend on whether beta feature mode is enabled, just check the beta feature config. I also added and updated comments documenting this preference. Previously I never really understood what it was for, and I think I figured it out now. Bug: T340696 Change-Id: I45eef42939149ff5be63bf299c48ef70ee535e76 |
||
---|---|---|
.. | ||
ApiParsoidTrait.php | ||
ApiVisualEditor.php | ||
ApiVisualEditorEdit.php | ||
DirectParsoidClient.php | ||
DualParsoidClient.php | ||
Hooks.php | ||
ParsoidClient.php | ||
ServiceWiring.php | ||
SpecialCollabPad.php | ||
VisualEditorApiVisualEditorEditPostSaveHook.php | ||
VisualEditorApiVisualEditorEditPreSaveHook.php | ||
VisualEditorBeforeEditorHook.php | ||
VisualEditorDataModule.php | ||
VisualEditorDesktopArticleTargetInitModule.php | ||
VisualEditorHookRunner.php | ||
VisualEditorParsoidClientFactory.php | ||
VRSParsoidClient.php |