Toggle navigation
Home
New Query
Recent Queries
Discuss
Database tables
Database names
MediaWiki
Wikibase
Replicas browser and optimizer
Login
History
Fork
Fork of
azwiki GFDL only files 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 = "GFDL_slike" #"Зображення_GFDL" #"Wikipedia_license_migration_candidates" # ENTER THE CATEGORY HERE AND (cl_to="GFDL_slike" OR cl_to= "Slike_GFDL-ja" ) -- 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 = 'Slike_Creative_Commons_Attribution_3.0' OR sub_cl.cl_to = 'Slike_Creative_Commons_Attribution_License_2.5' OR sub_cl.cl_to = 'Slike_Creative_Commons_Attribution-Share_Alike_3.0_Unported' OR sub_cl.cl_to = 'Slike_Creative_Commons_Attribution-Share_Alike_4.0' OR sub_cl.cl_to = 'Slike_Creative_Commons_Attribution-Share_Alike_2.0' OR sub_cl.cl_to = 'Slike_Creative_Commons_Attribution-Share_Alike_2.5' OR sub_cl.cl_to = 'Slike_Creative_Commons_Attribution-Share_Alike' OR sub_cl.cl_to = 'Slike_Creative_Commons_Imenovanje-Dijeli_pod_istim_uvjetima_3.0_Hrvatska' ) ) ##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...