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
Isaac (WMF)
.
For all usernames on a given page -- e.g., WikiProject participant list -- count how many edits each has made to articles in that WikiProject over some time period.
Toggle Highlighting
SQL
# all usernames linked to on the participants page WITH participants AS ( SELECT DISTINCT SUBSTRING_INDEX(pl_title, '/', 1) AS wp_participant_user # sometimes users link to subpages -- this just captures their username FROM pagelinks WHERE pl_from = 10034790 # https://en.wikipedia.org/wiki/Wikipedia:WikiProject_Spoken_Wikipedia/Participants AND pl_namespace = 2 # User namespace ) SELECT wp_participant_user, actor_id AS wp_participant_user_id FROM participants INNER JOIN actor ON (wp_participant_user = 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...