SQL
AخA
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 rlike "G1[^0123]" or comment_text like "%G2%") and log_namespace=2) -- G1 and G2 don't apply to userspace
or ((comment_text rlike "WP:(CSD#)?A[^F]" and log_namespace != 0)
) 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.