Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
AfC review counts for zhwiki, last 28 days
by
SunAfterRain
This query is marked as a draft
This query has been published
by
SunAfterRain
.
by https://quarry.wmcloud.org/query/27659
Toggle Highlighting
SQL
select count(rc_id) as reviews, actor_name, SUM(comment_text like "%发布已接受的[[PJ:AFC|条目建立]]草稿%" or comment_text like "%發布已接受的[[PJ:AFC|條目建立]]草稿%") as "accept", SUM(comment_text like "%仍需改善的草稿%") as "decline", SUM(comment_text like "%拒绝再次提交的草稿%" or comment_text like "%拒絕再次提交的草稿%") as "reject", concat(round(SUM(comment_text like "%发布已接受的[[PJ:AFC|条目建立]]草稿%" or comment_text like "%發布已接受的[[PJ:AFC|條目建立]]草稿%") * 100 / count(rc_id), 1), "%") as "accept %", concat(round(SUM(comment_text like "%仍需改善的草稿%") * 100 / count(rc_id), 1), "%") as "decline %", concat(round(SUM(comment_text like "%拒绝再次提交的草稿%" or comment_text like "%拒絕再次提交的草稿%") * 100 / count(rc_id), 1), "%") as "reject %" 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 or rc_namespace = 0) and (rc_type < 5) and (comment_text like "%发布已接受的[[PJ:AFC|条目建立]]草稿%" or comment_text like "%發布已接受的[[PJ:AFC|條目建立]]草稿%" or comment_text like "%仍需改善的草稿%" or comment_text like "%拒绝再次提交的草稿%" or comment_text like "%拒絕再次提交的草稿%") and (rc_timestamp >= DATE_ADD(NOW(), INTERVAL -28 DAY) ) 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...