Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
This query is marked as a draft
This query has been published
by
Pablo (WMF)
.
Toggle Highlighting
SQL
WITH spambot_actors AS ( SELECT actor_id FROM actor WHERE actor_user IN (317952, 347426, 359172, 120231, 340170, 151756, 221499, 390258, 341491, 394389, 380219, 351517)) (SELECT REGEXP_REPLACE(REGEXP_REPLACE(log_params,'.*:',''),';}','') revision_id, comment_text, 'logging' source FROM logging JOIN spambot_actors ON logging.log_actor=spambot_actors.actor_id JOIN comment ON logging.log_comment_id=comment.comment_id WHERE log_type='create') UNION ( select archive.ar_rev_id revision_id, comment.comment_text, 'archive' source from archive join comment on comment.comment_id=archive.ar_comment_id join spambot_actors on archive.ar_actor=spambot_actors.actor_id)
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...