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 from mainspace to mainspace, where the target contains the redirect's name (case-insensitive), the redirect isn't in [[Category:Redirects from short names]], and the redirect starts with "Red". For [[WP:RAQ#Potential R from short names]] circa 1 July 2022.
Toggle Highlighting
SQL
SELECT page_title AS 'redirect from', rd_title AS 'redirect to' FROM redirect JOIN page ON page_id = rd_from LEFT JOIN categorylinks ON cl_from = page_id AND cl_to = 'Redirects_from_short_names' WHERE page_namespace = 0 AND rd_namespace = 0 AND LOWER(CONVERT(rd_title USING utf8)) != LOWER(CONVERT(page_title USING utf8)) AND INSTR(LOWER(CONVERT(rd_title USING utf8)), LOWER(CONVERT(page_title USING utf8))) != 0 AND cl_from IS NULL AND page_title LIKE 'Red_%';
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...