Fork of
Unusually large redirect talk archives
by Cryptic
This query is marked as a draft
This query has been published
by Cryptic.
SQL
AخA
SELECT CONCAT('Talk:', REPLACE(page_title, '_', ' ')) AS pagename,
page_len
FROM page
WHERE page_namespace = 1
AND page_is_redirect = 1
AND page_len >= 250
AND CONVERT(page_title USING utf8) LIKE '%/archive%'
AND EXISTS (SELECT 1
FROM revision -- deliberately not revision_userindex - we already have a page_id, and these bots have LOTS of edits
JOIN actor_revision ON actor_id = rev_actor
WHERE rev_page = page_id
AND actor_name IN ('ClueBot III', 'Femto Bot', 'HBC Archive Indexerbot', 'KiranBOT',
'Legobot', 'Lowercase sigmabot III', 'MusikBot', 'Scsbot')
LIMIT 1)
ORDER BY page_len DESC;
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.