r93775 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r93774‎ | r93775 | r93776 >
Date:18:28, 2 August 2011
Author:reedy
Status:ok
Tags:
Comment:
More summing
Modified paths:
  • /trunk/extensions/MetricsReporting/metrics/SquidPageViewsMetric.php (modified) (history)

Diff [purge]

Index: trunk/extensions/MetricsReporting/metrics/SquidPageViewsMetric.php
@@ -46,7 +46,7 @@
4747 if ( $normalise ) {
4848 $this->queryFields = array( 'date', 'SUM(views_mobile_normalized)', 'SUM(views_non_mobile_normalized)' );
4949 } else {
50 - $this->queryFields = array( 'date', 'views_mobile_raw', 'views_non_mobile_raw' );
 50+ $this->queryFields = array( 'date', 'SUM(views_mobile_raw)', 'SUM(views_non_mobile_raw)' );
5151 }
5252 }
5353

Status & tagging log