#4 Расширить форматы для загрузки файлов #5

Merged
stuzer05 merged 1 commits from stuzer05/docker-mediawiki#4 into master 2023-06-25 15:27:49 +03:00

@ -60,6 +60,9 @@ $wgEmailAuthentication = true;
// 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, [
'doc', 'xls', 'pdf', 'ppt', 'xlsx',
]);
// $wgUseImageMagick = true; // $wgUseImageMagick = true;
// $wgImageMagickConvertCommand = "/usr/bin/convert"; // $wgImageMagickConvertCommand = "/usr/bin/convert";
// $wgFileExtensions = []; // $wgFileExtensions = [];