mediawiki-extensions-CodeMi.../resources
MusikAnimal 27b6aaebcc CodeMirrorWikiEditor: use new icon and add text to toggle button
For years, users have complained that the CodeMirror toggle button is
confusing and concealed. The icon looked too similar to the edit icon,
when it was supposed to be a highlighter. The new icon is similar but
has a highlighted line to help clarify what it is. We also now have the
text 'Syntax' accompanying the icon. Translators are instructed to try
to be brief to conserve space in the toolbar. "Syntax highlighting" is
the full correct term, and remains the text for the button's tooltip.

The new icon is ~0.3KB uncompressed, just meeting performance guidelines
for using @embed <https://w.wiki/AsPW>. This is also only temporary until the icon is upstreamed in Codex/OOUI.

New icon courtesy of Thiemo Kreuz (WMDE)

A corresponding change for the 2017 editor will follow I15453b33e7.

Bug: T174145
Change-Id: Ib6dbfc261214ed6672c1a54738e3401fa2f5d262
2024-08-09 06:08:33 +00:00
..
legacy Isolate build step to CM6 library and restructure files to work with RL 2024-07-31 22:45:48 -04:00
lib Isolate build step to CM6 library and restructure files to work with RL 2024-07-31 22:45:48 -04:00
.eslintrc.json Isolate build step to CM6 library and restructure files to work with RL 2024-07-31 22:45:48 -04:00
codemirror.bundle.js Isolate build step to CM6 library and restructure files to work with RL 2024-07-31 22:45:48 -04:00
codemirror.icon.svg CodeMirrorWikiEditor: use new icon and add text to toggle button 2024-08-09 06:08:33 +00:00
codemirror.js Isolate build step to CM6 library and restructure files to work with RL 2024-07-31 22:45:48 -04:00
codemirror.less CodeMirrorWikiEditor: use new icon and add text to toggle button 2024-08-09 06:08:33 +00:00
codemirror.mediawiki.bidiIsolation.js Isolate build step to CM6 library and restructure files to work with RL 2024-07-31 22:45:48 -04:00
codemirror.mediawiki.colorblind.less Isolate build step to CM6 library and restructure files to work with RL 2024-07-31 22:45:48 -04:00
codemirror.mediawiki.config.js Isolate build step to CM6 library and restructure files to work with RL 2024-07-31 22:45:48 -04:00
codemirror.mediawiki.init.js Isolate build step to CM6 library and restructure files to work with RL 2024-07-31 22:45:48 -04:00
codemirror.mediawiki.js Isolate build step to CM6 library and restructure files to work with RL 2024-07-31 22:45:48 -04:00
codemirror.mediawiki.less Isolate build step to CM6 library and restructure files to work with RL 2024-07-31 22:45:48 -04:00
codemirror.mediawiki.templateFolding.js Isolate build step to CM6 library and restructure files to work with RL 2024-07-31 22:45:48 -04:00
codemirror.textSelection.js Isolate build step to CM6 library and restructure files to work with RL 2024-07-31 22:45:48 -04:00
codemirror.wikieditor.js CodeMirrorWikiEditor: use new icon and add text to toggle button 2024-08-09 06:08:33 +00:00
codemirror.wikieditor.mediawiki.init.js Isolate build step to CM6 library and restructure files to work with RL 2024-07-31 22:45:48 -04:00