MediaWiki REL1_31
CodeEditor.php File Reference

Go to the source code of this file.

Variables

if(function_exists( 'wfLoadExtension')) else
 Helper to load syntax-highlighting editor for JavaScript and CSS pages on-wiki.
 

Variable Documentation

◆ else

if (function_exists('wfLoadExtension')) else
Initial value:
{
die( 'This version of the CodeEditor extension requires MediaWiki 1.25+' )

Helper to load syntax-highlighting editor for JavaScript and CSS pages on-wiki.

Extends and requires WikiEditor extension.

Extension code is GPLv2 following MediaWiki base. Ace editor JS code follows its own license, see in the 'ace' subdir. This PHP entry point is deprecated. Please use wfLoadExtension() and the extension.json file instead. See https://www.mediawiki.org/wiki/Manual:Extension_registration for more details.

Definition at line 29 of file CodeEditor.php.