Page MenuHomePhabricator

Allows playing native FLAC files (not in Ogg container)
Closed, ResolvedPublic

Description

As bug 32103 says, Ogg FLAC is handled by TimedMediaHandler, but regular straight FLAC is not. The latter should also be playable (probably via transcoding), which would then make it reasonable to allow uploading them to Commons.


Version: master
Severity: normal

Details

Reference
bz49505

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:44 AM
bzimport set Reference to bz49505.

Related URL: https://gerrit.wikimedia.org/r/68642 (Gerrit Change I7e4d3471832510b2c90a1279514266efd60481cf)

So great! Please, let us know as soon as we can test it somewhere online.

Patch got merged, anything else left to do here or can this be closed as RESOLVED FIXED?

(In reply to comment #3)

Patch got merged, anything else left to do here or can this be closed as
RESOLVED FIXED?

Yes, it's fixed.

(In reply to comment #2)

So great! Please, let us know as soon as we can test it somewhere online.

It will be live on commons probably Monday July 8. It should be live on test.wikipedia.org, test2.wikipedia.org and mediawiki.org sometime today I believe.

(In reply to comment #4)

It will be live on commons probably Monday July 8. It should be live on
test.wikipedia.org, test2.wikipedia.org and mediawiki.org sometime today I
believe.

Commons has to allow accepting this format first, which requires a commit to InitialiseSettings.php ($wmgFileExtensions), since the default settings for $wgFileExtensions do not include .flac (yet).

So even if TimedMediaHandler will accept .flac files, it still won't be possible to upload them in the first place.

(In reply to comment #5)

(In reply to comment #4)

It will be live on commons probably Monday July 8. It should be live on
test.wikipedia.org, test2.wikipedia.org and mediawiki.org sometime today I
believe.

Commons has to allow accepting this format first, which requires a commit to
InitialiseSettings.php ($wmgFileExtensions), since the default settings for
$wgFileExtensions do not include .flac (yet).

So even if TimedMediaHandler will accept .flac files, it still won't be
possible to upload them in the first place.

TMH modifies $wgFileExtensions after InitialiseSettings, so once tmh gets updated, .flac will be allowed, no config change needed. Note how .webm is not in $wgFileExtensions.

Oh noes. I actually did read the documentation for $wgFileExtensions before posting that, and there wasn't anything about TMH there :-(

Perhaps the documentation on MW.org needs updating (hah! that's something new!).