https://bugzilla.wikimedia.org/show_bug.cgi?id=46249
--- Comment #11 from Stas Fomin <stas-fo...@yandex.ru> --- * MediaWiki 1.8 (but it is not important) * Latest SyntaxHighlight_GeSHi (from master branch, but all branches have same problem) --------------- $wgSyntaxHighlightModels = array( CONTENT_MODEL_CSS => 'css', CONTENT_MODEL_JAVASCRIPT => 'javascript', ); --------------- PHP sees this syntax, but it throws an E_NOTICE, * which has some performance overhead. * writes a lot of spam in the log (or spam in console, if we run maintenance scripts, or even spam in HTML output if we debugging and "display_errors = On" in php.ini). And it is not OK, see "Why is $foo[bar] wrong?" in official PHP documentation http://php.net/manual/en/language.types.array.php -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l