X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/6ca991d2824c62cd59fcab517c9dc2c2f3698fd9..cc78cdd0b29d1d1a966b36dca357392d35597eb7:/cookbooks/mediawiki/resources/site.rb diff --git a/cookbooks/mediawiki/resources/site.rb b/cookbooks/mediawiki/resources/site.rb index 00fd53725..82ae15c28 100644 --- a/cookbooks/mediawiki/resources/site.rb +++ b/cookbooks/mediawiki/resources/site.rb @@ -24,7 +24,7 @@ default_action :create property :site, :kind_of => String, :name_property => true property :aliases, :kind_of => [String, Array] property :directory, :kind_of => String -property :version, :kind_of => String, :default => "1.35" +property :version, :kind_of => String, :default => "1.37" property :database_name, :kind_of => String, :required => true property :database_user, :kind_of => String, :required => [:create, :update] property :database_password, :kind_of => String, :required => [:create, :update] @@ -503,6 +503,13 @@ action :create do update_site false end + # Broken Extension - 3 April 2022 - Remove. See https://github.com/openstreetmap/chef/pull/491#issuecomment-1086759504 + mediawiki_extension "QuickInstantCommons" do + site new_resource.site + update_site false + action :delete + end + cookbook_file "#{site_directory}/cc-wiki.png" do cookbook "mediawiki" owner node[:mediawiki][:user]