From: Tigerfell Date: Thu, 24 Jan 2019 22:10:50 +0000 (+0100) Subject: Add Thanks extension to wiki X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/ceab552534e0b204ce2eecd05584603d0ad23cfc Add Thanks extension to wiki Closes #214 --- diff --git a/cookbooks/wiki/recipes/default.rb b/cookbooks/wiki/recipes/default.rb index e574a884f..782fbdd3a 100644 --- a/cookbooks/wiki/recipes/default.rb +++ b/cookbooks/wiki/recipes/default.rb @@ -84,6 +84,18 @@ mediawiki_extension "OsmWikibase" do reference "master" end +mediawiki_extension "Echo" do + site "wiki.openstreetmap.org" + template "mw-ext-Echo.inc.php.erb" + template_cookbook "wiki" +end + +mediawiki_extension "Thanks" do + site "wiki.openstreetmap.org" + template "mw-ext-Thanks.inc.php.erb" + template_cookbook "wiki" +end + cookbook_file "/srv/wiki.openstreetmap.org/osm_logo_wiki.png" do owner node[:mediawiki][:user] group node[:mediawiki][:group] diff --git a/cookbooks/wiki/templates/default/mw-ext-Echo.inc.php.erb b/cookbooks/wiki/templates/default/mw-ext-Echo.inc.php.erb new file mode 100644 index 000000000..26560fbc1 --- /dev/null +++ b/cookbooks/wiki/templates/default/mw-ext-Echo.inc.php.erb @@ -0,0 +1,7 @@ +