]> git.openstreetmap.org Git - chef.git/commitdiff
mediawiki: cldr fix
authorGrant Slater <git@firefishy.com>
Sat, 2 Jan 2016 08:03:49 +0000 (08:03 +0000)
committerGrant Slater <git@firefishy.com>
Sat, 2 Jan 2016 08:03:49 +0000 (08:03 +0000)
cookbooks/mediawiki/providers/site.rb
cookbooks/mediawiki/templates/default/mw-ext-cldr.inc.php.erb [new file with mode: 0644]

index f93306f56dd70a795ab8ccd6116617235cec2447..ee882a253b12d05758f3554a896ebad1933723d0 100644 (file)
@@ -295,6 +295,7 @@ action :create do
 
   mediawiki_extension "cldr" do
     site new_resource.name
+    template "mw-ext-cldr.inc.php.erb"
     tag mw_lang_ext_bundle_tag
     update_site false
   end
diff --git a/cookbooks/mediawiki/templates/default/mw-ext-cldr.inc.php.erb b/cookbooks/mediawiki/templates/default/mw-ext-cldr.inc.php.erb
new file mode 100644 (file)
index 0000000..e1584fe
--- /dev/null
@@ -0,0 +1,3 @@
+<?php
+# DO NOT EDIT - This file is being maintained by Chef
+require_once( $IP.'/extensions/cldr/cldr.php' );