r90382 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r90381‎ | r90382 | r90383 >
Date:04:51, 19 June 2011
Author:aaron
Status:ok
Tags:
Comment:
Fixed r90379: store the unix TS (field is an int)
Modified paths:
  • /trunk/extensions/FlaggedRevs/dataclasses/FlaggedRevsStats.php (modified) (history)

Diff [purge]

Index: trunk/extensions/FlaggedRevs/dataclasses/FlaggedRevsStats.php
@@ -98,11 +98,11 @@
9999 $dataSet = array();
100100 $dataSet[] = array(
101101 'frs_stat_key' => 'reviewLag-sampleStartTimestamp',
102 - 'frs_stat_val' => wfTimestamp( TS_MW, $reviewData['sampleStartTS'] ),
 102+ 'frs_stat_val' => $reviewData['sampleStartTS'], // unix
103103 'frs_timestamp' => $encDataTimestamp );
104104 $dataSet[] = array(
105105 'frs_stat_key' => 'reviewLag-sampleEndTimestamp',
106 - 'frs_stat_val' => wfTimestamp( TS_MW, $reviewData['sampleEndTS'] ),
 106+ 'frs_stat_val' => $reviewData['sampleEndTS'], // unix
107107 'frs_timestamp' => $encDataTimestamp );
108108 // All-namespace percentiles...
109109 foreach( $rPerTable as $percentile => $seconds ) {

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r90379Track review lag sample start/end timestampsaaron01:04, 19 June 2011

Status & tagging log