|
IMO we should probably just store these in the statistic table and compute them daily like the others, since editor IDs are also numbers; graphing the stat would end up looking very silly, but that's okay given we don't need to add it to the main graph. Hmm, how would we record the statistic? It would have to be stat.editor.top.$editor_id = $edit_count, which is a bit... weird. Whatcha think? I'd say you'd need two stats per line: one that's for, say edit.editor.top.overall.$rank = $editor_id and one for count.edit.editor.top.overall.$rank = $edit_count. Then you'd fetch all stats, pull out edit.editor.top.overall.([0-9]+) mapped to count.edit.editor.top.overall.$1 and order by $1. Repeat for vote.editor.top.overall.$rank and whatever else. Hence my comment about editor IDs just being integers – we can store them in the 'value' end of the equation, not just in the name. If we don't want to preserve history, we can set up some sort of overwrite and set them all to some dummy date, but just doing them as normal stats seems saner to me. Moving to the next release as we're in freeze now. Moving to next fix version, freeze is today and nobody seems to be working on this. |
||||||||||||||||||||||||||||||||||||||||||||||||||
I've created this in 2012-09-03 as it's somewhat of a regression/incomplete new feature.