Page MenuHomePhabricator

New special page to list users by highest edit count
Open, Needs TriagePublicFeature

Description

Feature summary (what you would like to be able to do and where):

  • New special page (Special:HighestEditCounts?) to list top 100 users with highest edit count

Use case(s) (list the steps that you performed to discover that problem, and describe the actual underlying problem which you want to solve. Do not describe only a solution):

  • Went to go see who has the highest edit counts on metawiki. Couldn't find a page with this info.

Benefits (why should this be implemented?):

  • Useful info. Shouldn't need a third party tool for this. SQL query would be cheap since this information is stored in a field in the user table.

Acceptance criteria

  • create new special page
    • should display username and edit count, descending by edit count
    • maybe also include a column with date of last edit, so you can see if they're active
    • usernames should be hyperlinked to their profile pages
  • make sure it shows up correctly at Special:SpecialPages (probably in the "Users and rights" section)

Event Timeline

taavi subscribed.

SQL query would be cheap since this information is stored in a field in the user table.

That column is not indexed, and filesorts are not cheap.

Thanks for the correction taavi. You're completely right. My test query timed out on Quarry. Geez that's slow.

SELECT user_name, user_editcount
FROM user
ORDER BY user_editcount DESC
LIMIT 100

Adding WHERE user_editcount > 100000 gets it down to 60 seconds.

I guess the way to go if someone were to code this would be to do a daily job queue/deferred update, and cache the results?