Last edited one year ago
by MLR


Extension: CodeEditor

all extensions

Description: Syntax-highlighted editing for JavaScript and CSS pages using Ace editor
State: stable Dependency: MediaWiki
Developer: Brion Vibber, Derk-Jan Hartmann, and others License: GPL v2+ and BSD 3 Clause
Type: MediaWiki Category: Editor
Edition: BlueSpice free, BlueSpice pro, BlueSpice Farm, BlueSpice Cloud Version: 4.1+
For more info, visit Mediawiki.

The CodeEditor extension extends the WikiEditor advanced editing toolbar with an embedded Ace editor widget, providing some handy features for user/site JS, CSS pages, and — when Extension:Scribunto is also installed — for pages in the Module namespace:

  • syntax highlighting for JavaScript, CSS and Lua
  • auto-indent
  • tab key produces tab indents (since 1.22), soft indents before.
  • indent/unindent selection with tab/shift-tab
  • syntax validity check for JavaScript
  • Pair-matching for parenthesis, braces and square brackets

While this extension is licensed GNU General Public License v2.0 or later (GPL-2.0+) it makes use of the Ace editor software which is licensed BSD 3-clause "New" or "Revised" License (BSD-3-Clause).