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
Yahya
.
Toggle Highlighting
SQL
/* MalnadachBot - 215006043 (use rev_timestamp < '20220708') WOSlinkerBot - 10819 Ahechtbot - 27270702 NihlusBOT - 46657 */ select CONCAT('[[User talk:', page_title, ']]') as user_talk -- format as wikilink so that it can be read by AWB from page join revision r1 on rev_id = page_latest and rev_timestamp < '20220708' and rev_actor = 215006043 -- latest page edit is by the specified user and is older than the given date join actor on actor_user is null and actor_name = page_title -- IP with User talk page where page_namespace = 3 -- User talk namespace -- and page_title like '1%' -- Temporary restriction to make query small enough to terminate /*and (select rev_timestamp from revision r2 where r2.rev_id = r1.rev_parent_id) < '20170820' -- Previous edit was before this date*/ and not exists (select 1 -- Page has not been edited by anyone other than specified user(s) in 5 years from revision where rev_page = page_id -- Choose same page as above and rev_actor not in (46657, 27270702, 10819, 215006043) -- Exclude edits from these user(s) and rev_timestamp >= '20170829') -- not edited since this timestamp and not exists (select 1 -- Check that the IP is inactive from revision_userindex where rev_actor = actor_id -- Choose same IP user as above and rev_timestamp >= '20170829') -- not edited since this timestamp /*and not exists (select 1 -- Check that the IP is not blocked from ipblocks where ipb_user = 0 -- Blocked user is an IP and HEX(INET6_ATON(page_title)) between ipb_range_start and ipb_range_end) -- Hex of IP address to check for range blocks*/ order by user_talk asc -- get pages in ascending order limit 50000;
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...