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 oc.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 urwiki_p; SELECT CONCAT("# [[:File:", img_name, "]]") AS file, actor_name #, GROUP_CONCAT(c.cl_from SEPARATOR ' ¤¤¤ ') 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 LIKE 'Imagini_Creative_Commons%' cl_to= "جملہ_آزاد_املاف" #free files OR cl_to= "تمام_غیر_آزاد_میڈیا" #non-Free files (FOP) OR cl_to= "سبھی_میڈیا_جو_ریاستہائے_متحدہ_امریکہ_میں_مفت_ہے"#Free in the US OR cl_to= "اجازت_نامہ_سے_عاری_فائلیں" #No license OR cl_to= "نامعلوم_کاپی_رائٹ_کی_حامل_تصویریں" )) #FROM templatelinks #JOIN page ON tl_from = page_id #JOIN image ON img_name = page_title AND page_namespace = 6 #JOIN actor_image ON img_actor = actor_id #AND page_is_redirect=0 #AND NOT EXISTS( #SELECT * FROM categorylinks #WHERE page_id=cl_from #AND (cl_to LIKE 'GFDL%' #OR cl_to= "Copyrighted_free_use画像" #OR cl_to= "CC-zero画像" #OR cl_to LIKE "クリエイティブ・コモンズ%" #CC #OR cl_to= "著作権の保護期間満了によるパブリックドメイン画像" #{{PD-old-USJP}} #OR cl_to= "著作権放棄によるパブリックドメイン画像" #{{PD-self}} #OR cl_to= "著作物を含まない画像" # {{PD-ineligible}} #OR cl_to= "任意の理由によるパブリックドメイン画像" #{{PD-because|xxx}} #OR cl_to= "日本ではパブリックドメインにあり、米国でパブリックドメインにない画像")) ### #OR cl_to LIKE 'GFDL-B%' #OR cl_to LIKE 'Public-Domain%' ### 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...