'basic', 'thinbasic' => 'basic', 'sdlbasic' => 'basic', 'purebasic' => 'basic', 'mapbasic' => 'basic', 'locobasic' => 'basic', 'gwbasic' => 'basic', 'freebasic' => 'basic', 'basic4gl' => 'basic', 'zxbasic' => 'basic', 'gambas' => 'basic', 'oobas' => 'basic', 'bascomavr' => 'basic', // C / C++ 'c_loadrunner' => 'c', 'c_mac' => 'c', 'c_winapi' => 'c', 'upc' => 'c', 'cpp-qt' => 'cpp', 'cpp-winapi' => 'cpp', 'urbi' => 'cpp', // HTML 'html4strict' => 'html', 'html5' => 'html', // JavaScript 'jquery' => 'javascript', 'ecmascript' => 'javascript', // Microsoft 'vb' => 'vbnet', 'asp' => 'aspx-vb', 'visualfoxpro' => 'foxpro', 'dos' => 'bat', 'visualprolog' => 'prolog', 'reg' => 'registry', // Miscellaneous 'cadlisp' => 'lisp', 'arm' => 'asm', 'j' => 'objj', 'java5' => 'java', 'php-brief' => 'php', 'povray' => 'pov', 'pys60' => 'python', 'rails' => 'ruby', 'rpmspec' => 'spec', 'rsplus' => 'splus', 'bnf' => 'ebnf', // ML 'ocaml-brief' => 'ocaml', 'standardml' => 'sml', // Modula 2 'modula3' => 'modula2', 'oberon2' => 'modula2', // SQL 'tsql' => 'sql', 'plsql' => 'sql', 'oracle11' => 'sql', 'oracle8' => 'sql', // REXX 'oorexx' => 'rexx', 'netrexx' => 'rexx', // xpp is basically Java 'xpp' => 'java', // bibtex is basically LaTeX 'bibtex' => 'latex', ); public function __construct( $html ) { $this->html = $html; } public function error() { } public function set_language( $language ) { } public function parse_code() { global $wgOut; $wgOut->addModuleStyles( 'ext.pygments' ); return $this->html; } }