We weren't able to get T400014 done in time, so sunsetting CodeEditor entirely isn't going to happen in time for MW 1.47. We can still however switch over the defaults for the feature flags, so that any third party installing CodeMirror + CodeEditor gets what we're using in production today.
CodeMirror is planned to be bundled with MediaWiki, and CodeEditor will be too for 1.47. Thus I think it makes sense for CodeEditor to ship with its feature flags off, under the assumption CodeMirror will also be installed. Sysadmins can of course change it back as desired, and we'll continue to leave the config settings documented so long as they exist.
Acceptance criteria
- Get code ready before REL1_47 is branched on 13 October:
- Set $wgCodeMirrorEnabledModes for all relevant modes (patch)
- Unset $wgCodeEditorEnabledModes for all relevant modes (patch)
- Flip the flags for each integration: AbuseFilter, Gadgets, JsonConfig, Scribunto, TemplateStyles, UploadWizard, and WikiLambda.
- Remove all the unnecessary overrides in the WMF config (no deadline)