Index: trunk/extensions/FlaggedRevs/maintenance/updateStats.inc |
— | — | @@ -245,11 +245,10 @@ |
246 | 246 | $rank = round( count($times)/2 + .5 ) - 1; |
247 | 247 | $medianRT = $times[$rank]; |
248 | 248 | // Make percentile tabulation data |
249 | | - $percentile = 35; // start at 35th |
250 | | - while ( $percentile < 100 ) { |
| 249 | + $doPercentiles = array( 35, 45, 55, 65, 75, 85, 90, 95 ); |
| 250 | + foreach ( $doPercentiles as $percentile ) { |
251 | 251 | $rank = round( $percentile*count($times)/100 + .5 ) - 1; |
252 | 252 | $rPerTable[$percentile] = $times[$rank]; |
253 | | - $percentile += 10; |
254 | 253 | } |
255 | 254 | echo "(sampled ".count($times)." edits)..."; |
256 | 255 | } |