Page MenuHomePhabricator

CodeMirror enable/disable tooltips need to be switched
Closed, ResolvedPublic

Description

Right now when CodeMirror is disabled, the tooltip says "Disable CodeMIrror", and when it is enabled, it says "Enable CodeMirror". These should be switched.

Event Timeline

Change 348675 had a related patch set uploaded (by Pastakhov):
[mediawiki/extensions/CodeMirror@master] Swap the enable/disable labels

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

Not sure about icons. Originally the colored icon was displayed when the CodeMirror was disabled and the colorless icon when CodeMirror was enabled. It meant that clicking on colored icon makes wikitext color, and clicking colorless icon makes wikitext colorless...
Maybe the question for T163919

Change 348675 merged by jenkins-bot:
[mediawiki/extensions/CodeMirror@master] Swap the enable/disable labels

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

I'm pretty sure it should be colored when CodeMirror is enabled and greyed out when disabled.