Page MenuHomePhabricator

Captions are not displayed on Commons videos (.webm files) although exist .srt files
Closed, ResolvedPublic

Description

Hi,

I noticed that captions are not working on the Commons videos (.webm files), although I have .srt files for the videos. For example, here is the video file (Commons file) and here is the Macedonian translation (captions), but still when you try to use captions in the file, you cannot find any captions, but you can create captions once again.

I tried to find any other similar issues, and as I did not find, I opened this task. --~~~~

Event Timeline

TheDJ added a project: Regression.
TheDJ subscribed.

that's my bad. should be fixed monday or tuesday.

TheDJ triaged this task as Medium priority.Fri, Jul 31, 3:34 PM

Change #1319882 had a related patch set uploaded (by TheDJ; author: TheDJ):

[mediawiki/extensions/TimedMediaHandler@master] TimedText: Include SRT-only sources when listing playback tracks

https://gerrit.wikimedia.org/r/1319882

Hmm, this happened due to a last minute rewrite in the track listing where the callers of that function didn't change with the function and of course there was no test coverage :(

Change #1319882 merged by jenkins-bot:

[mediawiki/extensions/TimedMediaHandler@master] TimedText: Include SRT-only sources when listing playback tracks

https://gerrit.wikimedia.org/r/1319882

Change #1320159 had a related patch set uploaded (by Jforrester; author: TheDJ):

[mediawiki/extensions/TimedMediaHandler@wmf/1.47.0-wmf.13] TimedText: Include SRT-only sources when listing playback tracks

https://gerrit.wikimedia.org/r/1320159

Change #1320159 merged by jenkins-bot:

[mediawiki/extensions/TimedMediaHandler@wmf/1.47.0-wmf.13] TimedText: Include SRT-only sources when listing playback tracks

https://gerrit.wikimedia.org/r/1320159

Mentioned in SAL (#wikimedia-operations) [2026-08-04T13:38:48Z] <mszwarc@deploy1003> Started scap sync-world: Backport for [[gerrit:1320171|Thumbnail: Exclude map figures from multimediaviewer (T433703 T427709)]], [[gerrit:1320159|TimedText: Include SRT-only sources when listing playback tracks (T433666)]]

Mentioned in SAL (#wikimedia-operations) [2026-08-04T13:41:06Z] <mszwarc@deploy1003> mszwarc, jforrester: Backport for [[gerrit:1320171|Thumbnail: Exclude map figures from multimediaviewer (T433703 T427709)]], [[gerrit:1320159|TimedText: Include SRT-only sources when listing playback tracks (T433666)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Mentioned in SAL (#wikimedia-operations) [2026-08-04T13:48:07Z] <mszwarc@deploy1003> Finished scap sync-world: Backport for [[gerrit:1320171|Thumbnail: Exclude map figures from multimediaviewer (T433703 T427709)]], [[gerrit:1320159|TimedText: Include SRT-only sources when listing playback tracks (T433666)]] (duration: 09m 19s)