ApiUpload: Raise an error on attempts to async-upload a POSTed file
authorBrad Jorsch <bjorsch@wikimedia.org>
Thu, 26 Jan 2017 17:26:38 +0000 (12:26 -0500)
committerBrad Jorsch <bjorsch@wikimedia.org>
Thu, 26 Jan 2017 17:26:38 +0000 (12:26 -0500)
commit93d16b8ce93ded8b9e460f3e259705539a80b79b
tree70a08d151895f71fb9c5b13144d38c9938ace0d2
parentee4b1dd28360f845523da911f4c5e68084ae7e9a
ApiUpload: Raise an error on attempts to async-upload a POSTed file

"Upload from stash" and "Upload from POST" use the same code path via
ApiUpload::performUpload(). It looks like when a31d0f8edd implemented
"async upload from stash", it was overlooked that someone might attempt
to do an unsupported "async upload from POST".

Bug: T156365
Change-Id: I6d207270af490cfc59d994a22a6406df45a9f6a2
includes/api/ApiUpload.php
includes/api/i18n/en.json
includes/api/i18n/qqq.json