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 2020 (after first revision)
by
Herzi Pinki
This query is marked as a draft
This query has been published
by
Braveheart
.
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 actor, /*user_groups,*/ revision, revision as revision0, image, page, categorylinks WHERE page.page_id=categorylinks.cl_from AND actor.actor_id = revision.rev_actor AND image.img_name = page.page_title and revision.rev_page = page.page_id and revision.rev_parent_id > 0 and revision0.rev_parent_id = 0 and revision.rev_page = revision0.rev_page and revision.rev_actor != revision0.rev_actor AND revision.revision_user_text LIKE '%uncategorized%' # 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'*/ 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...