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
Joe Roe (mobile)
.
Users with the new page patroller ('patroller') right with a count of the number of live, mainspace pages created , excluding redirects. Only includes users explicitly assigned the patroller right, i.e. not sysops.
Toggle Highlighting
SQL
SELECT user_name, COUNT(*) AS 'articles_created' FROM user JOIN user_groups ON ug_user = user_id JOIN actor ON actor_user = user_id JOIN revision_userindex ON rev_actor = actor_id JOIN page ON page_id = rev_page WHERE ug_group = 'patroller' AND rev_parent_id = 0 AND page_namespace = 0 GROUP BY user_name
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...