]> git.openstreetmap.org Git - chef.git/commitdiff
mediawiki: add osmcal tag extension
authorThomas Skowron <th@skowron.eu>
Thu, 8 Oct 2020 09:43:48 +0000 (11:43 +0200)
committerTom Hughes <tom@compton.nu>
Sat, 28 Nov 2020 10:52:21 +0000 (10:52 +0000)
cookbooks/mediawiki/resources/site.rb
cookbooks/mediawiki/templates/default/mw-ext-osmcalwikiwidget.inc.php.erb [new file with mode: 0644]

index 797b59409602f2ee0d0beab8cf5d884ef51fcfbf..58c6c8961aa6bdd4d47f6c1ca50ec478b85e0c5c 100644 (file)
@@ -453,6 +453,14 @@ action :create do
     update_site false
   end
 
+  mediawiki_extension "OSMCALWikiWidget" do
+    site new_resource.site
+    template "mw-ext-osmcalwikiwidget.inc.php.erb"
+    repository "https://github.com/thomersch/OSMCALWikiWidget.git"
+    tag "live"
+    update_site false
+  end
+
   mediawiki_extension "SimpleMap" do
     site new_resource.site
     template "mw-ext-SimpleMap.inc.php.erb"
diff --git a/cookbooks/mediawiki/templates/default/mw-ext-osmcalwikiwidget.inc.php.erb b/cookbooks/mediawiki/templates/default/mw-ext-osmcalwikiwidget.inc.php.erb
new file mode 100644 (file)
index 0000000..52e9e6f
--- /dev/null
@@ -0,0 +1,3 @@
+<?php
+# DO NOT EDIT - This file is being maintained by Chef
+wfLoadExtension( 'OSMCALWikiWidget' );