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
علاء
.
Toggle Highlighting
SQL
select actor_name, case when actor_user in (select ug_user from user_groups as ug2 where ug_group = "sysop") then 'sysop' when actor_user in (select ug_user from user_groups as ug2 where ug_group = "templateeditor") then 'templateeditor' else 'other' end as ugroup, count(rev_id) as c from revision JOIN actor ON actor_id = rev_actor JOIN page ON rev_page = page_id WHERE page_namespace = 0 and (page_title not like '%/doc') and actor_user not in (select ug_user from user_groups as ug2 where ug_group = "bot") and actor_user not in (select ufg_user from user_former_groups as ufg2 where ufg_group = "bot") -- and rev_timestamp > DATE_FORMAT(DATE_ADD(NOW(), INTERVAL -365 DAY), "%Y%m%d%H%i%s") group by actor_name,page_namespace order by 3 desc limit 150
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...