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
.
Files in Category:All free media, only used in userspace, without {{Userspace file}} or {{Esoteric file}}.
Toggle Highlighting
SQL
SELECT page_title FROM categorylinks JOIN page ON page_id=cl_from AND page_namespace=6 WHERE cl_to="All_free_media" AND NOT EXISTS (SELECT 1 FROM templatelinks WHERE tl_from=cl_from AND tl_target_id in (453751, 371055)) /* {{Userspace file}} or {{Esoteric file}} */ AND (SELECT MIN(il_from_namespace) FROM imagelinks WHERE il_to=page_title) = 2 AND (SELECT MAX(il_from_namespace) FROM imagelinks WHERE il_to=page_title) = 2 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...