From 2584c41c7e1f58aeb43d122b154f7b05301f823b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=B9=E3=83=84=E3=82=BC=E3=83=AB?= Date: Sun, 25 Jun 2023 15:27:37 +0300 Subject: [PATCH] Update build/mediawiki_override/LocalSettings.php --- build/mediawiki_override/LocalSettings.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/mediawiki_override/LocalSettings.php b/build/mediawiki_override/LocalSettings.php index 9e4eab8..a66f879 100644 --- a/build/mediawiki_override/LocalSettings.php +++ b/build/mediawiki_override/LocalSettings.php @@ -60,6 +60,9 @@ $wgEmailAuthentication = true; // To enable image uploads, make sure the 'images' directory // is writable, then set this to true: $wgEnableUploads = true; +$wgFileExtensions = array_merge($wgFileExtensions, [ + 'doc', 'xls', 'pdf', 'ppt', 'xlsx', +]); // $wgUseImageMagick = true; // $wgImageMagickConvertCommand = "/usr/bin/convert"; // $wgFileExtensions = [];