]> git.openstreetmap.org Git - chef.git/blob - cookbooks/mediawiki/templates/default/mw-ext-ConfirmEdit.inc.php.erb
Enable resolved prometheus exporter
[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 wfLoadExtensions( array( 'ConfirmEdit', 'ConfirmEdit/hCaptcha' ) );
4 $wgHCaptchaSendRemoteIP = true;
5 $wgHCaptchaSiteKey = '<%= @public_key %>';
6 $wgHCaptchaSecretKey = '<%= @private_key %>';
7
8 $wgGroupPermissions['autoconfirmed']['skipcaptcha'] = true;
9 $wgGroupPermissions['bot'          ]['skipcaptcha'] = true;
10 $wgGroupPermissions['sysop'        ]['skipcaptcha'] = true;
11
12 $wgRateLimits['badcaptcha']['newbie'] = [ 100, 86400 ];