Last modified: 2011-09-18 05:03:51 UTC
Created attachment 9042 [details] Qunit test mediawiki.Title.js converts the extension (or what it thinks is the extension) to lowercase. This is only a good thing when you want to normalize user input for a new file, if you want to get information about an already existing file or the page is in some other namespace, converting things behind a dot to lowercase is the wrong behavior. The patch adds a qunit test that fails at the moment, since "User:ABC.DEF" is converted to "User:ABC.def".
MediaWiki doesn't convert extension as far as I know, so we shoudn't be doing this in JS either. Especially not for random suffixes that aren't to be recognized as extensions.
Test added in r97405. Bug fixed in r97406.