r72004 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r72003‎ | r72004 | r72005 >
Date:01:21, 31 August 2010
Author:reedy
Status:deferred
Tags:
Comment:
Followup r72002, only multiply "limit" for the sql,
Modified paths:
  • /trunk/extensions/ArticleAssessmentPilot/api/ApiListArticleAssessment.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleAssessmentPilot/api/ApiListArticleAssessment.php
@@ -49,8 +49,8 @@
5050 }
5151 }
5252
53 - $limit = $params['limit'] * 4; //4 "Ratings"
54 - $this->addOption( 'LIMIT', $limit );
 53+ $limit = $params['limit'];
 54+ $this->addOption( 'LIMIT', $limit * 4 ); //4 "Ratings"
5555
5656 $res = $this->select( __METHOD__ );
5757

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r72002Implement limiting, no continue. Should be no "need" for it at this point? Tr...reedy01:10, 31 August 2010

Status & tagging log