r24177 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24176‎ | r24177 | r24178 >
Date:20:01, 16 July 2007
Author:simetrical
Status:old
Tags:
Comment:
Whoops, reversed inequality. Forgot to check whether this is being run *too* often.
Modified paths:
  • /trunk/phase3/includes/SiteStats.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SiteStats.php
@@ -118,9 +118,9 @@
119119 private static function isSane( $row ) {
120120 if(
121121 $row === false
122 - or $row->ss_good_articles < $row->ss_total_pages
123 - or $row->ss_total_edits < $row->ss_total_pages
124 - or $row->ss_users < $row->ss_admins
 122+ or $row->ss_total_pages < $row->ss_good_articles
 123+ or $row->ss_total_edits < $row->ss_total_pages
 124+ or $row->ss_users < $row->ss_admins
125125 ) {
126126 return false;
127127 }

Follow-up revisions

RevisionCommit summaryAuthorDate
r24215Merged revisions 24095-24212 via svnmerge from...david21:19, 17 July 2007

Status & tagging log