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
Stefan2
.
According to [[WP:NFCC#9]], disambiguation pages are not articles and may therefore not contain unfree files.
Toggle Highlighting
SQL
USE enwiki_p; SELECT p.page_id FROM page p INNER JOIN categorylinks c1 ON p.page_id = c1.cl_from INNER JOIN (imagelinks i INNER JOIN categorylinks c2 ON i.il_from = c2.cl_from AND c2.cl_to = "Disambiguation_pages") ON p.page_title = i.il_to WHERE c1.cl_to = "All_non-free_media" AND p.page_namespace = 6
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...