]> git.openstreetmap.org Git - chef.git/commitdiff
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 51b33115b2b6c90e91d45f4f8c252a168d338a83..b6355c2919986413aac5538c94889f633aa26d9c 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 -%>