Allow ods files to be uploaded to mediawiki instances
authorTom Hughes <tom@compton.nu>
Wed, 17 May 2017 11:32:45 +0000 (12:32 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 17 May 2017 11:32:45 +0000 (12:32 +0100)
cookbooks/mediawiki/templates/default/LocalSettings.php.erb

index 80a5e87..af0a688 100644 (file)
@@ -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 %>';