[Mediawiki-l] Uploaded file (media) icons

Rowan Collins rowan.collins at gmail.com
Fri Nov 25 17:09:35 UTC 2005


On 25/11/05, Nick Triantos <nick-gmane at triantos.com> wrote:
> I've tried nesting an [[Image:myicon.png]] as the caption for a Media
> file, but that doesn't work. I've also tried using
> [[Media:mywordfile.doc]] as the caption for the image, and that also
> didn't work.

There's currently no (nice) way of making an image link anywhere other
than its description page; see
http://bugzilla.wikipedia.org/show_bug.cgi?id=539 for the possibility
of such a feature in future.

> Also, it might be nice to have another link type (maybe
> [[Attachment:myfile.txt]] which creates a reference to a list of
> attachments, and then elsewhere in the doc, use something like
> [[Inline:Attachments]] or whatever to create a table of files with icon,
> filename, maybe file size, mod date, author, etc.

I'm not quite sure what the advantage would be of referencing the
attachments in a different place to where they appear - or did you
mean that they would appear twice, once inline and once at the end (or
at a specified location)? Either way, the idea of being able to
automatically include metadata about the files is an interesting one -
it could almost be thought of as an extension of the current
{{transclusion}} systems...

Also note that this is unlikely to be a priority for inclusion and
maintenance within the main release, since it's not really the kind of
file-handling that's used in the Wikimedia projects. Whether the
current extension systems are powerful enough to allow it to be
developed that way for people using MediaWiki in a more CMS-like
context, I'm not sure.

--
Rowan Collins BSc
[IMSoP]



More information about the MediaWiki-l mailing list