From: Clive Blackledge Date: Mon, 12 Feb 2018 16:54:39 +0000 (-0800) Subject: Add osm as an allowed file type for wiki uploads X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/846f07eb77ed692c8b295cc34e526891572c9432 Add osm as an allowed file type for wiki uploads Fixes operations/194 Closes #150 --- 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 -%>