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 pa.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 tewiki_p; SELECT CONCAT("# [[:File:", img_name, "]]") AS file, actor_name ###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 FROM image JOIN page ON page_namespace=6 JOIN actor_image ON img_actor = actor_id AND page_title = img_name AND page_is_redirect=0 AND NOT EXISTS( SELECT * FROM categorylinks WHERE page_id=cl_from AND (cl_to="All_free_media" OR cl_to= "All_non-free_media" )) JOIN actor_image ON img_actor = actor_id 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...