Fork of
Bad file syntax in cswiki
by Matěj Suchánek
This query is marked as a draft
This query has been published
by Edgars2007.
SQL
AخA
USE lvwiki_p;
SELECT z.page_title, pl_title, z.page_latest FROM pagelinks
LEFT JOIN page AS na ON na.page_title = pl_title AND na.page_namespace = pl_namespace
LEFT JOIN page AS z ON z.page_id = pl_from
WHERE na.page_title IS NULL
AND pl_namespace <> 6
AND pl_from_namespace = 0
AND (
pl_title LIKE "%.jpg" OR
pl_title LIKE "%.JPG" OR
pl_title LIKE "%.jpeg" OR
pl_title LIKE "%.JPEG" OR
pl_title LIKE "%.svg" OR
pl_title LIKE "%.SVG" OR
pl_title LIKE "Bild:%" OR
pl_title LIKE "Datei:%" OR
pl_title LIKE "Súbor:%"
)
ORDER BY z.page_latest DESC;
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.