mw.api.upload: Suppress default API call timeout
authorBartosz Dziewoński <matma.rex@gmail.com>
Wed, 14 Sep 2016 17:43:24 +0000 (19:43 +0200)
committerAnomie <bjorsch@wikimedia.org>
Wed, 21 Sep 2016 18:37:27 +0000 (18:37 +0000)
commitbd0ac893a0c46739b604176454d3e8cd205578df
treed1da9fd6c0265c9a765ebec842c05267e1980e6f
parent9b1945015bf0c6ae5c17b84e0724451539a9129a
mw.api.upload: Suppress default API call timeout

mw.Api sets a default timeout of 30 seconds, meaning that if the
request takes more than that, it will be aborted. This is reasonable
in most cases, but file uploads can easily take longer than that.

Bug: T117545
Change-Id: I086108421d229c60f5e9d5c9edb70150d875dcb0
resources/src/mediawiki/api/upload.js