This query is marked as a draft This query has been published by Chaduvari.

SQL

x
 
set @userr="Chaduvari";
SELECT log_type, log_action, count(log_action)
FROM logging,actor
WHERE 
-- log_type = 'delete'
--  AND log_action = 'revision'
    actor_id=log_actor and
    actor_name=@userr and
    concat(log_type,"-",log_action) in ("abusefilter-modify","block-block","block-reblock","block-unblock","delete-delete","delete-delete_redir","delete-event","delete-restore","delete-revision","import-interwiki","protect-modify","protect-move_prot","protect-protect","protect-unprotect","renameuser-renameuser","rights-rights")
--    log_type in ("abusefilter","block","delete","import","protect","renameuser","rights") and
--    log_action in ("modify","block","reblock","unblock","delete","delete_redir","event","restore","revision","interwiki","move_prot","protect","unprotect","renameuser","rights")
group by log_action
ORDER BY log_type,log_action
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...