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
Gerges
.
Toggle Highlighting
SQL
SELECT page.page_id, MIN(revision_userindex.rev_id) AS rev_undo, MIN(revision_userindex.rev_parent_id) AS rev_undoafter FROM revision_userindex INNER JOIN actor ON actor.actor_id = revision_userindex.rev_actor INNER JOIN page ON page.page_id = revision_userindex.rev_page LEFT JOIN change_tag ON change_tag.ct_rev_id = revision_userindex.rev_id LEFT JOIN change_tag_def ON change_tag_def.ctd_id = change_tag.ct_tag_id WHERE actor.actor_name = 'GergesBot' AND (change_tag_def.ctd_name IS NULL OR change_tag_def.ctd_name != 'mw-reverted') AND revision_userindex.rev_parent_id != 0 AND revision_userindex.rev_id <= 64170813 AND revision_userindex.rev_id >= 64170960 GROUP BY page.page_id;
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...