]> git.openstreetmap.org Git - chef.git/commitdiff
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 80a5e8710e29e62b7accfe9055ecefa01318f06b..af0a688696bf84719570796495b59200fb1b9bc2 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 %>';