Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Gender of editors to specific pages (aggregate, timestamp range)
by
Cryptic
This query is marked as a draft
This query has been published
by
Clayoquot
.
For [[w:User talk:Cryptic#Curious about a stat]] circa 12 Jun 2019.
Toggle Highlighting
SQL
SELECT (CASE WHEN actor_user IS NULL then 'ip' WHEN up_value IS NULL then 'unspecified' ELSE up_value END) AS gender_or_ip, COUNT(*) FROM (SELECT DISTINCT actor_user, actor_name, up_value FROM revision JOIN actor ON actor_id = rev_actor LEFT JOIN user_properties ON up_user = actor_user AND up_property = 'gender' WHERE rev_page = (SELECT page_id FROM page WHERE page_namespace = 4 AND page_title = 'Articles_for_deletion/Clarice_Phelps') OR (rev_page = (SELECT page_id FROM page WHERE page_namespace = 4 AND page_title = 'Articles_for_deletion/Clarice_Phelps') )) q1 GROUP BY gender_or_ip;
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...