Increasing account creation threshold
There are cases when the Wikimedia Foundation or others will host events that have a tendency of creating a large number of new accounts during a short window of time from a single IP or small IP range. The IP can be effectively excluded from rate limiting. This will also raise edit rate limits to the value used for autoconfirmed users (by default 90 edits/minute) instead of the limit for non-autoconfirmed users (8 edits/minute for all newbies coming from the same IP address).
throttle.php
This can easily be done if you add an $wmgThrottlingExceptions array in wmf-config/throttle.php
// T000000
$wmgThrottlingExceptions[] = [
'from' => '2011-04-01T09:00:00 -5:00',
'to' => '2011-04-02T16:00:00 -5:00',
'IP' => '192.0.10.42',
'dbname' => [ 'enwiki' ],
'value' => 50,
'tempaccountvalue' => 6,
];
The 'IP', 'range' and 'dbname' values can all be single strings or arrays.
The 'IP'/'range' is optional, but highly recommended.
The processing logic for this is in wmf-config/throttle-analyze.php.
Reset
If you don't want to change the configuration but want to restart the throttle from zero (e.g. you are debugging some account creation flow in production), you can delete the memcached key with:
mwscript-k8s --comment='T00000' --follow -- resetAuthenticationThrottle.php --wiki=aawiki --signup --ip=1.2.3.4
(It does not matter which wiki you use, the throttle is global.)