List of steps to reproduce (step by step, including full links if applicable):
- https://commons.wikimedia.org//w/api.php?action=timedtext&lang=nl&title=File%3ADie_Temperaturkurve_der_Erde_%28ZDF%2C_Terra_X%29_720p_HD_50FPS.webm
- or https://commons.wikimedia.org/wiki/Special:ApiSandbox#action=timedtext&format=json&title=File%3ADie%20Temperaturkurve%20der%20Erde%20(ZDF%2C%20Terra%20X)%20720p%20HD%2050FPS.webm&lang=nl
What happens?:
- Unsupported timed text format: An error occurred while loading the API query response: HTTP error: .
MWException: Unsupported timedtext filetype
from /srv/mediawiki/php-1.39.0-wmf.4/extensions/TimedMediaHandler/includes/handlers/TextHandler/TextHandler.php(417)
#0 /srv/mediawiki/php-1.39.0-wmf.4/extensions/TimedMediaHandler/includes/ApiTimedText.php(249): TextHandler::convertSubtitles(string, NULL, string)
#1 /srv/mediawiki/php-1.39.0-wmf.4/includes/libs/objectcache/wancache/WANObjectCache.php(1690): ApiTimedText::{closure}(boolean, integer, array, NULL, array)
#2 /srv/mediawiki/php-1.39.0-wmf.4/includes/libs/objectcache/wancache/WANObjectCache.php(1518): WANObjectCache->fetchOrRegenerate(string, integer, Closure, array, array)
#3 /srv/mediawiki/php-1.39.0-wmf.4/extensions/TimedMediaHandler/includes/ApiTimedText.php(251): WANObjectCache->getWithSetCallback(string, integer, Closure)
#4 /srv/mediawiki/php-1.39.0-wmf.4/extensions/TimedMediaHandler/includes/ApiTimedText.php(153): ApiTimedText->convertTimedText(string, NULL, WikiPage)
#5 /srv/mediawiki/php-1.39.0-wmf.4/includes/api/ApiMain.php(1897): ApiTimedText->execute()https://logstash.wikimedia.org/goto/d9247031eed4d86c3f6c26be47dfd77f
What should have happened instead?:
- Should have falling back to either SRT or VTT format ?
These are likely urls from old commons/instacommons integrations, which make the player request subtitles via the old url style ?
Should be easy to fix by making it fallback to SRT I guess, and then we should emit a warning that a format should be specified.