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
Guillaume (WMF)
.
The following pages are non-templates contained in template-only categories. I've now cleaned up most of them and those that remain are valid (they're not technically templates, but they serve as templates). This was done as part of work on licensing metrics (see https://wikimania2015.wikimedia.org/wiki/Submissions/What_does_%22free%22_mean_in_Wikimedia%3F ) . Note that this query excludes categories. Those have a dedicated query at http://quarry.wmflabs.org/query/4199
Toggle Highlighting
SQL
use commonswiki_p; SELECT page_namespace, page_title FROM page WHERE page_namespace NOT IN (10, 2, 100, 106, 14) AND page_ID IN ( SELECT cl_from FROM categorylinks WHERE cl_to IN ( SELECT page_title FROM page WHERE page_id IN ( SELECT tl_from FROM templatelinks WHERE tl_title = "Template_category" ANd tl_namespace = 10 AND tl_from_namespace = 14 ) ) );
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...