Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Files on an.wiki NOT in spec categories (no license)
by
MGA73
This query is marked as a draft
This query has been published
by
MGA73
.
Toggle Highlighting
SQL
#USE viwiki_p; SELECT CONCAT("# [[:File:", img_name, "]]") AS file, CONCAT("[[User:", actor_name, "]]") as uploader FROM image JOIN page ON page_namespace = 6 AND page_title = img_name JOIN actor_image ON img_actor = actor_id JOIN categorylinks ON cl_from = page_id AND cl_type = "file" #AND cl_to = "No_license" # ENTER THE CATEGORY HERE AND page_is_redirect=0 AND NOT EXISTS( SELECT * FROM categorylinks WHERE page_id=cl_from AND (cl_to="PD-Bild_US" OR cl_to= "Java-Hamster" OR cl_to= "BSD-Bild" OR cl_to= "CC-by-Bild" OR cl_to= "CC-BY-SA-2.5" OR cl_to= "CC-BY-SA-2.5,2.0,1.0" OR cl_to= "CC-BY-SA-3.0" OR cl_to= "CC-BY-SA-4.0" OR cl_to= "CC-by-sa-Bild" OR cl_to= "CopyrightByWikimedia" OR cl_to= "GFDL-Bild" OR cl_to= "GPL-Bild" OR cl_to= "IPDL-Bild" OR cl_to= "MIT-Bild" OR cl_to= "PD_US_Government" OR cl_to= "PD-Bild" OR cl_to= "PD-Bild_amtlich" OR cl_to= "PD-Bild_Markenrecht" OR cl_to= "Tux-Bild" #OR cl_to= "Hình_không_rõ_tình_trạng_bản_quyền" #Files tagged with no license OR cl_to= "xxxxx")) GROUP BY img_name 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...