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
Bdijkstra
.
Note: need to match registered users by ID otherwise the query times out. Executes in ~6 minutes.
Toggle Highlighting
SQL
# takes a few seconds /*SELECT RIGHT(cl_to, 4) AS year, user_name, ipb_timestamp, ipb_expiry, ipb_range_start, ipb_range_end, ipb_sitewide FROM page, categorylinks, `user`, ipblocks WHERE cl_to REGEXP '^Wikipedia:Waarschuwing_20[01]' AND cl_from=page_id AND page_namespace=3 AND user_name=REPLACE(page_title, '_', ' ') AND ipb_auto=0 AND ipb_user=user_id ORDER BY year, user_name;*/ # takes longer than 10 min /*SELECT RIGHT(cl_to, 4) AS year, ipb_address, ipb_timestamp, ipb_expiry, ipb_range_start, ipb_range_end, ipb_sitewide FROM page, categorylinks, ipblocks WHERE cl_to REGEXP '^Wikipedia:Waarschuwing_20[01]' AND cl_from=page_id AND page_namespace=3 AND ipb_address=page_title AND ipb_auto=0 AND ipb_user=0 ORDER BY year, ipb_address;*/ #~30k SELECT COUNT(*) FROM ipblocks WHERE ipb_auto=0 AND ipb_user=0; #~30k SELECT COUNT(*) FROM page, categorylinks WHERE cl_to REGEXP '^Wikipedia:Waarschuwing_20[01]' AND cl_from=page_id AND page_namespace=3; SELECT COUNT(*) FROM page, categorylinks WHERE cl_to REGEXP '^Wikipedia:Waarschuwing_20[01]' AND cl_from=page_id AND page_namespace=3 AND page_title REGEXP '^[1-9][0-9\\.]+$' LIMIT 10;
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...