CodeEditor

The CodeEditor extension extends the WikiEditor advanced editing toolbar [1] with an embedded Ace editor widget [2] , providing some handy features for user/site JS, CSS pages, and when Extension:Scribunto [3] is also installed, for pages in 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

Currently the extension is under development, and details of activation and functionality are subject to change.

CodeEditor
Syntax-highlighted editing for JavaScript and CSS pages using Ace editor
Status: stable
Developer: Brion Vibber, Derk-Jan Hartmann, and others
Extension type: MediaWiki
Edition: BlueSpice
Dependencies: MediaWiki
License: GPL v2+ and BSD 3 Clause
Activated: Yes
Category: Editor
Documentation on MediaWiki.org

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).

For more information please visit MediaWiki.

Attachments

Discussions