Last modified: 2009-11-28 04:43:46 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T20922, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18922 - MIDI files - inconsistent handling of [[File:...]] vs [[:File:...]] vs [[Media:...]]
MIDI files - inconsistent handling of [[File:...]] vs [[:File:...]] vs [[Medi...
Status: RESOLVED DUPLICATE of bug 18852
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.15.x
All All
: Normal minor (vote)
: ---
Assigned To: Chad H.
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-26 08:54 UTC by Happy-melon
Modified: 2009-11-28 04:43 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Happy-melon 2009-05-26 08:54:52 UTC
I'm not actually sure which component handles MIDI playback in MW, so I stuck this in the general file/repo, please move it if you know where it belongs.

There is currently inconsistent handling of links to media files between MIDI and OGG:

[[:File:Foo.ogg]] --> link to file description page, as expected
[[:File.Foo.midi]] --> link to file description page, as expected

[[Media:Foo.ogg]] --> Downloads file on FF3.0.10
[[Media:Foo.midi]] --> *plays* file in distinct window on FF3.0.10

[[File:Foo.ogg]] --> Inline widget to play file inline
[[File:Foo.midi]] --> links to file description page

Without a doubt, [[File:Foo.midi]] should be either an inline widget or a link to the same play-in-separate-window process that's currently achieved with [[Media:Foo.midi]].  I realise that the variation between the [[Media:...]] calls may be browser-dependent, but that's also something that should be looked into.  These functions should have consistent handling.
Comment 1 Brion Vibber 2009-05-26 20:52:04 UTC
> [[Media:Foo.ogg]] --> Downloads file on FF3.0.10
> [[Media:Foo.midi]] --> *plays* file in distinct window on FF3.0.10

This is because your Firefox 3.0.10 installation doesn't have a native or plugin component installed to play .ogg files, but does have a plugin component to play .midi files. If your Firefox installation had a plugin capable of playing Ogg files, or you had Firefox 3.5 beta installed which supports them natively, they would happily play it inline the same way.

> [[File:Foo.ogg]] --> Inline widget to play file inline
> [[File:Foo.midi]] --> links to file description page

This is because the wiki you're looking at has an inline Ogg player component, but not an inline Midi player component... I'm duping this to bug 18852 which appears to be asking for just that.

*** This bug has been marked as a duplicate of bug 18852 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links