Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Blocked UPEs on enwiki in the last year
by
Novem Linguae
This query is marked as a draft
This query has been published
by
DreamRimmer
.
Blocked UPEs (undisclosed paid editors) on enwiki
Toggle Highlighting
SQL
SELECT actor_name AS blocking_admin, log_title AS blocked_user, comment_text AS block_reason, log_timestamp # logging_logindex is a little-known alternative view, but was the key to getting this to not timeout FROM logging_logindex # don't forget these alternative views too (comment_logging, actor_logging) JOIN comment_logging ON log_comment_id = comment_id JOIN actor_logging ON log_actor = actor_id WHERE log_action = 'block' AND ( # LIKE is case sensitive on binary fields, unless you use `USING utf8mb4` to convert these fields to UTF-8 comment_text LIKE '%ndisclosed paid%' OR comment_text LIKE '%upe%' OR comment_text LIKE '%UPE%' ) AND log_actor != 198977042 # proxy blocking bot AND log_timestamp > DATE_FORMAT(DATE_ADD(NOW(), INTERVAL -1 MONTH), "%Y%m%d%H%i%s") # the below is redundant since the primary key is log_id. doesn't hurt to leave it in though ORDER BY log_id ASC
By running queries you agree to the
Cloud Services Terms of Use
and you irrevocably agree to release your SQL under
CC0 License
.
Submit Query
Stop Query
All SQL code is licensed under
CC0 License
.
Checking query status...