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
Uhai
.
Within the past month and only in the main, user, and draft namespaces. To do: -Show when page was last deleted -Include who the creator is (for easy COI/promo detection) -Add last rev date (for re-creations that are harmless but then later have problematic content added) -Also show if page has been G5'd or if a previous creator is blocked
Toggle Highlighting
SQL
WITH sock_template AS ( SELECT tl.tl_from FROM enwiki_p.templatelinks tl WHERE tl.tl_target_id IN (32197, 277052, 282063, 115252, 1968835) ) SELECT DISTINCT CONCAT('https://en.wikipedia.org/wiki/', CASE WHEN rc.rc_namespace = 2 THEN 'User:' WHEN rc.rc_namespace = 118 THEN 'Draft:' ELSE '' END, rc.rc_title) AS 'Page', TIMESTAMP(rc.rc_timestamp) AS 'Re-created at' FROM enwiki_p.recentchanges_userindex rc INNER JOIN enwiki_p.logging_logindex l ON l.log_type = 'delete' AND l.log_action = 'delete' AND rc.rc_title = l.log_title AND rc.rc_namespace = l.log_namespace INNER JOIN enwiki_p.comment_logging c ON c.comment_id = l.log_comment_id INNER JOIN enwiki_p.page p ON rc.rc_cur_id = p.page_id AND rc.rc_namespace = p.page_namespace AND NOT p.page_is_redirect WHERE rc.rc_new = 1 AND rc.rc_namespace IN (0, 2, 118) AND (c.comment_text LIKE '[[WP:CSD#U5%' OR c.comment_text LIKE '[[WP:CSD#G11%') AND rc.rc_cur_id NOT IN (SELECT st.tl_from FROM sock_template st) ORDER BY rc.rc_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...