Add stl to allowed file upload types

This commit is contained in:
Adam Goldsmith 2020-11-12 15:18:00 -05:00
parent c094c21b43
commit 5703d93f35

View File

@ -79,7 +79,7 @@ $wgMemCachedServers = [];
## To enable image uploads, make sure the 'images' directory ## To enable image uploads, make sure the 'images' directory
## is writable, then set this to true: ## is writable, then set this to true:
$wgEnableUploads = true; $wgEnableUploads = true;
$wgFileExtensions = array_merge( $wgFileExtensions, array( 'pdf', 'svg' )); $wgFileExtensions = array_merge( $wgFileExtensions, array( 'pdf', 'svg', 'stl' ));
$wgUseImageMagick = true; $wgUseImageMagick = true;
$wgImageMagickConvertCommand = "/usr/bin/convert"; $wgImageMagickConvertCommand = "/usr/bin/convert";
$wgGenerateThumbnailOnParse = true; $wgGenerateThumbnailOnParse = true;