Page MenuHomePhabricator

Allow various audio filetypes in scores
Closed, DeclinedPublic

Description

MediaWiki-extensions-Score's messages and code specify the use of OGG files. In preparation for the generation of MP3 files, the filetype should not be specified in messages (such as score-oggoverridenotfound) or in the logic. This would make the extension more open with better messaging, and reducing hardcoded values for other audio files to make it more extensible.

Uses of OGG in messages and attributes will be replaced by "audio," while keeping the "ogg" phrasing as a legacy for old scores.

override_ogg should also be allowed to have mp3 files.

Event Timeline

Ebe123 created this task.Dec 3 2017, 3:59 AM
TheDJ added a subscriber: TheDJ.Dec 4 2017, 10:13 AM
Ebe123 removed Ebe123 as the assignee of this task.Jan 1 2018, 8:47 AM
Ebe123 updated the task description. (Show Details)
Ebe123 closed this task as Declined.Jan 2 2018, 5:57 PM

There is no check to see whether file is OGG, but messages have been clarified to allow other filetypes per T183753: Generalize wording of audio formats in the code.