SQL
x
SELECT DISTINCT
REPLACE(l.log_title, '@global', '') AS "Username",
CASE
WHEN l.log_actor = '25051' THEN 'WMFOffice'
WHEN l.log_actor = '2578' THEN 'AntiCompositeNumber'
ELSE 'Unknown'
END AS "Performer",
c.comment_text AS "Reason"
FROM
logging l
JOIN
comment c ON l.log_comment_id = c.comment_id
WHERE
l.log_type = 'globalauth' AND
l.log_action = 'setstatus' AND
l.log_actor IN ('25051', '2578') AND -- WMFOffice or AntiCompositeNumber
l.log_timestamp > '20250323000318' AND -- first lock by ACN, log id is 59178740
(c.comment_text LIKE '%T389727%' OR
c.comment_text LIKE '%checkuser%') -- for lock reasons such as: https://w.wiki/Dbpo
ORDER BY
l.log_timestamp ASC;
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.