Index: trunk/phase3/includes/User.php |
— | — | @@ -1299,12 +1299,7 @@ |
1300 | 1300 | * @return Bool True if rate limited |
1301 | 1301 | */ |
1302 | 1302 | public function isPingLimitable() { |
1303 | | - global $wgRateLimitsExcludedGroups; |
1304 | 1303 | global $wgRateLimitsExcludedIPs; |
1305 | | - if( array_intersect( $this->getEffectiveGroups(), $wgRateLimitsExcludedGroups ) ) { |
1306 | | - // Deprecated, but kept for backwards-compatibility config |
1307 | | - return false; |
1308 | | - } |
1309 | 1304 | if( in_array( wfGetIP(), $wgRateLimitsExcludedIPs ) ) { |
1310 | 1305 | // No other good way currently to disable rate limits |
1311 | 1306 | // for specific IPs. :P |
Index: trunk/phase3/includes/DefaultSettings.php |
— | — | @@ -3670,17 +3670,6 @@ |
3671 | 3671 | $wgRateLimitLog = null; |
3672 | 3672 | |
3673 | 3673 | /** |
3674 | | - * Array of groups which should never trigger the rate limiter |
3675 | | - * |
3676 | | - * @deprecated since 1.13.0, the preferred method is using |
3677 | | - * $wgGroupPermissions[]['noratelimit']. However, this will still |
3678 | | - * work if desired. |
3679 | | - * |
3680 | | - * $wgRateLimitsExcludedGroups = array( 'sysop', 'bureaucrat' ); |
3681 | | - */ |
3682 | | -$wgRateLimitsExcludedGroups = array(); |
3683 | | - |
3684 | | -/** |
3685 | 3674 | * Array of IPs which should be excluded from rate limits. |
3686 | 3675 | * This may be useful for whitelisting NAT gateways for conferences, etc. |
3687 | 3676 | */ |