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
Anomie
.
For a discussion at https://en.wikipedia.org/wiki/Wikipedia:Village_pump_(idea_lab)#Redefining_ECP
Toggle Highlighting
SQL
SELECT actor_name, count(*) as live_edits, count(nullif(page_namespace=0,0)) as mainspace, count(nullif(page_namespace not in (2,118),0)) as non_user_draft, count(nullif(page_namespace not in (2,3,118,119),0)) as non_user_draft_or_talks FROM revision_userindex JOIN page ON(rev_page=page_id) JOIN actor_revision ON (rev_actor=actor_id) WHERE rev_actor IN ( SELECT actor_id FROM user JOIN user_groups ON(user_id=ug_user AND ug_group='extendedconfirmed' AND ug_expiry IS null) JOIN actor_user ON(actor_user=user_id) WHERE user_id BETWEEN 45098213 AND 47132573 ) GROUP BY actor_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...