Page MenuHomePhabricator

CodeMirror button still shown (and semi-functional) when used with wikEd
Open, Needs TriagePublic

Description

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).

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

https://gerrit.wikimedia.org/r/395692

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.

https://gerrit.wikimedia.org/r/395692

TBolliger changed the task status from Open to Stalled.Feb 23 2018, 11:08 PM
TBolliger removed a project: Patch-For-Review.
TBolliger subscribed.

Who owns WikiEd? I don't see a Phab component...

Who owns WikiEd? I don't see a Phab component...

@Cacycle is the wikEd maintainer. (wikEd source)

Thank you!

@Cacycle — would you be able to look into this problem for us?

Who owns WikiEd? I don't see a Phab component...

We do not use Phab for gadgets.

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 ?

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 ?

Well, we were never told about it. :)

I can undo T178348.

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

https://gerrit.wikimedia.org/r/421078

well, one was AFTER the other, so maybe there still was a problem... we will have to test i guess

Fomafix subscribed.
Aklapper changed the task status from Stalled to Open.Nov 3 2020, 11:26 AM

Question answered hence resetting task status. (Plus patch still awaiting review.)

Change #421078 abandoned by MusikAnimal:

[mediawiki/extensions/CodeMirror@master] Let CodeMirror load and work even with wikEd enabled

Reason:

stale; CM6 works with WikEd

https://gerrit.wikimedia.org/r/421078