From 3faff0689975932aff9ea2ac9faa99057f4ab3f8 Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Fri, 30 Oct 2020 13:50:10 +0100 Subject: [PATCH] Extend upload options --- LocalSettings.php.tmpl | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/LocalSettings.php.tmpl b/LocalSettings.php.tmpl index f55d0b6..0594cc3 100644 --- a/LocalSettings.php.tmpl +++ b/LocalSettings.php.tmpl @@ -205,3 +205,8 @@ $wgSMTP = [ #'password' => 'my_password' // Password to use for SMTP authentication (if being used) ]; {{ end }} + +$wgFileExtensions = array( + 'png', 'gif', 'jpg', 'jpeg', 'doc', 'xls', 'mpp', 'pdf', 'ppt', 'tiff', + 'bmp', 'docx', 'xlsx', 'pptx', 'ps', 'odt', 'ods', 'odp', 'odg' +);