SQL
x
SET @codes = 'af', 'en', 'es', 'fr';
SELECT CONCAT('# [[TimedText:', REPLACE (page_title, '_',' '), ']] → ') AS title
FROM page
WHERE page_namespace = 102
AND (page_title LIKE '%.srt' OR page_title LIKE '%.vtt')
AND REGEXP_REPLACE((REGEXP_REPLACE(page_title, '\\.(?:srt|vtt)$', '')), '^.+\\.', '')
NOT IN (@codes)
GROUP BY REGEXP_REPLACE((REGEXP_REPLACE(page_title, '\\.(?:srt|vtt)$', '')), '^.+\\.', '')
LIMIT 700;
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.