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
Thparkth
.
Toggle Highlighting
SQL
/* previously_deleted_prods.sql Identify articles currently proposed for deletion which have actually been deleted in the past. Author: Andrew Crawford (thparkth) <acrawford@laetabilis.com> License: Public Domain */ use enwiki_p; SELECT page_title, COUNT(log_timestamp) AS times_deleted, min(log_timestamp) AS first_deletion, max(log_timestamp) AS last_deletion FROM page JOIN logging_logindex ON log_page=page_id JOIN categorylinks ON cl_from=page_id AND cl_to="All_articles_proposed_for_deletion" WHERE log_type="delete" AND log_namespace=0 AND log_action="delete" GROUP BY page_title LIMIT 500 ;
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...