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
Rpi153
.
Toggle Highlighting
SQL
SELECT p.page_title, p.page_namespace, l.lt_namespace, l.lt_title FROM templatelinks t INNER JOIN linktarget l ON l.lt_id = t.tl_target_id INNER JOIN page p ON lt_namespace = p.page_namespace AND lt_title = p.page_title WHERE (p.page_namespace, p.page_title) IN (SELECT p.page_namespace, p.page_title FROM page p INNER JOIN redirect r ON r.rd_from = p.page_id WHERE p.page_namespace != r.rd_namespace AND p.page_namespace NOT IN (2, 3)) ORDER BY p.page_title, p.page_namespace;
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...