Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MBS-13763: Add past year stats to the editors statistic page #3465

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

reosarevok
Copy link
Member

Implement MBS-13763

Description

We've gotten requests for "top for last year" editor stats and it seems sensible; one week is for big editing spurts only, and top of all time is basically impossible for anyone who hasn't been editing for 15 years and/or is kinda crazy in the coconut to get a good position on.

This adds top_yearly for both editing and voting. For editing, this counts only applied edits (same as yearly and unlike weekly) since a year is a long enough period that the open edits should not make that much of a difference (and if they do, they won't a week later).

Testing

Manually, plus I added a test for each to Data::Statistics (basically copying the existing ones and fiddling a bit with the edit dates/values).

We've gotten requests for "top for last year" and it seems sensible;
one week is for big editing spurts only, and top of all time is basically
impossible for anyone who hasn't been editing for 15 years and/or
is kinda crazy in the coconut to get a good position on.

This adds top_yearly for both editing and voting. For editing, this counts
only applied edits (same as yearly and unlike weekly) since a year is
a long enough period that the open edits should not make that much
of a difference (and if they do, they won't a week later).
@reosarevok reosarevok added the QoL Non-urgent quality of life improvements label Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
QoL Non-urgent quality of life improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant