This query is marked as a draft This query has been published by Pppery.

SQL

AخA
 
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)[GARFCU][0-9]{1,2}[|\\]].*"
   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).*"
   -- Exclude empty dated maintenace categories
   and log_title not regexp ".*_from_(January|February|March|April|May|June|July|August|September|October|November|December)_([0-9]{1,2}_)?20[012][0-9]"
   and log_title not like "ClueBot_III/Detailed_Indices%"
  )
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.
All SQL code is licensed under CC0 License.

Checking query status...