Add more detailed upload stash error messages
authorMark Holmquist <mtraceur@member.fsf.org>
Fri, 24 Oct 2014 19:33:05 +0000 (14:33 -0500)
committerMarkTraceur <mtraceur@member.fsf.org>
Mon, 27 Oct 2014 19:41:25 +0000 (19:41 +0000)
commit7585e214d2a0e589b43c1b503207fd27a6e84af0
tree5d513314225f1c50b4af30f74017290ffbe67b1c
parent31ef64d21cb28304688a594fd35b835d649776f1
Add more detailed upload stash error messages

There are seven (used) error types in the stash class, and we umbrella'd
them all into one error message, which is mighty silly. This should give
us more information.

Also added to the mw.Api.errors list so UploadWizard can handle them.

Change-Id: I79bf0c29a4cef19363d111cc1128e35256ae572a
includes/api/ApiUpload.php
includes/upload/UploadStash.php
languages/i18n/en.json
languages/i18n/qqq.json
resources/src/mediawiki.api/mediawiki.api.js