Replicas browser and optimizer
This query is marked as a draft
This query has been published
SVG maps from 2015-02 onwards used 4-10 times in the Spanish Wikipedia. Excluding those in category Historical_SVG_maps_in_Spanish and those in categories having "ocator" (locator) and "lag" (flag) in their categories. The filtering is done by looking for SVG files uploaded after February 2015, having at least a category with the word "map" in it. From the suggestion at https://commons.wikimedia.org/wiki/Commons:Village_pump#How_to_perform_complex_file_searches_in_Commons
use commonswiki_p; Select img_name, cl_to, count(*) from image inner join globalimagelinks on gil_to = img_name inner join page on page_namespace=6 and page_title = img_name inner join categorylinks on cl_from = page_id where img_media_type = 'DRAWING' and img_major_mime="image" and img_minor_mime = 'svg+xml' and cl_to not like 'Historical_SVG_maps_in_Spanish' and (cl_to like '%map%' and cl_to not like '%ocat%' and cl_to not like '%lag%') and gil_wiki = 'eswiki' and img_timestamp > 20140200000000 group by img_name , cl_to having count(*) < 10 and count(*)>4 limit 100;
By running queries you agree to the
and you irrevocably agree to release your SQL under
All SQL code is licensed under
Checking query status...
Report a bug!
Wikimedia Cloud VPS
, written in