Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
WikiDaheim correctors 2023 (after first revision)
by
Herzi Pinki
This query is marked as a draft
This query has been published
by
Herzi Pinki
.
Count the number of edits on WikiDaheim images after upload done by users other than the uploader.
Toggle Highlighting
SQL
#USE commonswiki_p; SELECT /* SLOW_OK */ DISTINCT actor_name AS user, COUNT(revision.rev_parent_id) as edit_count FROM image JOIN page AS page_img ON image.img_name = page_img.page_title JOIN categorylinks ON page_img.page_id = categorylinks.cl_from JOIN revision ON revision.rev_page = page_img.page_id JOIN actor ON actor.actor_id = revision.rev_actor JOIN revision as revision0 ON revision.rev_page = revision0.rev_page WHERE revision.rev_parent_id > 0 and revision0.rev_parent_id = 0 and revision.rev_actor != revision0.rev_actor # LOWER does not work AND actor_name NOT LIKE "%bot%" AND actor_name NOT LIKE "%Bot%" /*and user_groups.ug_user = actor.actor_id and user_groups.ug_group != 'bot'*/ AND categorylinks.cl_to = "Media_from_WikiDaheim_2024_in_Austria/all" GROUP BY user ORDER BY edit_count DESC limit 200;
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...