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 2022 (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 Denkmallisten during update 2022. This contains also edits unrelated to the update.
Toggle Highlighting
SQL
#USE dewiki_p; SELECT /* SLOW_OK */ DISTINCT actor_name AS user, COUNT(revision.rev_parent_id) as edit_count FROM actor, /*user_groups,*/ revision, page, categorylinks WHERE page.page_id=categorylinks.cl_from AND actor.actor_id = revision.rev_actor and revision.rev_page = page.page_id and revision.rev_parent_id > 0 # 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 in ("Liste_(Kulturdenkmale_im_Burgenland)", "Liste_(Kulturdenkmale_in_Kärnten)", "Liste_(Kulturdenkmale_in_Niederösterreich)", "Liste_(Kulturdenkmale_in_Oberösterreich)", "Liste_(Kulturdenkmale_im_Land_Salzburg)", "Liste_(Kulturdenkmale_in_der_Steiermark)", "Liste_(Kulturdenkmale_in_Tirol)", "Liste_(Kulturdenkmale_in_Vorarlberg)", "Liste_(Kulturdenkmale_in_Wien)" ) AND rev_timestamp BETWEEN 20220703120000 AND 20220803100000 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...