TTO has uploaded a new change for review.
https://gerrit.wikimedia.org/r/80537
Change subject: Add IP throttling exception for an Indian Wikipedia workshop
......................................................................
Add IP throttling exception for an Indian Wikipedia workshop
I am assuming that this system actually works. I found that
the previous itwiki GLAM event was written to a variable
"$wmfThrottlingExceptions", when it should have been
"$wmgThrottlingExceptions". Presumably this fault should have
been noticed, which makes me worry that this throttle override
system is totally broken.
Bug: 53218
Change-Id: I1f5b30f95050534ba95cb906e247afe626855e20
---
M wmf-config/throttle.php
1 file changed, 9 insertions(+), 10 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config
refs/changes/37/80537/1
diff --git a/wmf-config/throttle.php b/wmf-config/throttle.php
index 40687a3..1eca564 100644
--- a/wmf-config/throttle.php
+++ b/wmf-config/throttle.php
@@ -3,7 +3,10 @@
# WARNING: This file is publically viewable on the web.
# Do not put private data here.
-# The helper functions takes an array of parameters:
+# Initialize the array. Append to that array to add a throttle
+$wmgThrottlingExceptions = array();
+
+# $wmgThrottlingExceptions is an array of arrays of parameters:
# 'from' => date/time to start raising account creation throttle
# 'to' => date/time to stop
#
@@ -14,17 +17,13 @@
# 'dbname' => a $wgDBname or array of dbnames to compare to
# (eg. enwiki, metawiki, frwikibooks, eswikiversity)
# (default: any project)
-
-# Initialize the array. Append to that array to add a throttle
-$wmgThrottlingExceptions = array();
-
## Add throttling definitions below.
-$wmfThrottlingExceptions[] = array( // bug 49176 it.wiki GLAM event
- 'from' => '2013-06-08T12:00 +0:00',
- 'to' => '2013-06-08T17:00 +0:00',
- 'IP' => '46.255.84.17',
- 'dbname' => array( 'itwiki' ),
+$wmgThrottlingExceptions[] = array( // bug 53218
+ 'from' => '2013-08-27T00:00 +0:00',
+ 'to' => '2013-08-27T13:00 +0:00',
+ 'IP' => array( '210.212.174.177', '14.139.114.194' ),
+ //'dbname' => array( 'itwiki' ), -- so many indic wikis!
'value' => 50,
);
--
To view, visit https://gerrit.wikimedia.org/r/80537
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1f5b30f95050534ba95cb906e247afe626855e20
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: TTO <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits