SQL
x
USE arwiki_p;
SET @rank=0;
SELECT CONCAT('[[:مستخدم:',actor_name,'|',actor_name,']]') as "المستخدم", count(rev_actor) as "عدد التعديلات"
FROM revision
JOIN actor ON actor_id = rev_actor
INNER JOIN page article ON
article.page_id = rev_page AND
article.page_namespace = 0
INNER JOIN page article ON
WHERE
rev_parent_id =0
AND actor_name NOT IN (SELECT user_name FROM user_groups INNER JOIN user ON user_id = ug_user WHERE ug_group = 'bot')
GROUP BY rev_actor
ORDER BY COUNT(rev_actor) DESC
limit 1;
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.