Cenarium has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/266454

Change subject: Move account creation throttle to ping limiter and remove 
noratelimit from account creators
......................................................................

Move account creation throttle to ping limiter and remove noratelimit from 
account creators

This requires Id355b7605af2c10fdc3e9ebc5ea38cd5c8dfd991 that moves
the account creation throttle to the ping limiter in core.
noratelimit is removed from account creators and they are instead given
a rate limit of 100 account creations per hour.

Bug: T85538
Change-Id: I5e5069f63d404ed6c14ea8032734bf863d6f9fa8
---
M wmf-config/InitialiseSettings.php
1 file changed, 39 insertions(+), 18 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/54/266454/1

diff --git a/wmf-config/InitialiseSettings.php 
b/wmf-config/InitialiseSettings.php
index 4d535e9..3db8a8f 100644
--- a/wmf-config/InitialiseSettings.php
+++ b/wmf-config/InitialiseSettings.php
@@ -6446,18 +6446,6 @@
 ),
 # @} end of wgExtraNamespaces
 
-'wgAccountCreationThrottle' => array(
-       'default' => 6, // previously 10
-       'private' => 0, // disable for wikis with sysop-only account creation
-       'fishbowl' => 0,
-       'hewikibooks' => 4,
-       'hewikinews' => 4,
-       'hewikiquote' => 4,
-       'hewikisource' => 4,
-       'hewiktionary' => 4,
-       'idwiki' => 0,
-),
-
 'wgDefaultSkin' => array(
        'default' => 'vector',
        'nostalgiawiki' => 'nostalgia',
@@ -7053,10 +7041,49 @@
                        'ip' => array( 70, 30 ),
                        'user' => array( 70, 30 ),
                ),
+               'createaccount' => array(
+                       'ip-all' => array( 6, 86400 ), // 6 per day per ip for 
all users
+                       'accountcreator' => array( 100, 60 ), // 100 per hour 
for account creators
+               ),
        ),
        '+dewiki' => array( // T59820
                'rollback' => array(
                        'editor' => array( 100, 60 ),
+               ),
+       ),
+       '+private' => array(
+               'createaccount' => array(
+                       'ip-all' => null,
+               ),
+       ),
+       '+fishbowl' => array(
+               'createaccount' => array(
+                       'ip-all' => null,
+               ),
+       ),
+       '+hewikibooks' => array(
+               'createaccount' => array(
+                       'ip-all' => array( 4, 86400 ),
+               ),
+       ),
+       '+hewikinews' => array(
+               'createaccount' => array(
+                       'ip-all' => array( 4, 86400 ),
+               ),
+       ),
+       '+hewikiquote' => array(
+               'createaccount' => array(
+                       'ip-all' => array( 4, 86400 ),
+               ),
+       ),
+       '+hewikisource' => array(
+               'createaccount' => array(
+                       'ip-all' => array( 4, 86400 ),
+               ),
+       ),
+       '+idwiki' => array(
+               'createaccount' => array(
+                       'ip-all' => null,
                ),
        ),
 ),
@@ -7314,7 +7341,6 @@
                        'collectionsaveascommunitypage' => false,
                        'skipcaptcha' => false,
                ),
-               'accountcreator' => array( 'noratelimit' => false, ),
                'bureaucrat' => array( 'createaccount' => true, ),
                'sysop' => array( 'createaccount' => false, ),
        ),
@@ -7941,7 +7967,6 @@
                'shellmanagers' => array('userrights' => false ),
        ),
        '+legalteamwiki' => array( // T63222
-               'accountcreator' => array( 'noratelimit' => false ),
                'bureaucrat' => array( 'createaccount' => true ),
                'sysop' => array( 'createaccount' => false ),
        ),
@@ -8079,7 +8104,6 @@
                        'collectionsaveascommunitypage' => false,
                        'skipcaptcha' => false,
                ),
-               'accountcreator' => array( 'noratelimit' => false, ),
                'bureaucrat' => array( 'createaccount' => true, ),
                'sysop' => array( 'createaccount' => false, ),
        ),
@@ -8611,9 +8635,6 @@
                        'deletelogentry' => true,
                ),
                'bot' => array(
-                       'noratelimit' => true,
-               ),
-               'accountcreator' => array(
                        'noratelimit' => true,
                ),
                'bureaucrat' => array(

-- 
To view, visit https://gerrit.wikimedia.org/r/266454
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5e5069f63d404ed6c14ea8032734bf863d6f9fa8
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Cenarium <cenarium.sy...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to