r56796 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56795‎ | r56796 | r56797 >
Date:00:57, 23 September 2009
Author:aaron
Status:ok
Tags:
Comment:
tweaked 'high' filter
Modified paths:
  • /trunk/extensions/ReaderFeedback/specialpages/RatedPages_body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ReaderFeedback/specialpages/RatedPages_body.php
@@ -120,9 +120,9 @@
121121 $conds['page_namespace'] = $this->namespace;
122122 // Has to be good/crappy enough
123123 switch( $this->tier ) {
124 - case 3: $conds[] = "rfp_ave_val > 3.5"; break;
 124+ case 3: $conds[] = "rfp_ave_val > 3"; break;
125125 case 1: $conds[] = "rfp_ave_val < 2"; break;
126 - default: $conds[] = "rfp_ave_val >= 2 AND rfp_ave_val <= 3.5"; break;
 126+ default: $conds[] = "rfp_ave_val >= 2 AND rfp_ave_val <= 3"; break;
127127 }
128128 // Reasonable samples only
129129 $conds[] = 'rfp_count >= '.ReaderFeedback::getFeedbackSize();

Status & tagging log