Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
look for redirects connected to a wikidata item that target a dab page
by
Cryptic
This query is marked as a draft
This query has been published
by
A smart kitten
.
Redirects in [[Category:Redirects connected to a Wikidata item]] whose targets are in [[Category:All disambiguation pages]]. For [[WP:RAQ#Redirects connected to a Wikidata item that target a disambiguation page]] circa 24 April 2024.
Toggle Highlighting
SQL
select CONCAT("# {{/l|", origin_page.page_title, "|", rd_title, "}}" from categorylinks AS cl1 inner join redirect on rd_from = cl1.cl_from inner join page as origin_page on origin_page.page_id = cl1.cl_from inner join page as target_page on target_page.page_namespace = rd_namespace and target_page.page_title = rd_title inner join categorylinks AS cl2 ON cl2.cl_from = target_page.page_id AND cl2.cl_to = "All_disambiguation_pages" where cl1.cl_to = "Redirects_connected_to_a_Wikidata_item";
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...