https://bugzilla.wikimedia.org/show_bug.cgi?id=30843

       Web browser: ---
             Bug #: 30843
           Summary: [mediawiki.Title.js] Converting extension to lowercase
                    causes undesired results
           Product: MediaWiki
           Version: 1.19-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Javascript
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: listenle...@gmail.com
                CC: tpars...@wikimedia.org
    Classification: Unclassified


Created attachment 9042
  --> https://bugzilla.wikimedia.org/attachment.cgi?id=9042
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".

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to