From 680ff1ff298a48b923644ea32b3dea392fca299a Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 17 May 2017 12:32:45 +0100 Subject: [PATCH] Allow ods files to be uploaded to mediawiki instances --- cookbooks/mediawiki/templates/default/LocalSettings.php.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/cookbooks/mediawiki/templates/default/LocalSettings.php.erb b/cookbooks/mediawiki/templates/default/LocalSettings.php.erb index 80a5e8710..af0a68869 100644 --- a/cookbooks/mediawiki/templates/default/LocalSettings.php.erb +++ b/cookbooks/mediawiki/templates/default/LocalSettings.php.erb @@ -93,6 +93,7 @@ $wgFileExtensions[] = 'doc'; $wgFileExtensions[] = 'pdf'; $wgFileExtensions[] = 'odt'; $wgFileExtensions[] = 'odp'; +$wgFileExtensions[] = 'ods'; $wgFileExtensions[] = 'svg'; <% @mediawiki[:extra_file_extensions].each do |mw_extra_file_extension| -%> $wgFileExtensions[] = '<%= mw_extra_file_extension %>'; -- 2.39.5