diff options
author | Robin Krahl <me@robin-krahl.de> | 2015-02-02 00:17:14 +0100 |
---|---|---|
committer | Robin Krahl <me@robin-krahl.de> | 2015-02-02 00:17:14 +0100 |
commit | 036ad72a2fec849a7a1b8674b21c17766da3d59c (patch) | |
tree | 2d3f6faa63b2c68d355a6bf6b628d372d1c70640 /mediawiki.lrdevplugin/description.txt | |
parent | b6252c99c9b7d60a5bdc85a67d235277307e120f (diff) | |
download | LrMediaWiki-036ad72a2fec849a7a1b8674b21c17766da3d59c.tar.gz LrMediaWiki-036ad72a2fec849a7a1b8674b21c17766da3d59c.tar.bz2 |
Improve error message for API warnings
Display more information if the upload fails because the API returned a
warning. Therefor the warnings tag is parsed if the result is Warning, and
the keys of the tag are shown as error message (e. g. 'badfilename').
Previously, the error message was only 'Warning', which did not help users
to identify the problem.
- modify MediaWikiApi.upload to give a more specific error message for
API warnings
Fix #36
Diffstat (limited to 'mediawiki.lrdevplugin/description.txt')
0 files changed, 0 insertions, 0 deletions