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
MarioGom
.
Toggle Highlighting
SQL
SET STATEMENT max_statement_time = 30 FOR SELECT ip24, c FROM ( SELECT ip24, count(*) AS c FROM ( SELECT -- DISTINCT rc_id, REGEXP_REPLACE(actor_name, '\.[0-9]+$', '') AS ip24 FROM recentchanges INNER JOIN change_tag ON recentchanges.rc_id = change_tag.ct_rc_id INNER JOIN change_tag_def ON change_tag.ct_tag_id = change_tag_def.ctd_id INNER JOIN actor ON recentchanges.rc_actor = actor.actor_id WHERE TRUE AND rc_namespace = 0 -- main namespace AND rc_bot = 0 -- no bots AND change_tag_def.ctd_name in ('mw-undo') AND actor_user IS NULL -- exclude registered users AND actor_name NOT LIKE '%:%' -- exclude IPv6 ) AS q1 GROUP BY ip24 ) AS q2 ORDER BY c DESC
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...