Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
Msz2001
.
Uwzględniani są użytkownicy, którzy uprawnienia redaktora mają w chwili wykonania zapytania lub mieli je kiedykolwiek wcześniej. Pomijane są edycje wycofane i wycofujące.
Toggle Highlighting
SQL
-- Id znaczników zmian: -- 7: Anulowanie edycji -- 9: Wycofanie zmian -- 123: Ręczne wycofanie zmian -- 126: Wycofane SELECT IF(SUM(rev_timestamp > '20230101000000') > 0, 0, 1) FROM revision JOIN page ON rev_page = page_id WHERE page_namespace = 0 AND page_is_redirect = 0 AND rev_page IN(6562, 40351) AND NOT EXISTS (SELECT * FROM change_tag WHERE ct_rev_id = rev_id AND ct_tag_id IN(7, 9, 123, 126)) AND EXISTS ( SELECT * FROM user_groups JOIN actor ON actor_id = rev_actor WHERE ug_user = actor_user AND ug_group IN('editor', 'bot') UNION SELECT * FROM user_former_groups JOIN actor ON actor_id = rev_actor WHERE ufg_user = actor_user AND ufg_group IN('editor', 'bot') ) GROUP BY rev_page;
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...