r84282 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r84281‎ | r84282 | r84283 >
Date:22:54, 18 March 2011
Author:neilk
Status:deferred
Tags:
Comment:
got the direction of this inequality wrong
Modified paths:
  • /trunk/extensions/UploadWizard/resources/mw.Log.js (modified) (history)

Diff [purge]

Index: trunk/extensions/UploadWizard/resources/mw.Log.js
@@ -31,7 +31,7 @@
3232 fatal: 10,
3333 warn: 20,
3434 info: 30,
35 - debug: 100,
 35+ debug: 100
3636 };
3737
3838 /**
@@ -54,7 +54,7 @@
5555 }
5656
5757 // don't show log message if lower priority than mw.log.level
58 - if ( priority[ mw.log.level ] > priority[ level ] ) {
 58+ if ( priority[ mw.log.level ] <= priority[ level ] ) {
5959 return;
6060 }
6161

Status & tagging log