Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Top users of Suggested Edits feature on Android
by
MPopov (WMF)
This query is marked as a draft
This query has been published
by
Jkatz (WMF)
.
A leaderboard of top 10 Android editors by number of title description edits *made through the Suggested Edits feature*, including the number of days those edits were made over.
Toggle Highlighting
SQL
SET STATEMENT max_statement_time = 120 FOR USE wikidatawiki_p; SELECT rev_actor, COUNT(*) AS n_total_edits, -- not all edits, just total Suggested Edits edits COUNT(DISTINCT LEFT(rev_timestamp, 8)) AS n_days_usage, u.user_name as username, u.user_editcount as edit_count FROM revision_userindex LEFT JOIN `comment` ON revision_userindex.rev_comment_id = `comment`.comment_id LEFT JOIN `user` u ON revision_userindex.rev_actor = `user`.user_id LEFT JOIN change_tag ON revision_userindex.rev_id = change_tag.ct_rev_id WHERE rev_timestamp >= '20190401' AND NOT rev_deleted -- this not the same as "not reverted", unfortunately AND ct_tag_id = 14 -- tagged as android app edit AND INSTR(comment_text, '#suggestededit') > 0 -- specifically made through Suggested Edits GROUP BY username ORDER BY n_total_edits DESC, n_days_usage DESC LIMIT 10;
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...