From a1789ddde42033f1b05cc4929491214ee6e79383 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 17 Dec 2015 09:15:42 +0100 Subject: Update to MediaWiki 1.26.0 --- .../geshi/geshi/javascript.php | 172 --------------------- 1 file changed, 172 deletions(-) delete mode 100644 extensions/SyntaxHighlight_GeSHi/geshi/geshi/javascript.php (limited to 'extensions/SyntaxHighlight_GeSHi/geshi/geshi/javascript.php') diff --git a/extensions/SyntaxHighlight_GeSHi/geshi/geshi/javascript.php b/extensions/SyntaxHighlight_GeSHi/geshi/geshi/javascript.php deleted file mode 100644 index 439b7a9b..00000000 --- a/extensions/SyntaxHighlight_GeSHi/geshi/geshi/javascript.php +++ /dev/null @@ -1,172 +0,0 @@ - 'Javascript', - 'COMMENT_SINGLE' => array(1 => '//'), - 'COMMENT_MULTI' => array('/*' => '*/'), - 'COMMENT_REGEXP' => array( - //Regular Expressions - 2 => "/(?<=[\\s^])(s|tr|y)\\/(?!\*)(?!\s)(?:\\\\.|(?!\n)[^\\/\\\\])+(? GESHI_CAPS_NO_CHANGE, - 'QUOTEMARKS' => array("'", '"'), - 'ESCAPE_CHAR' => '\\', - 'KEYWORDS' => array( - 1 => array( - //reserved/keywords; also some non-reserved keywords - 'break','case','catch','const','continue', - 'default','delete','do', - 'else', - 'finally','for','function', - 'get','goto', - 'if','in','instanceof', - 'new', - 'prototype', - 'return', - 'set','static','switch', - 'this','throw','try','typeof', - 'var','void' - ), - 2 => array( - //reserved/non-keywords; metaconstants - 'false','null','true','undefined','NaN','Infinity' - ), - 3 => array( - //magic properties/functions - '__proto__','__defineGetter__','__defineSetter__','hasOwnProperty','hasProperty' - ), - 4 => array( - //type constructors - 'Object', 'Function', 'Date', 'Math', 'String', 'Number', 'Boolean', 'Array' - ), - 5 => array( - //reserved, but invalid in language - 'abstract','boolean','byte','char','class','debugger','double','enum','export','extends', - 'final','float','implements','import','int','interface','long','native', - 'short','super','synchronized','throws','transient','volatile' - ), - ), - 'SYMBOLS' => array( - '(', ')', '[', ']', '{', '}', - '+', '-', '*', '/', '%', - '!', '@', '&', '|', '^', - '<', '>', '=', - ',', ';', '?', ':' - ), - 'CASE_SENSITIVE' => array( - GESHI_COMMENTS => false, - 1 => true, - 2 => true, - 3 => true, - 4 => true, - 5 => true - ), - 'STYLES' => array( - 'KEYWORDS' => array( - 1 => 'color: #000066; font-weight: bold;', - 2 => 'color: #003366; font-weight: bold;', - 3 => 'color: #000066;', - 5 => 'color: #FF0000;' - ), - 'COMMENTS' => array( - 1 => 'color: #006600; font-style: italic;', - 2 => 'color: #009966; font-style: italic;', - 'MULTI' => 'color: #006600; font-style: italic;' - ), - 'ESCAPE_CHAR' => array( - 0 => 'color: #000099; font-weight: bold;' - ), - 'BRACKETS' => array( - 0 => 'color: #009900;' - ), - 'STRINGS' => array( - 0 => 'color: #3366CC;' - ), - 'NUMBERS' => array( - 0 => 'color: #CC0000;' - ), - 'METHODS' => array( - 1 => 'color: #660066;' - ), - 'SYMBOLS' => array( - 0 => 'color: #339933;' - ), - 'REGEXPS' => array( - ), - 'SCRIPT' => array( - 0 => '', - 1 => '', - 2 => '', - 3 => '' - ) - ), - 'URLS' => array( - 1 => '', - 2 => '', - 3 => '', - 4 => '', - 5 => '' - ), - 'OOLANG' => true, - 'OBJECT_SPLITTERS' => array( - 1 => '.' - ), - 'REGEXPS' => array( - ), - 'STRICT_MODE_APPLIES' => GESHI_MAYBE, - 'SCRIPT_DELIMITERS' => array( - 0 => array( - '' - ), - 1 => array( - '' - ) - ), - 'HIGHLIGHT_STRICT_BLOCK' => array( - 0 => true, - 1 => true - ) -); -- cgit v1.2.2