On Thu, 17 Mar 2016 17:48:39 +0000 Patrick Uiterwijk <puiterwijk@xxxxxxxxxx> wrote: > Signed-off-by: Patrick Uiterwijk <puiterwijk@xxxxxxxxxx> > --- > roles/mediawiki/templates/LocalSettings.php.fp.j2 | 7 +++++++ > 1 file changed, 7 insertions(+) > > diff --git a/roles/mediawiki/templates/LocalSettings.php.fp.j2 > b/roles/mediawiki/templates/LocalSettings.php.fp.j2 index > 91edefb..a6c10b4 100644 --- > a/roles/mediawiki/templates/LocalSettings.php.fp.j2 +++ > b/roles/mediawiki/templates/LocalSettings.php.fp.j2 @@ -33,6 +33,12 > @@ $wgCaptchaClass = 'SimpleCaptcha'; #$wgCaptchaDirectoryLevels = 0; > #$wgCaptchaSecret = "{{ mediawikiCaptchaKey }}"; > > +$wgCaptchaTriggers['edit'] = true; > +$wgCaptchaTriggers['create'] = true; > +$wgCaptchaTriggers['addurl'] = true; > +$wgCaptchaTriggers['createaccount'] = true; > +$wgCaptchaTriggers['badlogin'] = false; > + > $wgRawHtml = false; > $wgProto = "https"; > {% if env == "staging" %} > @@ -76,6 +82,7 @@ $wgMimeDetectorCommand= "file -bi"; > #$wgGroupPermissions['user' ]['delete'] = true; > > $wgGroupPermissions['*']['createaccount'] = false; > +$wgGroupPermissions['user']['skipcaptcha'] = true; > > # HNP Can't manage the interwiki right... - Nigel > $wgGroupPermissions['*']['interwiki'] = false; +1 here also. Like pingou said, it looks fine and it's easy to revert if something bad happens. Tim
Attachment:
pgpOGMmPbZdas.pgp
Description: OpenPGP digital signature
_______________________________________________ infrastructure mailing list infrastructure@xxxxxxxxxxxxxxxxxxxxxxx http://lists.fedoraproject.org/admin/lists/infrastructure@xxxxxxxxxxxxxxxxxxxxxxx