See T178348 for background. Currently when the wikEd gadget is enabled, CodeMirror's syntax highlighting is disabled to prevent conflicts. However the CodeMirror button is still displayed and it still changes the user prefs when clicked (even though the user doesn't see any change). The CodeMirror button should probably be completely removed when the wikEd gadget is enabled (since they aren't compatible).
Description
Details
Related Objects
Event Timeline
Change 395692 had a related patch set uploaded (by Fomafix; owner: Fomafix):
[mediawiki/extensions/CodeMirror@master] Early exit when the gadget wikEd is enabled
Change 395692 abandoned by Niharika29:
Early exit when the gadget wikEd is enabled
Reason:
I agree with what James said. The fix should be made in wikEd and not CodeMirror. We can talk more about it in Phabricator if you wish. I'm going to abandon this patch meanwhile.
hmm, I patched wikEd a couple of months ago to disable itself when CodeMirror is active though..
So.. why does code mirror disable itself (T178348 ) as well ?
Change 421078 had a related patch set uploaded (by Niharika29; owner: Niharika29):
[mediawiki/extensions/CodeMirror@master] Let CodeMirror load and work even with wikEd enabled
well, one was AFTER the other, so maybe there still was a problem... we will have to test i guess
Change #421078 abandoned by MusikAnimal:
[mediawiki/extensions/CodeMirror@master] Let CodeMirror load and work even with wikEd enabled
Reason:
stale; CM6 works with WikEd