mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-11-23 22:03:28 +00:00
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:
parent
fc4d4b0c36
commit
3359cbde31
|
@ -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 );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue