r85576 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r85575‎ | r85576 | r85577 >
Date:21:23, 6 April 2011
Author:tparscal
Status:ok
Tags:
Comment:
Removed some code that was left over from experimenting with the countall parameter. This is important to r85575
Modified paths:
  • /trunk/extensions/ArticleFeedback/api/ApiQueryArticleFeedback.php (modified) (history)

Diff [purge]

Index: trunk/extensions/ArticleFeedback/api/ApiQueryArticleFeedback.php
@@ -48,7 +48,7 @@
4949 'total' => (int) $row->aap_total,
5050 'count' => (int) $row->aap_count,
5151 'countall' => isset( $historicCounts[$row->aap_rating_id] )
52 - ? $historicCounts[$row->aap_rating_id] + 100 : 0
 52+ ? $historicCounts[$row->aap_rating_id] : 0
5353 );
5454 }
5555

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r85575Added historic count, the total number of ratings, expired or not. Also added...tparscal21:21, 6 April 2011

Status & tagging log