Add $wgRateLimits types ip-all and subnet-all
authorcenarium <cenarium.sysop@gmail.com>
Mon, 25 Jan 2016 23:52:56 +0000 (00:52 +0100)
committercenarium <cenarium.sysop@gmail.com>
Tue, 26 Jan 2016 14:07:55 +0000 (15:07 +0100)
commit47973faa7c7d48321551dd0cc6bb761bcd785942
tree0594664fc0c03e9957c154f39af1188278fe1546
parente5e63fafc358c2df79d36d15e4e540446f674dfa
Add $wgRateLimits types ip-all and subnet-all

These apply to all ping-limitable users, unlike ip and subnet that apply only
to anons and non-autoconfirmed users. However, if an autoconfirmed user is in
a group with less restrictive limits, then those are ignored.

This is necessary to move the account creation throttle into the ping limiter.

Bug: T50373
Change-Id: Ifc70a605bb8848070bdf2af8f2c3f80f68dcc085
includes/user/User.php
includes/utils/IP.php