mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-11-23 22:03:28 +00:00
bbd142c118
This removes treating an HTML entity in a template name as a separate token, and thus deprecates the .cm-mw-template-name-mnemonic CSS class. In CM6 we have to register tokens for them to show, and this one seems of little use to begin with. HTML entities should always be styled as a such, especially in page titles where they are treated post-processing. i.e. [[/dev/null]] links to [[/dev/null]]. The rename to .cm-html-entity and associated code is to better reflect what it is. $rarr; is a mnemonic form while / is not, but both are entities. Deprecations are noted in the README, with the old classes to be removed later after on-wiki usage has been updated. Bug: T348019 Change-Id: I1184fb5d7d37084c80af1abd5f3cb5f2091b085c |
||
---|---|---|
.. | ||
addon/edit | ||
dist | ||
lib | ||
mode/mediawiki | ||
modules/ve-cm | ||
.eslintrc.json | ||
ext.CodeMirror.js | ||
ext.CodeMirror.less | ||
ext.CodeMirror.v6.WikiEditor.init.js | ||
ext.CodeMirror.v6.WikiEditor.less | ||
ext.CodeMirror.WikiEditor.js |