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
Pppery
.
Toggle Highlighting
SQL
/*select log_namespace, log_title, comment_text, log_timestamp from logging_logindex join comment_logging on comment_id=log_comment_id where log_type="delete" and log_action="delete" and (comment_text like "%G6%" and comment_text not regexp ".*\\[\\[WP:CSD#(?!G6).*" and comment_text not regexp "[Tt]his temporary maintenance category is ready for deletion" and comment_text not like "%Deleted to make way for move" and comment_text not like "%Obviously created in error" and comment_text not regexp -- These really aren't G6's "^\\[\\[WP:(CSD#)?G6\\|G6]]: \\[\\[Wikipedia:((Articles|Miscellany)[ _]for[ _]deletion|(Files|Templates|Categories|Redirects)[ _]for[_ ]discussion).*" ) and log_timestamp like "2022%" order by log_timestamp desc;*/ select replace(concat("[[:{{subst:ns:",log_namespace,"}}:",replace(log_title,"_"," "),"]]"),":{{subst:ns:0}}",":") as 'Page', (select actor_name from actor_logging where actor_id=log_actor) as "Deleting admin", comment_text as "Edit summary", log_timestamp as "Timestamp" from logging_logindex join comment_logging on comment_id=log_comment_id where log_type="delete" and log_action="delete" and (comment_text not like "[[WP:CSD#%" and comment_text not regexp "^\\[\\[WP:[GARFCU][0-9]{1,2}.*" and comment_text not regexp "^\\[\\[Wikipedia:((Articles|Miscellany)[ _]for[ _]deletion|(Files|Templates|Categories|Redirects)[ _]for[ _]discussion).*" and comment_text not like "Expired [[WP:PROD|PROD]]%" and comment_text not like "Multiple reasons: speedy deletion criteria%" and comment_text not like "This file is now on Wikimedia Commons at%" and comment_text not like "Listed at [[Wikipedia:Copyright problems]] for over seven days%" and comment_text != "Expired [[WP:BLPPROD|BLPPROD]], unsourced [[WP:BLP|BLP]]" and comment_text not regexp ".*[Gg]5.*" -- for whatever reason sock deletions tend to use odd formats, so exclude them ) and (log_timestamp like "2022%") order by log_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...