From: Tim Starling Date: Wed, 14 May 2008 00:38:28 +0000 (+0000) Subject: * Repopulated the previously deprecated $wgAvailableRights X-Git-Url: https://git.toastfreeware.priv.at/toast/cookiecaptcha.git/commitdiff_plain/f56e5735c8aa9dd7b44394ddccd85748a1eac18b?ds=inline * Repopulated the previously deprecated $wgAvailableRights * In WhiteList: made the names of the rights hard-coded, it doesn't make any sense to have them be configurable anymore --- diff --git a/ConfirmEdit.php b/ConfirmEdit.php index 2faac7f..d632fb8 100644 --- a/ConfirmEdit.php +++ b/ConfirmEdit.php @@ -55,6 +55,7 @@ $wgGroupPermissions['user' ]['skipcaptcha'] = false; $wgGroupPermissions['autoconfirmed']['skipcaptcha'] = false; $wgGroupPermissions['bot' ]['skipcaptcha'] = true; // registered bots $wgGroupPermissions['sysop' ]['skipcaptcha'] = true; +$wgAvailableRights[] = 'skipcaptcha'; /** * List of IP ranges to allow to skip the captcha, similar to the group setting: