[Mediawiki-l] Image name gets capitalized after upload

Rowan Collins rowan.collins at gmail.com
Fri May 20 17:17:31 UTC 2005


On 20/05/05, A Chan <chanamy1 at sbcglobal.net> wrote:
> I've uploaded a media file with a lower case name,
> e.g., "myfile".  But when viewing the image page, the
> file name is capitalized to "Myfile".  Is there anyway
> to preserve the case of the uploaded file?

This is because, unless told not to, MediaWiki ignores the case of the
first letter in a title - this is so that you can type "...is a kind
of [[tree]]", and be linked to an article with the displayed title
"Tree". The behaviour can be turned off globally - for instance, a
dictionary-type project may not want this behaviour - but not on a
case-by-case basis. Because the name of a file is also the title of
its description page, it too defaults to beginning upper-case.

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

-- 
Rowan Collins BSc
[IMSoP]



More information about the MediaWiki-l mailing list