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
Tamzin
.
Note: Per the documentation, if an indef is converted into a tempblock, `ipb_timestamp` should show the start of the tempblock, not of the indefblock. The documentation is wrong. As such, a lot of the top entries are indefs that were turned into 5-10 year blocks after 10-20 years.
Toggle Highlighting
SQL
SELECT ipb_address, YEAR(ipb_expiry - ipb_timestamp) AS $duration, ipb_expiry, ipb_timestamp, ipb_anon_only FROM ipblocks WHERE ipb_user = 0 -- IP AND ipb_sitewide = 1 AND ipb_expiry != 'infinity' ORDER BY 2 DESC, 3 ASC LIMIT 1
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...