]> git.openstreetmap.org Git - chef.git/blob - cookbooks/mediawiki/templates/default/mw-ext-ConfirmEdit.inc.php.erb
mediawiki: Additional anti-spam regex
[chef.git] / cookbooks / mediawiki / templates / default / mw-ext-ConfirmEdit.inc.php.erb
1 <?php
2 # DO NOT EDIT - This file is being maintained by Chef
3 require_once( $IP.'/extensions/ConfirmEdit/ReCaptcha.php' );
4 $wgCaptchaClass = 'ReCaptcha';
5 $recaptcha_public_key = '<%= @public_key %>';
6 $recaptcha_private_key = '<%= @private_key %>';
7
8 $wgCaptchaTriggers['addurl'] = true;
9 $wgCaptchaTriggers['create'] = true;
10
11 $wgGroupPermissions['autoconfirmed']['skipcaptcha'] = true;