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 that consist of their target's title plus a single additional word, and whose targets are a single word. There are about twice as many if the target can be multiple words like [[Organic farming methods]]→[[Organic farming]], many more if it can include punctuation such as [[Barnes & Noble Incorporated]]→[[Barnes & Noble]], and tens of thousands more the restrictions on the target are omitted entirely, such as [[517 deaths]]→[[517]]; but Quarry performs very poorly with queries with more than about a hundred thousand rows in the resultset. For [[User talk:Pppery#Elephant population]] circa 17 May 2024.
Toggle Highlighting
SQL
SELECT page_title AS 'redirect', rd_title AS 'target' FROM redirect JOIN page ON page_id = rd_from WHERE page_namespace = 0 AND rd_namespace = 0 AND page_title LIKE CONCAT(rd_title, '\_%') AND page_title RLIKE CONCAT('^', rd_title, '_[[:alpha:]]+$') AND rd_title RLIKE '^[[:alpha:]]+(_[[:alpha:]]+)*$';
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...