r84253 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r84252‎ | r84253 | r84254 >
Date:18:12, 18 March 2011
Author:kaldari
Status:deferred
Tags:
Comment:
fixing logger
Modified paths:
  • /trunk/extensions/UploadWizard/resources/mw.Log.js (modified) (history)

Diff [purge]

Index: trunk/extensions/UploadWizard/resources/mw.Log.js
@@ -56,7 +56,7 @@
5757 // don't show log message if lower priority than mw.log.level
5858 if ( priority[ mw.log.level ] > priority[ level ] ) {
5959 return;
60 - }
 60+ }
6161
6262 if ( typeof window.console !== 'undefined' && typeof window.console.log === 'function' ) {
6363 window.console.log( s );
@@ -89,7 +89,7 @@
9090 'font-family': 'monospace',
9191 'padding': '0.125em 0.25em'
9292 } )
93 - .text( string )
 93+ .text( s )
9494 .append( '<span style="float:right">[' + time + ']</span>' )
9595 );
9696 }

Status & tagging log