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
Certes
.
Toggle Highlighting
SQL
SELECT Pa.page_title AS "From article", CONCAT(Pa.page_title,"|Talk") AS "From talk", rd_namespace AS ans, rd_title AS "To article", rd_namespace+1 AS tns, CONCAT(rd_title,"|Talk") AS "To talk" FROM page Pt JOIN page Pa ON Pa.page_namespace=0 AND Pa.page_title=Pt.page_title AND Pa.page_is_redirect=0 JOIN redirect ON rd_from=Pt.page_id LEFT JOIN categorylinks CLa ON CLa.cl_from=Pa.page_id AND CLa.cl_type="page" AND CLa.cl_to="All_redirects_for_discussion" LEFT JOIN categorylinks CLt ON CLt.cl_from=Pt.page_id AND CLt.cl_type="page" AND CLt.cl_to="Redirects_from_remote_talk_pages" WHERE Pt.page_namespace=1 AND Pt.page_is_redirect=1 AND CLa.cl_from IS NULL AND CLt.cl_from IS NULL ORDER BY Pa.page_title
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...