Last modified: 2013-01-29 13:05:00 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 T5574, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3574 - Better wiki markup to display media files needed
Better wiki markup to display media files needed
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: Low minor with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
Blocks: 41371
  Show dependency treegraph
Reported: 2005-09-30 11:47 UTC by Duncan Harris
Modified: 2013-01-29 13:05 UTC (History)
2 users (show)

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


Description Duncan Harris 2005-09-30 11:47:49 UTC
We need a more effective way of linking to sound and video files.

I think the best way to do this is to have a right floating framed box displaying the icon (for ogg 
files, and others as appropriate).

We could use image markup-like markup, e.g. [[media:example.ogg|frame|right|Listen to 
the example image!]] to achieve this.  Clicking on the icon would take the user 
through to the description page, where all the copyright information, etc, should be 
displayed and a download link given.

There are various options as to how to render it and display the copyright 
information other than above.  However, I think the latter is very important for 
media and oughtn't really be bypassed.  Especially if it is not under the GFDL but cc-

Maybe that should be another bug that [[media:example.ogg]] shouldn't be a blue 
textlink through to the file but to its description page, hmmmmm...
Comment 1 Duncan Harris 2005-09-30 16:46:09 UTC
More thoughts:

The copyright issue is even more important if it is a low quality short section of 
a song that falls under fair use.

Although it is possible to straight through to images with [[media:foo.jpg]], 
people don't, whereas they do link straight through to other media.

If it was easy to get them to behave like images, then they could be displayed 
within gallery tags. dumdedum.
Comment 2 Rowan Collins [IMSoP] 2005-10-01 12:50:03 UTC
For other related thoughts, see [[meta:Multimedia]]

(In reply to comment #0)
> Maybe that should be another bug that [[media:example.ogg]] shouldn't be a blue 
> textlink through to the file but to its description page, hmmmmm...

Well, we already have a syntax for that: [[:Image:Example.ogg]]. OK, so it's not
very intuitively named, but it allows us all three types of link (link to file,
link to description, display file inline if image). See also bug 44
Comment 3 Duncan Harris 2005-10-02 12:26:28 UTC
I have had a very good idea.

See for how it works.

If it looks like an image box, that's because basically it is, but with added kazam!

There are three columns each with a link and a button (which we'll have to get
these made to look pretty but these placeholders are okay for the moment):

   1. Indicates whether it is a sound file or a video file, e.g. be a copy of for ogg
file. Clicking the link or icon takes you through to the image description page
and more data about the file.
   2. Clicking on the second play icon plays/downloads the file.
   3. For help because these files are quite complicated.

The caption goes beneath the box, as with pictures.

There are also a few formatting issues that need to be sorted out as all of it
ought to be blue and there are white lines where the table is. I'm also not sure
that the text and the icons are required, maybe just the icons with alt text
would suffice.  But those are minor points.

Still, neat, eh?  I think this is important enough to be a high priority.  I am
feeling quite proud of myself.
Comment 4 Aryeh Gregor (not reading bugmail, please e-mail directly) 2006-06-01 02:30:06 UTC
Inspired by the fact that someone unknowingly started working on Bug 1234, which
is going to be one of our [[m:Summer of Code 2006]] projects, I would like to
note that the other project is relevant to this:

"No-install in-browser display of video (and audio?) clips for Wikimedia
Commons, using reasonably common Java and/or Flash components. Needs to be able
to 1) play or transparently pre-convert Ogg Theora videos, 2) avoid use of
patent-encumbered formats. Consider integration of Fluendo's Cortado player
applet as a starting point."
Comment 5 Marco 2013-01-28 19:01:15 UTC
Please close this as "Wontfix". The recent launch of TMH made this proposed enhancement  obsolete.
Comment 6 Andre Klapper 2013-01-29 13:05:00 UTC
More info on TMH:

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