Skip captcha enforcement for autopatrolled users

Any users who have been vetted by the wiki admins and added into the
autopatrol group (making their edits automatically patrolled) should
also not need to have a captcha enforced on their edits. This will
make wiki interactions much more convenient for them, and further
adds incentive to keep the autopatrol list up to date.

Change-Id: I2a2bfde6c506869f6fe6ef07c8fd64a35aac3528
This commit is contained in:
Jeremy Stanley 2016-09-09 16:04:44 +00:00
parent d79c672d41
commit e7dd71adf7
1 changed files with 3 additions and 0 deletions

View File

@ -206,6 +206,9 @@ $wgCaptchaTriggers['addurl'] = true;
$wgCaptchaTriggers['createaccount'] = true;
$wgCaptchaTriggers['badlogin'] = true;
# Skip captcha enforcement on any users who have been vetted into autopatrol
$wgGroupPermissions['autopatrol']['skipcaptcha'] = true;
#OpenID
require_once( "$IP/extensions/OpenID/OpenID.php" );