Fork of moves and patrols (20 Jul 2024) by Cryptic
This query is marked as a draft This query has been published by Cryptic.

SQL

AخA
 
SELECT COUNT(*),
       SUM(NOT EXISTS(SELECT 1
                      FROM user_groups
                      WHERE ug_user = actor_user AND ug_group IN ('extendedconfirmed', 'sysop', 'bot')
                      LIMIT 1)) AS '# done by non-extcfd',
       IF(log_namespace = 0, 'mainspace', 'non-mainspace') AS 'namespace',
       log_type
FROM logging
JOIN actor_logging ON actor_id = log_actor
WHERE log_timestamp LIKE '20240720%'
  AND (log_type = 'move'
       OR (log_type = 'pagetriage-curation' AND log_action IN ('reviewed', 'reviewed-article', 'reviewed-redirect')))
GROUP BY 3, 4;
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.

Checking query status...