mediawiki-extensions-CodeMi.../resources/mode/mediawiki
MusikAnimal bbd142c118 mode.mediawiki: rename mnemonic to html-entity and deprecate variants
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
2024-01-03 21:48:34 -05:00
..
tests/qunit Expand test case for {{!}} in the table syntax 2023-12-07 11:33:40 +01:00
colorblind-colors.less build: Update linters 2023-09-13 14:02:43 +01:00
mediawiki.js Bump Node dependencies and fix deprecations and linting failures 2023-12-06 00:43:15 -05:00
mediawiki.less mode.mediawiki: rename mnemonic to html-entity and deprecate variants 2024-01-03 21:48:34 -05:00