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
Þjarkur
.
Toggle Highlighting
SQL
/* Find draftifications of old articles */ SELECT log_params FROM logging JOIN page ON logging.log_title = page.page_title AND page.page_namespace = 118 JOIN ( SELECT rev_page, MIN(rev_timestamp) as page_created_at FROM revision GROUP BY rev_page ) AS rev ON rev.rev_page = page.page_id WHERE logging.log_type = 'move' AND logging.log_namespace = 0 AND page.page_is_redirect = 0 AND log_params LIKE '%Draft:%' AND rev.page_created_at < 20190700000000 ORDER BY logging.log_timestamp DESC LIMIT 100;
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...