MediaWiki extension CodeMirror
MediaWiki extension CodeMirror
CodeMirror 6 homepage: https://www.mediawiki.org/wiki/Extension:CodeMirror/6
As part of the upgrade to CodeMirror 6, CodeMirror now uses an asset bundler, so during development you'll need to run a script to assemble the frontend assets.
Use of CodeMirror 6 is controlled by the wgCodeMirrorV6 configuration setting, or by passing in cm6enable=1 in the URL query string.
You can find the v6 frontend source files in src/, the compiled sources in resources/dist/, and other frontend assets managed by ResourceLoader in resources/*.
_NOTE: Consider using Fresh to run these tasks._