[Mediawiki-l] How to treat "Images" simply as "files"?

Rowan Collins rowan.collins at gmail.com
Tue Apr 19 19:40:01 UTC 2005


On 4/19/05, Matt England <mengland at mengland.net> wrote:
> I want these image/file references (a la [[Image:Some_uploaded_file.zip]] )
> to not be processed as an "image."  How can I do this?  What markup do I
> use?  Currently my reference above looks like a "sunken box" with the
> filename text inside of it on my page...as if the page is trying to
> process/display it as an image?

You can use three kinds of link:
* [[Image:Foo]] - attempts to display it inline
* [[:Image:Foo]] - just links to the description page (note the extra ":")
* [[Media:Foo]] - links directly to the uploaded file, not the
description; the browser will then decide whether to display, open, or
download that file.

See also http://bugzilla.wikimedia.org/show_bug.cgi?id=44

-- 
Rowan Collins BSc
[IMSoP]



More information about the MediaWiki-l mailing list