Last modified: 2014-01-25 18:36:10 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 T62419, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60419 - Types of throttles are hardcoded in SpecialOverrideThrottle::getFormFields
Types of throttles are hardcoded in SpecialOverrideThrottle::getFormFields
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
ThrottleOverride (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-25 07:46 UTC by Kunal Mehta (Legoktm)
Modified: 2014-01-25 18:36 UTC (History)
2 users (show)

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


Attachments

Description Kunal Mehta (Legoktm) 2014-01-25 07:46:20 UTC
foreach( array( 'actcreate', 'edit', 'move', 'mailpassword', 'emailuser' ) as $type ) {


According to my quick check of User::pingLimiter, there are also:

linkpurge
rollback
renderfile

And in extensions:

moodbar-response
moodbar-feedback
pagetriage-mark-action
pagetriage-tagging-action
feedback (ReaderFeedback)
thanks-notification
create (used in Wikibase)

I don't think it makes sense to expose some of these in the UI, but I'm not sure if we should totally ignore them either.
Comment 1 Kunal Mehta (Legoktm) 2014-01-25 18:36:10 UTC
I thought about this a bit more, and realized that the rationale in bug 25000 is only about account creation. 
What if we had a config variable like $wgThrottlesToOverride = array( 'actcreate' ) so they wouldn't need to be hardcoded, and the UI would become less cluttered (IMO). 
It would also solve the issue of not being able to override extensions' throttles.

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


Navigation
Links