MediaWiki  1.29.1
GeSHi Class Reference

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. More...

Public Member Functions

 __construct ( $html)
 
 error ()
 
 parse_code ()
 
 set_language ( $language)
 

Static Public Attributes

static array $compatibleLexers
 A mapping of GeSHi lexer names to compatible Pygments lexers. More...
 

Detailed Description

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html Stub object for maintaining backward-compatibility with extensions that have not been updated for version 2.0 of SyntaxHighlight_GeSHi and for supporting GeSHi lexer names whenever they map naturally to a Pygments lexer.

Definition at line 25 of file SyntaxHighlight_GeSHi.compat.php.

Member Function Documentation

◆ __construct()

GeSHi::__construct (   $html)

Definition at line 117 of file SyntaxHighlight_GeSHi.compat.php.

References $html.

◆ error()

GeSHi::error ( )

Definition at line 121 of file SyntaxHighlight_GeSHi.compat.php.

◆ parse_code()

GeSHi::parse_code ( )

Definition at line 127 of file SyntaxHighlight_GeSHi.compat.php.

References $html, $wgOut, and global.

◆ set_language()

GeSHi::set_language (   $language)

Definition at line 124 of file SyntaxHighlight_GeSHi.compat.php.

Member Data Documentation

◆ $compatibleLexers

array GeSHi::$compatibleLexers
static

A mapping of GeSHi lexer names to compatible Pygments lexers.

Definition at line 27 of file SyntaxHighlight_GeSHi.compat.php.

Referenced by ResourceLoaderGeSHiVisualEditorModule::getScript().


The documentation for this class was generated from the following file: