Add osm as an allowed file type for wiki uploads
authorClive Blackledge <cliveb@gmail.com>
Mon, 12 Feb 2018 16:54:39 +0000 (08:54 -0800)
committerTom Hughes <tom@compton.nu>
Wed, 14 Feb 2018 18:06:33 +0000 (18:06 +0000)
Fixes operations/194
Closes #150

cookbooks/mediawiki/templates/default/LocalSettings.php.erb

index 51b3311..b6355c2 100644 (file)
@@ -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 -%>