mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CodeMirror
synced 2024-11-23 22:03:28 +00:00
aa391c1c77
Variables like {{{foo}}} with 3 brackets typically only appear in templates. But odd combinations of other features that also start with 3 brackets are much more common. These should not be detected as variables. 1. When something starts with 4 or more brackets it's not a variable but something else. E.g. the start of a template where the template name is a variable (2 + 3 = 5 brackets). 2. Tables can start with {{{!}}. Note this doesn't fully solve T292967 but already improves the situation a lot. Bug: T108450 Bug: T292967 Change-Id: Id5e50c2bafb35a211d4b63609126c40b32f06a64 |
||
---|---|---|
.. | ||
addon/edit | ||
dist | ||
lib | ||
mode/mediawiki | ||
modules/ve-cm | ||
.eslintrc.json | ||
ext.CodeMirror.js | ||
ext.CodeMirror.less | ||
ext.CodeMirror.v6.WikiEditor.less | ||
ext.CodeMirror.WikiEditor.js |