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
Cryptic
.
Redirects in the main namespace with titles containing any of "2020 Olympics", "2020 Summer Olympics", "2020 Paralympics", "2020 Summer Paralympics", or "Tokyo 2020" (case insensitive); where there isn't another redirect pointing at the same target, with the same title as the first redirect except "2021" instead of "2020". For [[WP:VPT#Missing "2021 Olympics" redirects]] circa 25 Jul 2021.
Toggle Highlighting
SQL
SELECT page_title FROM page AS p1 LEFT JOIN redirect r1 ON r1.rd_from = p1.page_id WHERE p1.page_namespace = 0 AND p1.page_title RLIKE '(?i)(2020_(Summer_)?(O|Para)lympics|Tokyo_2020)' AND p1.page_is_redirect = 1 AND NOT EXISTS (SELECT 1 FROM redirect AS r2 LEFT JOIN page AS p2 ON p2.page_id = rd_from WHERE r2.rd_namespace = r1.rd_namespace AND r2.rd_title = r1.rd_title AND p2.page_namespace = 0 AND p2.page_namespace = REPLACE(p1.page_title, '2020', '2021'));
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...