only_if { ::File.exist?("#{mediawiki_directory}/LocalSettings.php") }
end
- service "mediawiki-refresh-links@#{new_resource.site}.timer" do
- action [:enable, :start]
- only_if { ::File.exist?("#{mediawiki_directory}/LocalSettings.php") }
- end
-
template "/etc/cron.daily/mediawiki-#{cron_name}-backup" do
cookbook "mediawiki"
source "mediawiki-backup.cron.erb"
update_site false
end
+ # Extension has been archived: https://www.mediawiki.org/wiki/Extension:LocalisationUpdate
mediawiki_extension "LocalisationUpdate" do
site new_resource.site
- template "mw-ext-LocalisationUpdate.inc.php.erb"
- update_site false
+ action :delete
end
# mediawiki_extension "Translate" do