Page MenuHomePhabricator

Subtitles of Commons video not shown (404) on Wikipedias, due to missing "TimedText:" namespace in URLs
Closed, DuplicatePublic

Description

Hello!

Captions for videos are currently not displaying on Wikipedia across all languages, however they do display on Wikimedia Commons.

I've tested this on OSX 10.11.4 with Chrome 50.0.2661.102 (64-bit) and FireFox 46.0.1

This was originally reported to me by another Wikipedia user, and I confirmed it.

Thanks!

Event Timeline

Hi @OsmoseIt, thanks for taking the time to report this and sorry for the late answer.
Can you provide one example testcase for this problem please?

Sure thing! If you navigate to https://en.wikipedia.org/wiki/Pneumonia and click on the Pneumonia video on the right-hand side, then turn on subtitles for any language, you'll see the subtitles do not enable.

Let me know if you need anything else!

Using the web browser's developer tools, I see that requests to
https://commons.wikimedia.org/w/index.php?title=:Pneumonia.webm.en.srt&action=raw&ctype=text%2Fx-srt
are a 404 error.
On Commons, the request is a successful 304 and goes to
https://commons.wikimedia.org/w/index.php?title=TimedText:Pneumonia.webm.en.srt&action=raw&ctype=text%2Fx-srt
instead.

It looks like the TimedText: namespace is missing in the URL on Wikipedia.

Aklapper renamed this task from Subtitles on Wikipedia Videos not displaying to Subtitles of Commons video not shown (404) on Wikipedias, due to missing "TimedText:" namespace in URLs.Jun 9 2016, 6:05 PM