mediawiki-extensions-CodeMi.../tests
MusikAnimal 894d2c33e9 Hooks: further limit where CodeMirror RL modules are loaded
This fixes a preexisting issue where we were loading CodeMirror on pages
where it would never be used. We use the EditPage__showEditForm_initial
hook so we don't need to check the action.

This commit introduces the CodeMirrorContentModels extension attribute,
used to limit where CodeMirror is loaded automatically. By default,
this includes only CONTENT_MODEL_WIKITEXT ('wikitext'). This extension
attribute serves as a stepping stone to CM being used on content types
other than just wikitext.

Bug: T359206
Change-Id: Ibefc028c5ef6275393202fe773c26162715e1bca
2024-03-11 17:30:10 -04:00
..
jest CodeMirrorModeMediaWikiConfig: add missing tokens for nested templates 2024-03-05 00:34:34 -05:00
phpunit Hooks: further limit where CodeMirror RL modules are loaded 2024-03-11 17:30:10 -04:00
selenium CodeMirror 6 template folding 2024-03-07 13:47:47 +08:00