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

           Summary: certain file types are blocked for uploading
           Product: MediaWiki
           Version: 1.16.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Uploading
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: flo...@gmail.com
                CC: gpaum...@wikimedia.org, bryan.tongm...@gmail.com


The relevant parts of my LocalSettings.php read as follows:

$wgEnableUploads       = true;
$wgUploadSizeWarning = 0;
$wgMaxUploadSize = 33554432;
$wgUseAjax = true;
$wgCheckFileExtensions = false;
$wgStrictFileExtensions = false;
$wgVerifyMimeType = false;

Although this should allow uploading of all file types, I cannot upload PDF or
ODF documents with this configuration. After choosing them in Firefox 3.6 as
upload, nothing happens, the input box stays empty, no error message.

I have to explicitly add

$wgFileExtensions[] = 'pdf';
$wgFileExtensions[] = 'odt';
$wgFileExtensions[] = 'ods';
$wgFileExtensions[] = 'odp';

so it works. Looks like a bug to me.

-- 
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