[Mediawiki-l] Changing Image to File

Zain Memon zain at voltage.com
Wed Jun 29 02:13:31 UTC 2005


Thanks for the info. See, my main problem is that I'm deploying this to a company that isn't necessarily techie. When they upload a PDF, they don't want to call it an Image or a Media. They want to call it a document, or at the least, a file.

-----Original Message-----
From: mediawiki-l-bounces at Wikimedia.org [mailto:mediawiki-l-bounces at Wikimedia.org] On Behalf Of Hínandil
Sent: Tuesday, June 28, 2005 6:41 PM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] Changing Image to File

Zain Memon wrote:
> The default Uploadtext says that you should use a tag in the form
> [[{{ns:6}}:image.jpg]] to link to an image. When this Uploadtext is
> displayed on the actual Upload page, the {{ns:6}} displays as "Image".
> Does this mean that there is one place somewhere (called ns:6) where I
> can change "Image" to "File" so people can link to it as
> [[File:image.jpg]] instead?
> 
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
> 
> 

Well, no.  ns:6 is a variable that is called Image in MediaWiki in 
English.  The Image namespace is called different things in other languages.

The way it works is that you can link with [[Image:image.jpg]] to 
display a thumbnail, and if you want to link to a non-image, you use 
[[Media:image.jpg]] (or [[Media:foobar.mp3]], etc.).

If you want to make an inline link, you'd prefix either of those with a 
colon, like [[:Image:image.jpg]].

You *can* change the name of the namespace but I think it will break all 
existing links.

Hínandil
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l at Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l



More information about the MediaWiki-l mailing list