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
Erutuon
.
Toggle Highlighting
SQL
select p1.page_namespace, p1.page_title, p2.page_namespace, p2.page_title, linktarget2.lt_namespace, linktarget2.lt_title from templatelinks as tl1 join page as p1 on p1.page_id = tl1.tl_from join page as p2 on p2.page_namespace = tl1.tl_namespace and p2.page_title = tl1.tl_title and p1.page_id <> p2.page_id join templatelinks as tl2 on tl2.tl_from = p2.page_id join linktarget as linktarget2 on linktarget2.lt_id = tl2.tl_target_id where linktarget2.lt_namespace = p1.page_namespace and linktarget2.lt_title = p1.page_title limit 10;
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...