Last modified: 2012-10-22 22:55:50 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T29172, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 27172 - Increase $wgAccountCreationThrottle for Portuguese Wikibooks
Increase $wgAccountCreationThrottle for Portuguese Wikibooks
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Site requests (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://pt.wikibooks.org/wiki/T%C3%B3p...
: shell
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-02-05 02:20 UTC by Helder
Modified: 2012-10-22 22:55 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Helder 2011-02-05 02:20:39 UTC
Hi!

Per request made on Portuguese Wikibooks (see URL [1]), please increase temporarily the value of $wgAccountCreationThrottle during 2 weeks, from February 14 to February 25.

This will be needed in order to continue the work on book [[b:pt:Logística]], which started last year[2]. The students will create the accounts during the first classes, under supervision of it's teacher, which will be coordinating that collaborative project during this semester.

There was a similar request on Bug 21510, where you can find the lines of code previously used to implement something like this.

PS: Platonides, could you please check the code below to see if I've adapted it correctly?

----
if ( $wgDBname == 'ptwikibooks' ) {
    # Account creation throttle disabled for "Logística 2011" project from [[FCT]] / [[New University of Lisbon]]
    if ( time() > strtotime( '2011-02-14T08:00 +1:00' )
      && time() < strtotime( '2011-02-25T23:00 +1:00' ) )
      && (wfGetIP() == '193.136.126.36' || wfGetIP() == '193.136.124.200') )
    {
        $wgAccountCreationThrottle = 100;
    }
}
----

[1] http://pt.wikibooks.org/wiki/T%C3%B3pico:Wikilivros:Di%C3%A1logos_comunit%C3%A1rios/Abertura_de_contas_por_IP_partilhado?uselang=en
[2] [[b:pt:Special:Contributions/193.136.126.36]]
Comment 1 JeLuF 2011-02-05 20:05:08 UTC
Your change has been completed.
Please reopen this ticket if anything went wrong.
The following configuration settings have been changed:
===================================================================
Index: CommonSettings.php
===================================================================
--- CommonSettings.php	(revision 1569)
+++ CommonSettings.php	(working copy)
@@ -2336,6 +2336,19 @@
 #	$wgAPIModules['parse'] = 'ApiDisabled';
 #}
 
+if ( $wgDBname == 'ptwikibooks' ) {
+	# Account creation throttle disabled for "Logística 2011" project from
+	# [[FCT]] / [[New University of Lisbon]]
+	if ( 	( time() > strtotime( '2011-02-14T08:00 +1:00' ) )
+	     && ( time() < strtotime( '2011-02-25T23:00 +1:00' ) )
+	     && ( wfGetIP() == '193.136.126.36' || wfGetIP() == '193.136.124.200') )
+        {
+            $wgAccountCreationThrottle = 100;
+	}
+}
+
+
+
 # THIS MUST BE AFTER ALL EXTENSIONS ARE INCLUDED
 #
 # REALlY ... were not kidding here ... NO EXTENSIONS AFTER
===================================================================
You can find the entire config file at
http://noc.wikimedia.org/conf/highlight.php?file=InitialiseSettings.php
Comment 2 Helder 2011-02-14 22:20:09 UTC
I don't know why, but in the first try it was possible to create only 6 accounts:
http://pt.wikibooks.org/w/index.php?title=Especial:Registo&dir=prev&offset=20110214154525&limit=6&type=newusers&month=&year=

Did we miss anything?
Comment 3 Platonides 2011-04-28 15:14:51 UTC
Where you really using one of those two ips?
Comment 4 Helder 2011-04-29 13:49:13 UTC
(In reply to comment #3)
> Where you really using one of those two ips?

I believe so, although I don't know how to check if those accounts were indeed created from the given IPs.
However, I do know that those LIPs were used in some edits to the book entitled "Logística":
* [[b:pt:Special:Contributions/193.136.124.200]]
* [[b:pt:Special:Contributions/193.136.126.36]]

By the way, after exceeding the limit of 6, some accounts were created by going to another Wikimedia Project (where the limit wasn't reached yet), create the account there, and then come back to Portuguese Wikibooks to start editing. Is the wgAccountCreationThrottle supposed to work like that with SUL or is this just a bug which allow us to workaround the limit?

Should we close this bug and reopen it when the feature is needed again? Or is it better to open different bugs for each time we need it (until 25000 is fixed)?
Comment 5 Platonides 2011-04-29 16:12:57 UTC
$wgAccountCreationThrottle is per wiki. You took advantage of a hole in the SUL system. I refrained from telling about that way to evade our checks in the past, though, since it can be done for the bad, too.
Comment 6 Chad H. 2011-07-09 00:53:13 UTC
I've gone ahead and disabled this again since the event described in comment 0 is long since over. If you need the throttle removed for another event please open a new bug.
Comment 7 Helder 2012-10-22 22:55:50 UTC
(In reply to comment #5)

Created bug 41284 for that.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links