Remove the CleanTalk Antispam extension
It is not needed anymore now that registration is closed and only LDAP accounts can edit or create pages Closes #130
This commit is contained in:
@@ -106,19 +106,6 @@ nginx_certbot_site server_name
|
||||
|
||||
mediawiki_credentials = Chef::EncryptedDataBagItem.load('credentials', 'mediawiki')
|
||||
|
||||
#
|
||||
# Cleantalk Antispam
|
||||
#
|
||||
|
||||
ark "antispam" do
|
||||
url "https://github.com/CleanTalk/mediawiki-antispam/archive/2.1.zip"
|
||||
path "#{node['mediawiki']['webdir']}/extensions/Antispam"
|
||||
owner node["nginx"]["user"]
|
||||
group node["nginx"]["group"]
|
||||
mode 0750
|
||||
action :dump
|
||||
end
|
||||
|
||||
#
|
||||
# MediawikiHubot extension
|
||||
#
|
||||
@@ -225,10 +212,6 @@ $wgPasswordReminderResendTime = 0;
|
||||
$wgArticlePath = "/$1";
|
||||
EOF
|
||||
)
|
||||
file.insert_line_if_no_match(/Antispam\.php/,
|
||||
"require_once \"$IP/extensions/Antispam/Antispam.php\";")
|
||||
file.insert_line_if_no_match(/wgCTAccessKey/,
|
||||
"$wgCTAccessKey = \"#{mediawiki_credentials['antispam_key']}\";")
|
||||
file.insert_line_if_no_match(/MediawikiHubot\.php/,
|
||||
"require_once \"$IP/extensions/MediawikiHubot/MediawikiHubot.php\";")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user