Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
CptViraj
.
Toggle Highlighting
SQL
SELECT a.actor_name AS User, COUNT(log.log_id) AS Number of renamings, DATE_FORMAT(MAX(log.log_timestamp), '%b %d %Y %h:%i %p') AS Last action, CASE WHEN ug.ug_group IN ('steward', 'global-renamer') THEN ug.ug_group ELSE NULL END AS Role FROM actor_user a JOIN user_groups ug ON a.actor_user = ug.ug_user LEFT JOIN logging_userindex log ON log.log_actor = a.actor_id AND log.log_type = 'gblrename' GROUP BY a.actor_name, ug.ug_group HAVING COUNT(log.log_id) > 0 ORDER BY Number of renamings DESC;
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...