SQL
AخA
SELECT
CONCAT("* [[:file:", img_name, "]]") as wikilink
FROM
image,
page,
externallinks
WHERE
img_name=page_title
AND page_namespace=6
AND page_id=el_from
AND (el_index_60 LIKE "https://fi.finna%/%" OR el_index_60 LIKE "http://fi.finna%/%" )
AND el_to LIKE "%musketti%"
AND img_height<1500
AND img_width<1500
AND img_minor_mime="jpeg"
GROUP BY img_name
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.