Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
NPP - Unreviewed new articles by blocked users
by
Hey man im josh
This query is marked as a draft
This query has been published
by
Hey man im josh
.
Count of articles in the enwiki new pages patrol queue grouped by user that created them.
Toggle Highlighting
SQL
SELECT actor_name, COUNT(*), comment_text FROM pagetriage_page JOIN page ON ptrp_page_id = page_id JOIN revision ON rev_page = page_id JOIN actor ON actor_id = rev_actor JOIN ipblocks ON ipb_user = actor_user JOIN comment ON ipb_reason_id = comment_id WHERE ptrp_reviewed = 0 AND page_namespace = 0 AND page_is_redirect = 1 AND rev_parent_id = 0 AND ipb_expiry = 'infinity' AND ipb_sitewide = 1 GROUP BY actor_name ORDER BY COUNT(*) DESC limit 300;
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...