Last modified: 2014-02-28 20:41:51 UTC
It's horribly inefficient to rebuild the reporting from individual contributions. It's also pointless to ever rebuild in real-time (triggered by expired cache). Instead, I propose aggregating from a cron job, or in the db trigger -- a trigger on public_reporting could update public_reporting_days, along these lines: new_total = cur_total + amount; new_number = cur_number + 1; new_average = (cur_average * cur_number + amount) / new_number;
[[mw:Extension:ContributionReporting]] has not been maintained for a while and has been superseded in Wikimedia Foundation by http://frdata.wikimedia.org/ It is currently unlikely that there will be any further active development of ContributionReporting. Closing this report as WONTFIX to reflect reality. Please feel free to reopen this report in the future if anyone takes the responsibility for active development of ContributionReporting again.