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 CONCAT(user_name) AS user_name, SUM(CAST(rev.rev_len as signed)-CAST(parent.rev_len as signed)) AS byte_count, COUNT(rev.rev_id) as edit_count FROM user JOIN revision rev ON user_id = rev.rev_user JOIN revision parent ON rev.rev_parent_id = parent.rev_id JOIN page ON page_id = parent.rev_page WHERE page_namespace = 0 and rev.rev_comment not like ucase ("%رجوع%") collate utf8_general_ci and rev.rev_comment not like ucase ("%استرجاع%") collate utf8_general_ci AND rev.rev_timestamp BETWEEN 20170612000000 AND 20170619000000 AND parent.rev_timestamp BETWEEN 20170612000000 AND 20170619000000 and ucase (user_name) not like ucase ("%BOT") collate utf8_general_ci and user_name not like ucase ("بوت %") collate utf8_general_ci and user_name Not IN (SELECT user_name FROM user_groups INNER JOIN user ON user_id = ug_user WHERE ug_group = 'bot') and user_name IN (SELECT user_name FROM user_groups INNER JOIN user ON user_id = ug_user WHERE ug_group = 'editor' or 'autoreview') GROUP BY user_name having byte_count > 0 ORDER BY byte_count DESC LIMIT 5;
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...