From 846f07eb77ed692c8b295cc34e526891572c9432 Mon Sep 17 00:00:00 2001 From: Clive Blackledge Date: Mon, 12 Feb 2018 08:54:39 -0800 Subject: [PATCH] Add osm as an allowed file type for wiki uploads Fixes operations/194 Closes #150 --- 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 51b33115b..b6355c291 100644 --- a/cookbooks/mediawiki/templates/default/LocalSettings.php.erb +++ b/cookbooks/mediawiki/templates/default/LocalSettings.php.erb @@ -93,6 +93,7 @@ $wgFileExtensions[] = 'odt'; $wgFileExtensions[] = 'odp'; $wgFileExtensions[] = 'ods'; $wgFileExtensions[] = 'svg'; +$wgFileExtensions[] = 'osm'; <% @mediawiki[:extra_file_extensions].each do |mw_extra_file_extension| -%> $wgFileExtensions[] = '<%= mw_extra_file_extension %>'; <% end -%> -- 2.39.5