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
Lišiak
.
Toggle Highlighting
SQL
USE skwiki_p; SELECT @t := now(); SELECT user_name, user_registration, user_editcount FROM user WHERE (user_registration IS NULL OR user_registration < DATE_FORMAT(DATE_SUB(@t, INTERVAL 2 MONTH), '%Y%m%d%H%i%s')) AND user_editcount >= 200 AND user_id IN (SELECT DISTINCT actor_user FROM revision r, actor a WHERE a.actor_id = r.rev_actor AND r.rev_timestamp >= DATE_FORMAT(DATE_SUB(@t, INTERVAL 2 MONTH), '%Y%m%d%H%i%s') AND r.rev_timestamp < DATE_FORMAT(@t, '%Y%m%d%H%i%s') GROUP BY actor_user HAVING count(*) >= 50) AND user_id IN (SELECT DISTINCT actor_user FROM revision r, actor a, page p WHERE p.page_id = r.rev_page AND a.actor_id = r.rev_actor AND p.page_namespace = 0 AND r.rev_timestamp < DATE_FORMAT(@t, '%Y%m%d%H%i%s') GROUP BY actor_user HAVING count(*) >= 200) AND user_id NOT IN (SELECT ug_user FROM user_groups WHERE ug_group = 'bot') AND user_name NOT IN ('CommonsDelinker', 'Xqbot') ORDER BY user_name;
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...