SQL
AخA
# https://gerrit.wikimedia.org/g/mediawiki/extensions/AbuseFilter/+/389b6f3dc812a8c7b91827556abb98aa5f09f7e0/includes/AbuseFilter.php#556
USE zhwiki_p;
SELECT afa_filter, warn.afa_consequence, warn.afa_parameters AS `warn_parm`
FROM abuse_filter
LEFT JOIn abuse_filter_action AS warn ON warn.afa_filter = af_id AND warn.afa_consequence = 'warn'
WHERE warn.afa_filter = af_id
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.