Fork of
مراجعو التعديلات المعلقة الأكثر نشاطًا
by ASammour
This query is marked as a draft
This query has been published
by جار الله.
SQL
AخA
use arwiki_p;
select CONCAT('[[مستخدم:',log_actor,'|',log_actor,']]'), COUNT(*)
from logging_userindex
on user.user_id = logging.log_actor
where log_timestamp BETWEEN 20200427000000 AND 20200504000000
and ucase (user_name) not like ucase (_utf8"%BOT") COLLATE utf8_general_ci
and user_name not like _utf8"بوت %" 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 log_action = "approve"
and log_namespace = 0
group by logging.log_actor
having COUNT(*)>1
ORDER BY COUNT(*) DESC
LIMIT 10;
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.