mediawiki-extensions-CodeMi.../resources
bhsd 925775778a CodeMirror 6 for VE 2017 wikitext editor
Add new temporary ext.CodeMirror.visualEditor.init RL module which
selects the temporary ext.CodeMirror.visualEditor.v6 or non-v6 based on
$wgCodeMirrorV6. This will allow us to deploy CM6 further.

As a result of this work, the core CodeMirror class now has knowledge
of ve.ui.Surface.

Other changes:
* Add Compartment for specialCharsExtension so it can be disabled in VE.
* Add option to mediaWikiLang() to disable template folding.
* Add support for RTL wikis where $wgCodeMirrorRTL is enabled.
* Make CodeMirror.logUsage() and setCodeMirrorPreference() static.
* Fix unit and linting tests.

Some code courtesy of Fandom, GPLv2-or-later; see:
https://github.com/Wikia/mediawiki-extensions-CodeMirror/commit/ef297c48c

Bug: T357482
Change-Id: I15453b33e77e1c1b4d5e5183e41e53d56ff14c3e
2024-08-01 03:15:21 -04:00
..
legacy Isolate build step to CM6 library and restructure files to work with RL 2024-07-31 22:45:48 -04:00
lib Isolate build step to CM6 library and restructure files to work with RL 2024-07-31 22:45:48 -04:00
ve-cm CodeMirror 6 for VE 2017 wikitext editor 2024-08-01 03:15:21 -04:00
.eslintrc.json CodeMirror 6 for VE 2017 wikitext editor 2024-08-01 03:15:21 -04:00
codemirror.bundle.js Isolate build step to CM6 library and restructure files to work with RL 2024-07-31 22:45:48 -04:00
codemirror.js CodeMirror 6 for VE 2017 wikitext editor 2024-08-01 03:15:21 -04:00
codemirror.less Isolate build step to CM6 library and restructure files to work with RL 2024-07-31 22:45:48 -04:00
codemirror.mediawiki.bidiIsolation.js Isolate build step to CM6 library and restructure files to work with RL 2024-07-31 22:45:48 -04:00
codemirror.mediawiki.colorblind.less Isolate build step to CM6 library and restructure files to work with RL 2024-07-31 22:45:48 -04:00
codemirror.mediawiki.config.js Isolate build step to CM6 library and restructure files to work with RL 2024-07-31 22:45:48 -04:00
codemirror.mediawiki.init.js Isolate build step to CM6 library and restructure files to work with RL 2024-07-31 22:45:48 -04:00
codemirror.mediawiki.js CodeMirror 6 for VE 2017 wikitext editor 2024-08-01 03:15:21 -04:00
codemirror.mediawiki.less Isolate build step to CM6 library and restructure files to work with RL 2024-07-31 22:45:48 -04:00
codemirror.mediawiki.templateFolding.js Isolate build step to CM6 library and restructure files to work with RL 2024-07-31 22:45:48 -04:00
codemirror.textSelection.js Isolate build step to CM6 library and restructure files to work with RL 2024-07-31 22:45:48 -04:00
codemirror.wikieditor.js CodeMirror 6 for VE 2017 wikitext editor 2024-08-01 03:15:21 -04:00
codemirror.wikieditor.mediawiki.init.js Isolate build step to CM6 library and restructure files to work with RL 2024-07-31 22:45:48 -04:00