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
Polygnotus
.
Toggle Highlighting
SQL
SELECT p.page_title AS draft_title, l.log_timestamp AS deletion_timestamp, c.comment_text AS deletion_comment FROM page p JOIN logging_userindex l ON REPLACE(p.page_title, 'Draft:', '') = l.log_title LEFT JOIN comment_logging c ON c.comment_id = l.log_comment_id WHERE p.page_namespace = 118 -- Draft namespace AND l.log_type = 'delete' AND l.log_action = 'delete' AND l.log_namespace = 0 -- Main namespace AND p.page_is_redirect = 0 ORDER BY l.log_timestamp DESC LIMIT 5;
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...