Last modified: 2014-02-12 23:35:58 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 44584 - API data push/pull guidelines
API data push/pull guidelines
Status: NEW
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
Blocks: documentation
  Show dependency treegraph
Reported: 2013-02-01 15:06 UTC by Smallman
Modified: 2014-02-12 23:35 UTC (History)
5 users (show)

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


Description Smallman 2013-02-01 15:06:05 UTC
There is a lack of guidelines regarding the rate at the mediawiki API may be used.

Specifically for the enwiki and commons api (if it doesn't matter, please say so):

For bots:

Are simultaneous uploads permitted? E.g. uploading 3 20MB files simultaneously to the commons on a 1Gbit/s line. What is the max rate permitted?


Comment 1 Brad Jorsch 2013-02-01 15:24:23 UTC
This doesn't seem to be related to the MediaWiki API so much as a request for documentation about the allowed use of the API on WMF wikis. You'd probably do better to ask on wikitech-l[1] than in bugzilla.

The closest thing to an official guideline that I am aware of is

In general, best practice seems to be to have one request outstanding at any time, and to use maxlag[2] to have your bot automatically stop when the servers are overloaded.

Comment 2 Umherirrender 2013-02-01 22:31:13 UTC
See also [[mw:API:Etiquette#Request limit]]

And Notes to library developers on [[mw:API:Client code#API Access Libraries]]

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