Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
Fawiki GFDL license migration candidates by upload date in cat
by
MGA73
This query is marked as a draft
This query has been published
by
MGA73
.
Toggle Highlighting
SQL
#USE ukwiki_p; SELECT CONCAT("# [[:File:", page_title, "]]") as File, img_timestamp, 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 JOIN categorylinks ON cl_from = page_id AND cl_type = "file" AND cl_to = "Wikipedia_license_migration_candidates" #"Зображення_GFDL" #"Wikipedia_license_migration_candidates" # ENTER THE CATEGORY HERE -- exclude categories ## AND NOT EXISTS ( ## SELECT * FROM categorylinks AS sub_cl ## WHERE ## page_id = sub_cl.cl_from ## AND ( -- exclude yet in license ## sub_cl.cl_to = 'Зображення:CC-BY-3.0' OR ## sub_cl.cl_to = 'Зображення:CC-BY-4.0' OR ## sub_cl.cl_to = 'Зображення:CC-BY-SA-3.0' OR ## sub_cl.cl_to = 'Зображення:CC-BY-SA-4.0' OR ## sub_cl.cl_to = 'Зображення:CC-Zero' OR ## sub_cl.cl_to = 'Зображення,_що_мають_дозвіл_в_OTRS' ## ) ## ) ##WHERE tl_title != "cc-by-sa-3.0,2.5,2.0,1.0" #WHERE # tl_title = "GFDL" # AND tl_namespace = 10 #ORDER BY img_timestamp DESC GROUP BY page_title 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...