Skip to content

Commit

Permalink
Enable CodeMirror v6
Browse files Browse the repository at this point in the history
  • Loading branch information
alistair3149 committed Jan 4, 2025
1 parent 21b9dd0 commit 2e972e9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/LocalSettings.php
Original file line number Diff line number Diff line change
Expand Up @@ -689,6 +689,11 @@
*
* @see https://github.com/wikimedia/mediawiki-extensions-CodeMirror
*/
$wgCodeMirrorV6 = true;
$wgCodeMirrorLineNumberingNamespaces = [
NS_TEMPLATE,
NS_MODULE
];
// Enable syntax highlight in editor by default
$wgDefaultUserOptions['usecodemirror'] = 1;

Expand Down

0 comments on commit 2e972e9

Please sign in to comment.