* Repopulated the previously deprecated $wgAvailableRights
authorTim Starling <tstarling@users.mediawiki.org>
Wed, 14 May 2008 00:38:28 +0000 (00:38 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Wed, 14 May 2008 00:38:28 +0000 (00:38 +0000)
* In WhiteList: made the names of the rights hard-coded, it doesn't make any sense to have them be configurable anymore

ConfirmEdit.php

index 2faac7f0395f83078049b265272beb9cf2318772..d632fb869988234a10ff817c7b74556630e0d245 100644 (file)
@@ -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: