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 categories contained in template-only categories. Some of those are valid (they're template-only categories themselves) but most are miscategorized (e.g. "PD US" categories placed in "PD US license tags" even though they're *not* license tags. See also the query at http://quarry.wmflabs.org/query/4199 for other types of miscategorized pages.
Toggle Highlighting
SQL
use commonswiki_p; SELECT page_namespace, page_title FROM page WHERE page_namespace IN (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...