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
Shiro D. Neko
.
Toggle Highlighting
SQL
#USE ukwiki_p; #SELECT CONCAT('# [[:File:', REPLACE(REPLACE(p.page_title, '"', '**DOUBLEQUOTE**'), '_', ' '), ']]') FROM page p SELECT CONCAT('[[User:', actor_name, ']]') as Uploader, CONCAT('[[:File:', p.page_title, ']]') as file FROM page p INNER JOIN categorylinks c1 ON p.page_id = c1.cl_from #LEFT JOIN imagelinks i ON p.page_title = i.il_to #AND (i.il_from_namespace = 0) #LEFT JOIN categorylinks c2 ON p.page_id = c2.cl_from AND c2.cl_to = "Невільні_файли,_які_не_використовуються" #"All_orphaned_non-free_use_Wikipedia_files" JOIN image ON img_name = page_title JOIN actor_image ON img_actor = actor_id WHERE c1.cl_to = "Зображення:Передані_в_суспільне_надбання_користувачами_Вікіпедії" #AND i.il_from IS NULL #AND c2.cl_from IS NULL # If not in c2 AND p.page_namespace = 6 ORDER BY actor_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...