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
MGA73
.
Toggle Highlighting
SQL
USE hiwiki_p: SELECT CONCAT("* [[:File:", img_name, "]]") AS file FROM image JOIN page ON page_namespace=6 AND page_title = img_name AND page_is_redirect=0 AND NOT EXISTS( SELECT * FROM categorylinks WHERE page_id=cl_from AND (cl_to='By-Bild' OR cl_to LIKE 'CC-by%' OR cl_to LIKE 'Datei:Public%' OR cl_to LIKE 'Datei:Musik%' OR cl_to LIKE 'Public-Domain%' OR cl_to LIKE 'GFDL-B%' OR cl_to='Frei-Bild' OR cl_to='LogoSH-Bild' OR cl_to='Datei:Wikimedia-Copyright' OR cl_to='Datei:Musikzitat' OR cl_to LIKE 'Wikipedia:Datei%')) ORDER BY img_user_text ASC
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...