Remove this ucfirst() crap. $filtered is already a DB key, so it should've been norma...
authorChad Horohoe <demon@users.mediawiki.org>
Mon, 12 Jan 2009 23:58:07 +0000 (23:58 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Mon, 12 Jan 2009 23:58:07 +0000 (23:58 +0000)
includes/specials/SpecialUpload.php

index 3e2c02a..51f31c4 100644 (file)
@@ -508,11 +508,6 @@ class UploadForm {
                                $warning .=  '<li>'.wfMsgHtml( 'badfilename', htmlspecialchars( $this->mDestName ) ).'</li>';
                        }
 
-                       global $wgCapitalLinks;
-                       if( $wgCapitalLinks ) {
-                               $filtered = ucfirst( $filtered );
-                       }
-
                        global $wgCheckFileExtensions;
                        if ( $wgCheckFileExtensions ) {
                                if ( !$this->checkFileExtension( $finalExt, $wgFileExtensions ) ) {