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]
--- /dev/null
+<?php
+# DO NOT EDIT - This file is being maintained by Chef
+wfLoadExtension( 'Echo' );
+
+// configure the footer of e-mail notifications sent by the wiki
+// otherwise: empty string
+$wgEchoEmailFooterAddress = 'This notification was sent by the OpenStreetMap Wiki. You can turn off e-Mail notifications in your settings.';
--- /dev/null
+<?php
+# DO NOT EDIT - This file is being maintained by Chef
+wfLoadExtension( 'Thanks' );
+
+// Disable logging of thanks
+$wgThanksLogging = false;