r63800 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r63799‎ | r63800 | r63801 >
Date:05:02, 16 March 2010
Author:dale
Status:deferred
Tags:
Comment:
restored debug line removal in scriptLoader output
Modified paths:
  • /branches/js2-work/phase3/js/mwEmbed/jsScriptLoader.php (modified) (history)

Diff [purge]

Index: branches/js2-work/phase3/js/mwEmbed/jsScriptLoader.php
@@ -622,7 +622,7 @@
623623
624624 // Strip out mw.log debug lines (if not in debug mode)
625625 if( !$this->debug ){
626 - //$str = preg_replace('/\n\s*mw\.log\(([^\)]*\))*\s*[\;\n]/U', "\n", $str);
 626+ $str = preg_replace('/\n\s*mw\.log\(([^\)]*\))*\s*[\;\n]/U', "\n", $str);
627627 }
628628
629629 // Do language swap by index:

Status & tagging log