CodeMirrorHooks: Remove wgCodeMirrorEnabled set in mw.config JS

This was used for backward compatibility after beta support was removed
by MaxSem in I1ad451acfd163c783e7b (T185030). As a todo, this backcompat
was planned to be removed in 2019 :).

Bug: T219342
Change-Id: I35c77add8b4815a26b1bea2df90eaeae05a9a9f7
This commit is contained in:
Derick Alangi 2019-04-02 23:37:51 +01:00
parent fc4d4b0c36
commit 3359cbde31

View file

@ -38,8 +38,6 @@ class CodeMirrorHooks {
$out->addModules( [ 'ext.CodeMirror.lib', 'ext.CodeMirror.mode.mediawiki' ] );
}
}
// TODO: for backwards compatibility. Remove in 2019.
$out->addJsConfigVars( 'wgCodeMirrorEnabled', true );
}
/**