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 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 like "%G8%") and not (comment_text like "%XFDcloser%") -- trusting these since I know XfDCloser is coded properly and log_actor != (select actor_id from actor where actor_name="AnomieBOT III") -- I assume the bot is coded properly -- Can't validate these, so AGF-ing and not (comment_text like "[[WP:CSD#G8|G8]]: Redirect to deleted page \"%") and not (comment_text regexp "Redirect.*to a deleted or non-?existent page") and not (comment_text like "%Populated%deleted%template") and not ( ((comment_text like "%Talk page%of%deleted%page%" or comment_text like "%Deleted together with the associated page with reason%") or (log_namespace=3 and log_title like "%/sandbox") or log_title not like "%/%") and log_namespace % 2 = 1 and ( not exists (select 1 from page where page_namespace=log_namespace - 1 and page_title=log_title) or (select min(rev_timestamp) from revision join page on rev_page=page_id where page_namespace=log_namespace - 1 and page_title=log_title) > log_timestamp ) ) and not ( log_title like "%/%" and not exists (select 1 from page where page_namespace=log_namespace and page_title = SUBSTRING_INDEX(log_title,"/",1)) ) and not ( log_title regexp "ClueBot_III/((Master_)?Detailed_)?Indices/Talk:" and not exists (select 1 from page where page_namespace=1 and page_title=REGEXP_REPLACE(log_title, "ClueBot_III/((Master_)?Detailed_)?Indices/Talk:", "") ) ) and not ( log_title regexp "ClueBot_III/((Master_)?Detailed_)?Indices/User_talk:" and not exists (select 1 from page where page_namespace=3 and page_title=REGEXP_REPLACE(log_title, "ClueBot_III/((Master_)?Detailed_)?Indices/User_talk:", "") ) ) and not ( log_title regexp "ClueBot_III/((Master_)?Detailed_)?Indices/User:" and not exists (select 1 from page where page_namespace=2 and page_title=REGEXP_REPLACE(log_title, "ClueBot_III/((Master_)?Detailed_)?Indices/User:", "") ) ) 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...