On Thu, 17 Mar 2016 17:48:39 +0000
Patrick Uiterwijk <[email protected]> wrote:

> Signed-off-by: Patrick Uiterwijk <[email protected]>
> ---
>  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: pgpj4cYQ8yvrJ.pgp
Description: OpenPGP digital signature

_______________________________________________
infrastructure mailing list
[email protected]
http://lists.fedoraproject.org/admin/lists/[email protected]

Reply via email to