Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Use of non-existing templates in cswiki
by
Matěj Suchánek
This query is marked as a draft
This query has been published
by
Darafsh
.
Toggle Highlighting
SQL
USE fawiki_p; SELECT page_title, page_latest, templates.tl_title, templates.tl_namespace FROM ( SELECT DISTINCT tl_title, tl_namespace FROM templatelinks WHERE tl_title NOT IN (SELECT page_title FROM page WHERE page_namespace = tl_namespace) ) AS templates JOIN templatelinks AS all_templates ON all_templates.tl_title = templates.tl_title AND all_templates.tl_namespace = templates.tl_namespace JOIN page ON page_id = tl_from WHERE tl_from_namespace = 0 ORDER BY page_latest DESC;
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...