X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/663750c10bc7ac3d422b08055485be7819671086..e52e599f2d422640f127026d75234093a2233dfc:/cookbooks/mediawiki/providers/site.rb?ds=sidebyside diff --git a/cookbooks/mediawiki/providers/site.rb b/cookbooks/mediawiki/providers/site.rb index c17f871ca..7357e7d94 100644 --- a/cookbooks/mediawiki/providers/site.rb +++ b/cookbooks/mediawiki/providers/site.rb @@ -89,7 +89,7 @@ action :create do git mediawiki_directory do action :sync - repository "git://github.com/wikimedia/mediawiki" + repository "https://gerrit.wikimedia.org/r/p/mediawiki/core.git" revision mediawiki_reference user node[:mediawiki][:user] group node[:mediawiki][:group] @@ -376,6 +376,17 @@ action :create do update_site false end + mediawiki_extension "Mantle" do + site new_resource.name + update_site false + end + + mediawiki_extension "MobileFrontend" do + site new_resource.name + template "mw-ext-MobileFrontend.inc.php.erb" + update_site false + end + cookbook_file "#{site_directory}/cc-wiki.png" do cookbook "mediawiki" owner node[:mediawiki][:user]