From d6047b6ed6cf6fafc6d5fce2065f147cddc64525 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Sat, 2 Jan 2016 08:22:07 +0000 Subject: [PATCH] mediawiki: re-enable osm extensions --- cookbooks/mediawiki/providers/site.rb | 6 +++--- .../templates/default/mw-ext-SimpleMap.inc.php.erb | 3 +++ .../templates/default/mw-ext-SlippyMap.inc.php.erb | 3 +++ .../templates/default/mw-ext-osmtaginfo.inc.php.erb | 3 +++ 4 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 cookbooks/mediawiki/templates/default/mw-ext-SimpleMap.inc.php.erb create mode 100644 cookbooks/mediawiki/templates/default/mw-ext-SlippyMap.inc.php.erb create mode 100644 cookbooks/mediawiki/templates/default/mw-ext-osmtaginfo.inc.php.erb diff --git a/cookbooks/mediawiki/providers/site.rb b/cookbooks/mediawiki/providers/site.rb index 6e3b52022..52ae3224c 100644 --- a/cookbooks/mediawiki/providers/site.rb +++ b/cookbooks/mediawiki/providers/site.rb @@ -373,26 +373,26 @@ action :create do mediawiki_extension "osmtaginfo" do site new_resource.name + template "mw-ext-osmtaginfo.inc.php.erb" repository "git://github.com/Firefishy/osmtaginfo.git" tag "live" update_site false - action :delete end mediawiki_extension "SimpleMap" do site new_resource.name + template "mw-ext-SimpleMap.inc.php.erb" repository "git://github.com/Firefishy/SimpleMap.git" tag "live" update_site false - action :delete end mediawiki_extension "SlippyMap" do site new_resource.name + template "mw-ext-SlippyMap.inc.php.erb" repository "git://github.com/Firefishy/SlippyMap.git" tag "live" update_site false - action :delete end mediawiki_extension "Mantle" do diff --git a/cookbooks/mediawiki/templates/default/mw-ext-SimpleMap.inc.php.erb b/cookbooks/mediawiki/templates/default/mw-ext-SimpleMap.inc.php.erb new file mode 100644 index 000000000..2984e2857 --- /dev/null +++ b/cookbooks/mediawiki/templates/default/mw-ext-SimpleMap.inc.php.erb @@ -0,0 +1,3 @@ +