Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Inactive non-blocked IP talkpages transcluding a template
by
ಮಲ್ನಾಡಾಚ್ ಕೊಂಕ್ಣೊ
This query is marked as a draft
This query has been published
by
Certes
.
IP talkpages that have not been edited in the last 5 years, the IP is not currently blocked and there have been no edits from that IP in the last 5 years
Toggle Highlighting
SQL
SET STATEMENT max_statement_time = 1000 FOR select CONCAT('[[User talk:', page_title, ']]') as user_talk from page join revision on rev_id = page_latest and rev_timestamp >= '20170504000000' where page_namespace = 3 and page_title regexp '^(\d{1,3}(\.\d{1,3}){3}|[\da-fA-F]{1,4}(\:[\da-fA-F]{0,4}){7})$' and not exists (select 1 /* IP is not blocked (fails to detect range blocks) */ from ipblocks where ipb_user = 0 and ipb_address = pg.page_title) and not exists (select 1 /* IP has not edited in 5 years */ from revision_userindex where rev_actor = (select actor_id from actor where actor_user is null and actor_name = pg.page_title) and rev_timestamp > '20170504000000') order by user_talk asc limit 100;
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...