Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Edycje wizualne w porównaniu do wszystkich w 2022
by
Msz2001
This query is marked as a draft
This query has been published
by
Msz2001
.
Porównanie liczby edycji edytorem wizualnym do wszystkich, wykonanych przez osoby, które aktualnie nie mają uprawnień redaktora.
Toggle Highlighting
SQL
set @ve := 1; -- Id znacznika "VisualEditor" -- Uwzględniane są wszystkie edycje wykonane od 01.08.2023 do 31.07.2024 (UTC+1) set @starttime := '20230731230000'; set @endtime := '20240731230000'; SELECT ( SELECT COUNT(*) FROM revision JOIN change_tag ON rev_id = ct_rev_id JOIN actor ON rev_actor = actor_id JOIN page ON rev_page = page_id WHERE ct_tag_id = @ve AND rev_timestamp >= @starttime AND rev_timestamp < @endtime AND page_namespace = 0 AND NOT EXISTS ( SELECT * FROM user_groups WHERE actor_user = ug_user AND ug_group IN('bot', 'editor') ) ) AS "VisualEditor", ( SELECT COUNT(*) FROM revision JOIN actor ON rev_actor = actor_id JOIN page ON rev_page = page_id WHERE rev_timestamp >= @starttime AND rev_timestamp < @endtime AND page_namespace = 0 AND NOT EXISTS ( SELECT * FROM user_groups WHERE actor_user = ug_user AND ug_group IN('bot', 'editor') ) ) AS "Wszystkie edycje";
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...