Fork of
Untitled query #53286
by Antigng
This query is marked as a draft
This query has been published
by Antigng.
SQL
AخA
USE zhwiki_p;
SELECT user_name,comment_text,(comment_text rlike "封禁|[Bb]lock") AS is_block
FROM change_tag,change_tag_def,user,page,revision,comment
WHERE ct_tag_id=ctd_id AND ctd_name="Twinkle" AND ct_rev_id=rev_id AND rev_comment_id=comment_id AND comment_text rlike "uw\-|封禁|[Bb]lock|警告|[Ww]arn" AND user_registration>20180101000000 AND user_editcount<50 AND page_title=REPLACE(user_name," ","_") AND page_namespace=3 AND rev_id=page_latest;
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.