mediawiki-extensions-CodeMi.../resources/modules/ve-cm
Adam Wight ed2f9944ea Enable line numbering only on configured namespaces
Introduces a new config variable `CodeMirrorLineNumberingNamespaces`
that can restrict line numbering to only appear for specified
namespaces.  Setting to null enables everywhere.

This takes some liberties with the `lib` module, turning it into a
container for shared functionality.  This can be pursued in later
work, by cleaning up duplicated code in this repo.

FIXME: failed to deduplicate the code for now.

Bug: T267911
Change-Id: Ida2b33eef38edc57d29756ec472c6f2c83bd7b11
2021-04-12 12:05:14 +02:00
..
.eslintrc.json Remove obsolete aliases from closures 2018-11-12 13:19:41 +00:00
ve.ui.CodeMirror.init.js VE: Add explicit dependency on targetLoader 2020-06-30 22:47:41 +01:00
ve.ui.CodeMirror.init.less Reposition line numbering to be flush with the title 2021-04-08 13:22:10 +02:00
ve.ui.CodeMirrorAction.js Enable line numbering only on configured namespaces 2021-04-12 12:05:14 +02:00
ve.ui.CodeMirrorTool.js Clean-up: inline array merge 2021-02-01 13:24:05 +01:00