Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Top editors in Module namespace arwiki
by
Mr. Ibrahem
This query is marked as a draft
This query has been published
by
Mr. Ibrahem
.
Results order by there edits count in the same period.
Toggle Highlighting
SQL
-- USE arwiki_p; 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 in (10) AND page_title NOT REGEXP '^.*?\/(ملعب|مختبر|شرح|sandbox|test)/*.*?$' 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 - 1 Year), "%Y%m%d%H%i%s") group by actor_name order by 3 desc limit 20
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...