Community Wishlist Survey 2022/Miscellaneous/Show edit count at Special:Contributions

Show edit count at Special:Contributions

  • Problem: Edit counts are hard to determine unless you know about external tools and user scripts that show this information, or if you explicitly state how many edits you have on your userpage. Attempting to paginate through a user's contributions to count their edits can take a very long time if they have a very high edit count.
  • Proposed solution: Show a user's edit count at Special:Contributions, similar to how it is done on mobile web.
  • Who would benefit: An editor's edit count can be an indicator of how experienced they are. If somebody who recently edited the page had only 50 edits, an editor would be sure to review the edit with caution, because newer editors will generally mess up more often than experienced editors with 150,000+ contributions. Edit counts can also helpfully determine what kind of editor a person is (e.g. whether an editor edits to add more information to the site, or is a wiki gnome who fixes spelling errors and formatting).
  • More comments:
  • Phabricator tickets: T324166
  • Proposer: MrMeAndMrMe (talk) 19:13, 10 January 2022 (UTC)


  • Just add this to your global.js and have a look at someone's user page afterwards: mw.loader.load(''); – The currently easiest built-in way involving no custom scripts is to open Special:CentralAuth/Username and to sort the table by "edit count". ToBeFree (talk) 19:17, 10 January 2022 (UTC)
    Thank you for that link. However, I would think that it would be easier for it to be a built-in function instead of that MrMeAndMrMe (talk) 19:24, 10 January 2022 (UTC)
    A reasonable wish. And with MusikAnimal (WMF)'s statement below, one I'll support. ToBeFree (talk) 19:37, 10 January 2022 (UTC)
    This is a reasonable wish, and I think it should be implemented in all installations of MediaWiki. In Wikimedia, we have XTools for viewing the others' edit count, but in wikis with no CentralAuth and XTools like other installations, we can't see others' edit count easily. Thingofme (talk) 02:51, 16 January 2022 (UTC)
  • FYI phab:T32353, phab:T213110, phab:T278506 (and likely many others) have been repeatedly declined due to claimed problems with caching. — xaosflux Talk 19:25, 10 January 2022 (UTC)
    Those asked for a magic word to be used in wikitext, which needs to be cacheable. MobileFrontend puts it at Special:Contribs which is not cached in the same way, and we could definitely do the same in native MediaWiki. Showing the system edit count is super cheap too, so I think this proposal is very doable, it would just need minimal design input. MusikAnimal (WMF) (talk) 19:30, 10 January 2022 (UTC)
    And it is readily available via the API (example for OP). — xaosflux Talk 19:33, 10 January 2022 (UTC)
  • That's a good suggestion. It does seem to take a long time (and sometimes X-tool can't see it) when looking at records with a large number of posts, such as Bot. Also, on a related note, I would like to suggest that the difference between registered users and IPs be removed for the following points.
    In Special:CentralAuth, you can see the registration and permission status for each project, but IPs cannot see the number of posts made.
    X-tool allows you to see the number of submissions, but there are no links to other projects, so you have to search for each one from the search screen.
    -- 03:18, 20 January 2022 (UTC)
    Viewing CentralAuth's contribution counter is not restricted to logged-in users. ToBeFree (talk) 22:45, 29 January 2022 (UTC)
    Why we can't easily view the number of IP edits? We can use a special page like Special:GlobalContributions/(the IP address) to do this. Thingofme (talk) 01:39, 31 January 2022 (UTC)
    IP edit counts most likely won't happen in production, for performance reasons. XTools counts the actual number of revisions, what you might consider more exacting, and that's why it's slower. MediaWiki's "system" edit count is a running tally that is incremented on every edit, meaning we can query for it very quickly. However it is only applied to registered users (who have a row in the user table), and what constitutes an edit has changed over time, which is why it could be considered approximate. More info at mw:Special:MyLanguage/XTools/Edit Counter#Edit counts. MusikAnimal (WMF) (talk) 00:17, 9 February 2022 (UTC)
It would be better also if the edit count of a user is visible on diffs, so if the editor edited an article, we may wish to see his edit on diffs and if edit count of that user is there, it's easy to identify if the user has enough experience in editing. Just in the mobile version. Ctrlwiki (talk) 06:33, 11 February 2022 (UTC)