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
Aidan9382
.
List of archive pages following the format "Archive %(counter)d" under deleted pages
Toggle Highlighting
SQL
-- Notes: Theres ~55k Archive pages under the format Archive %(counter)d and having Archive 1, so ~55k pages get checked here select CONCAT("[[Talk:",SUBSTR(page_title,1,LENGTH(page_title)-10),"]]") as basepage_title from page where page_namespace = 1 and page_is_redirect = 0 and page_random < 0.05 -- Reduce calculation time when testing and page_title rlike "/Archive_[0-9]+$" and not exists ( select 1 from page as basepage where basepage.page_namespace = 1 and basepage.page_title = SUBSTR(page.page_title,1,LENGTH(page.page_title)-10) ) order by basepage_title asc;
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...