]> git.openstreetmap.org Git - chef.git/commitdiff
mediawiki: re-enable osm extensions
authorGrant Slater <git@firefishy.com>
Sat, 2 Jan 2016 08:22:07 +0000 (08:22 +0000)
committerGrant Slater <git@firefishy.com>
Sat, 2 Jan 2016 08:22:07 +0000 (08:22 +0000)
cookbooks/mediawiki/providers/site.rb
cookbooks/mediawiki/templates/default/mw-ext-SimpleMap.inc.php.erb [new file with mode: 0644]
cookbooks/mediawiki/templates/default/mw-ext-SlippyMap.inc.php.erb [new file with mode: 0644]
cookbooks/mediawiki/templates/default/mw-ext-osmtaginfo.inc.php.erb [new file with mode: 0644]

index 6e3b5202256f2c0ddf648e5915fbf728c37a695e..52ae3224c841b897e8777c86264ddd8342521530 100644 (file)
@@ -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 (file)
index 0000000..2984e28
--- /dev/null
@@ -0,0 +1,3 @@
+<?php
+# DO NOT EDIT - This file is being maintained by Chef
+require_once($IP .'/extensions/SimpleMap/SimpleMap.php');
diff --git a/cookbooks/mediawiki/templates/default/mw-ext-SlippyMap.inc.php.erb b/cookbooks/mediawiki/templates/default/mw-ext-SlippyMap.inc.php.erb
new file mode 100644 (file)
index 0000000..00aee9c
--- /dev/null
@@ -0,0 +1,3 @@
+<?php
+# DO NOT EDIT - This file is being maintained by Chef
+require_once($IP .'/extensions/SlippyMap/SlippyMap.php');
diff --git a/cookbooks/mediawiki/templates/default/mw-ext-osmtaginfo.inc.php.erb b/cookbooks/mediawiki/templates/default/mw-ext-osmtaginfo.inc.php.erb
new file mode 100644 (file)
index 0000000..4c75cb8
--- /dev/null
@@ -0,0 +1,3 @@
+<?php
+# DO NOT EDIT - This file is being maintained by Chef
+require_once($IP .'/extensions/osmtaginfo/osmtaginfo.php');