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
Chlod
.
Get the deleted revisions for a user. You can combine this with the delete/revision action to find the reason behind deletion.
Toggle Highlighting
SQL
SELECT *, (CAST(`main`.`rev_len` AS SIGNED) - CAST(`parent`.`rev_len` AS SIGNED)) AS "diff" FROM `revision_userindex` AS `main` LEFT JOIN `revision_userindex` AS `parent` ON `parent`.`rev_id` = `main`.`rev_parent_id` LEFT JOIN `comment_revision` ON `main`.`rev_comment_id` = `comment_id` RIGHT JOIN `page` ON `main`.`rev_page` = `page_id` WHERE `main`.`rev_actor` = (SELECT `actor_id` FROM `actor_revision` WHERE `actor_name` = "Chlod") AND `main`.`rev_deleted` ORDER BY `main`.`rev_timestamp` 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...