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
KylieTastic
.
As you can no longer see deleted article comments, for those who leave user messages on rejection, find deleted AfC decline/rejects
Toggle Highlighting
SQL
select count(rc_id) as reviews, actor_name, SUM(comment_text like "%Publishing accepted%") as "accept", SUM(comment_text like "Declining submission:%") as "decline", SUM(comment_text like "Rejecting submission:%") as "reject", SUM(comment_text like "declined%") as "decline (user)" from recentchanges_userindex left join actor on rc_actor = actor_id left join comment on rc_comment_id = comment_id where (rc_namespace = 118 or rc_namespace = 2) and (rc_type < 5) and (comment_text like "Declining submission:%" or comment_text like "Rejecting submission:%" or comment_text like "%Publishing accepted%" or comment_text like 'declined%') and (rc_timestamp >= DATE_ADD(NOW(), INTERVAL -6 HOUR) ) group by rc_actor order by reviews desc; /* select count(rc_id) as reviews, actor_name, SUM(comment_text like "%Publishing accepted%") as "accept", SUM(comment_text like "Declining submission:%") as "decline", SUM(comment_text like "Rejecting submission:%") as "reject", SUM(comment_text like "declined (AFCH 0.9.1)") as "decline (user)" from recentchanges_userindex left join actor on rc_actor = actor_id left join comment on rc_comment_id = comment_id where (rc_namespace = 118 or rc_namespace = 2) and (rc_type < 5) and (comment_text like "Declining submission:%" or comment_text like "Rejecting submission:%" or comment_text like "%Publishing accepted%" or comment_text = 'declined (AFCH 0.9.1)') and (rc_timestamp >= DATE_ADD(NOW(), INTERVAL -24 HOUR) ) group by rc_actor order by reviews 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...