aboutsummaryrefslogtreecommitdiff
path: root/mediawiki.lrdevplugin/description.txt
diff options
context:
space:
mode:
authorRobin Krahl <me@robin-krahl.de>2014-11-08 18:53:29 +0100
committerRobin Krahl <me@robin-krahl.de>2014-11-08 18:53:29 +0100
commite75ab2a20d770c23e1bae8b4258640f033f4f7db (patch)
tree575f2a90c639f8d20f040cb9eb245473de181295 /mediawiki.lrdevplugin/description.txt
parent72b25b8b434e065c9bbb5c1e1fcb4c11a7474f83 (diff)
downloadLrMediaWiki-e75ab2a20d770c23e1bae8b4258640f033f4f7db.tar.gz
LrMediaWiki-e75ab2a20d770c23e1bae8b4258640f033f4f7db.tar.bz2
Allow empty descriptions for reuploads
There is no need for descriptions if an existing file is overwritten. Therefore the check and the error message are moved at a point where we know whether it is an initial upload or a reupload. - refactor MediaWikiInterface.uploadFile: - add the parameter hasDescription that describes whether there is a valid description - return a string (error message) if there is an error - store description status in MediaWikiExportServiceProvider.prepareUpload - check the return value of MediaWikiInterface.uploadFile in MediaWikiExportServiceProvider.prepareUpload Fix https://github.com/ireas/LrMediaWiki/issues/30
Diffstat (limited to 'mediawiki.lrdevplugin/description.txt')
0 files changed, 0 insertions, 0 deletions