Page MenuHomePhabricator

implement cratstats
Closed, DeclinedPublic

Description

Originally reported at: https://github.com/x-tools/xtools-legacy/issues/56

As you already have adminstats I don't imagine cratstats would be very hard to implement :)

Event Timeline

Not sure what this would entail... at least on enwiki, 'crats only differ from admins in their ability to modify certain user groups (admin and bot, to be exact). We are already reporting user rights changes. We could somehow denote how many admin/bot rights changes a 'crat has made, but a separate "cratstats" tool I don't believe would be worthwhile.

Matthewrbowker moved this task from Backlog to Working on the XTools board.

Not sure what this would entail... at least on enwiki, 'crats only differ from admins in their ability to modify certain user groups (admin and bot, to be exact). We are already reporting user rights changes. We could somehow denote how many admin/bot rights changes a 'crat has made, but a separate "cratstats" tool I don't believe would be worthwhile.

Indeed. It wouldn't be hard to roll this into adminstats, by looking for sysop and bot right changes...

Indeed. It wouldn't be hard to roll this into adminstats, by looking for sysop and bot right changes...

This could vary by wiki, depending on how it is set up. I'm guessing this is consistent in the WMF wikifarm but I'm not sure.

In it's current fashion, "adminstats" is a bit a misnomer anyway, since we merely checking for specific log actions that are deemed to be admin-like. Checking for what was changed with those log actions will obviously slow it down.

If anything, I would suggest making a separate tool that is like adminstats but only lists the different types of user rights changes. "User rights stats", or something. That would be portable with other MediaWiki installations, whereby you'd first find all users who are able to modify user groups, fetch all of these changes, and the columns shown would be whatever unique user groups were modified.

Matthewrbowker moved this task from Working to General / other on the XTools board.

Holding off, pending further discussion.

MusikAnimal moved this task from Admin Stats to Complete on the XTools board.

I think this was more relevant back in the day when only 'crats could do renames. Today on most wikis the only technical ability is to assign certain rights. Admin Stats works by checking the "type" and "action" of log entries, and the new implementation to be released soon builds these queries dynamically. Basically, it would be difficult to filter by rights changes that only 'crats can perform. Not to mention it differs by wiki, and I don't believe there's an API to easily get this information. Overall, the cost/benefit isn't worth it. We will include renames as part of T185274 so you could use the upcoming Steward Stats to get historical data on the most active 'crats.