aboutsummaryrefslogtreecommitdiff
path: root/mediawiki.lrdevplugin/MediaWikiMetadataProvider.lua
diff options
context:
space:
mode:
authorRobin Krahl <me@robin-krahl.de>2015-02-02 00:17:14 +0100
committerRobin Krahl <me@robin-krahl.de>2015-02-02 00:17:14 +0100
commit036ad72a2fec849a7a1b8674b21c17766da3d59c (patch)
tree2d3f6faa63b2c68d355a6bf6b628d372d1c70640 /mediawiki.lrdevplugin/MediaWikiMetadataProvider.lua
parentb6252c99c9b7d60a5bdc85a67d235277307e120f (diff)
downloadLrMediaWiki-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/MediaWikiMetadataProvider.lua')
0 files changed, 0 insertions, 0 deletions