Page MenuHomePhabricator

can't upload scribus file (.sla)
Closed, InvalidPublic

Description

Author: annaig.denis

Description:
can't upload scribus file (.sla) while I added it in for mime-types and autorized files


Version: 1.15.x
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=2089
https://bugzilla.wikimedia.org/show_bug.cgi?id=18845

Details

Reference
bz40504

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 22 2014, 1:10 AM
bzimport set Reference to bz40504.
bzimport added a subscriber: Unknown Object (MLST).

What did you add to your LocalSettings.php to attempt to allow upload of sla files?

Annaïg: Can you please answer comment 1?
Also, which MediaWiki version is this about?

annaig.denis wrote:

sorry, I did not notices comment 1.

I had sla as autorized files in LocalSettings.php :

$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'svg', 'txt', 'pdf', 'sxw', 'eml', 'odt', 'sxc', 'odp', 'ods', 'zip', 'tar.gz', 'tar.bz2', 'doc', 'xls', 'ppt', 'ott','otp', 'odg', 'odb', 'eps', 'sla', 'docx', 'pptx', 'xlsx');

and also I added a line in the mime.type file:

application/x-scribus sla

my MediaWiki version is 1.15.4

thks

(In reply to comment #3)

my MediaWiki version is 1.15.4

Uhm, that's not supported anymore - might turn this into a support question as nobody will investigate if there is really a bug in the software code unless this is not about 1.19.x or 1.20.x.

Is $wgVerifyMimeType enabled? If yes, what's the value of $wgMimeTypeBlacklist ?

For general information, also see http://www.mediawiki.org/wiki/Manual:LocalSettings.php and https://www.mediawiki.org/wiki/Manual:Configuring_file_uploads and http://www.mediawiki.org/wiki/Manual:%24wgFileExtensions for more information.

Annaïg: Can you please answer comment 4?

Lack of reply from reporter for more than 3 months; marking as RESOLVED INVALID.