Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Latest revisions that are a "revert with tools"
by
Xinbenlv
This query is marked as a draft
This query has been published
by
Xinbenlv
.
[broken]What are the latest 10 thanks and their relevant page and revisions?
Toggle Highlighting
SQL
# schema: https://www.mediawiki.org/w/index.php?title=Manual:Database_layout/diagram&action=render # SELECT * FROM change_tag_def LIMIT 1000; # revert with tools # 1, 8, 32, mw-undo, mw-rollback, rapid reverts # 7, 63: huggle, stiki, AWB SELECT COUNT(*) as count, rev_actor, actor_name as user FROM change_tag INNER JOIN revision ON ct_rev_id=rev_id INNER JOIN logging ON ct_log_id=log_id LEFT JOIN page on rev_page = page_id LEFT JOIN actor on rev_actor = actor_id LEFT JOIN change_tag_def ON ct_tag_id = ctd_id WHERE ct_tag_id IN (1,7,8,32,63) GROUP BY rev_actor ORDER BY count DESC LIMIT 10;
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...