]> git.openstreetmap.org Git - chef.git/blob - cookbooks/mediawiki/templates/default/mw-ext-ConfirmEdit.inc.php.erb
Mediawiki: use localhost for VisualEditor
[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/ReCaptcha' ) );
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;