<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/LrMediaWiki/mediawiki.lrdevplugin, branch v0.3</title>
<subtitle>MediaWiki for Lightroom (GitHub mirror)
</subtitle>
<id>https://git.ireas.org/mirrors/LrMediaWiki/atom?h=v0.3</id>
<link rel='self' href='https://git.ireas.org/mirrors/LrMediaWiki/atom?h=v0.3'/>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/LrMediaWiki/'/>
<updated>2015-06-27T13:03:57Z</updated>
<entry>
<title>Update Info.lua for v0.3.</title>
<updated>2015-06-27T13:03:57Z</updated>
<author>
<name>Robin Krahl</name>
<email>me@robin-krahl.de</email>
</author>
<published>2015-06-27T13:03:57Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/LrMediaWiki/commit/?id=848f6be3a29fb68ef43086ba2c1401162f0f845f'/>
<id>urn:sha1:848f6be3a29fb68ef43086ba2c1401162f0f845f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Avoid multiple spaces or underscores in file names.</title>
<updated>2015-06-27T12:41:34Z</updated>
<author>
<name>Robin Krahl</name>
<email>me@robin-krahl.de</email>
</author>
<published>2015-06-27T12:41:34Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/LrMediaWiki/commit/?id=621a3f63c150b79c3ca996b4ad96d7267bca7e42'/>
<id>urn:sha1:621a3f63c150b79c3ca996b4ad96d7267bca7e42</id>
<content type='text'>
If the image title contains consecutive spaces or underscores, the upload
fails without a proper error message. Therefore LrMediaWiki now replaces
all (single or multiple) spaces and underscores by a single underscore.

 - add replacement rule to MediaWikiInterface.uploadFile

Fix #37.
</content>
</entry>
<entry>
<title>Improve error message for API warnings</title>
<updated>2015-02-01T23:17:14Z</updated>
<author>
<name>Robin Krahl</name>
<email>me@robin-krahl.de</email>
</author>
<published>2015-02-01T23:17:14Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/LrMediaWiki/commit/?id=036ad72a2fec849a7a1b8674b21c17766da3d59c'/>
<id>urn:sha1:036ad72a2fec849a7a1b8674b21c17766da3d59c</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>Add hours, minutes and seconds to the date field of the description.</title>
<updated>2015-02-01T22:47:54Z</updated>
<author>
<name>Robin Krahl</name>
<email>me@robin-krahl.de</email>
</author>
<published>2015-02-01T22:47:54Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/LrMediaWiki/commit/?id=b6252c99c9b7d60a5bdc85a67d235277307e120f'/>
<id>urn:sha1:b6252c99c9b7d60a5bdc85a67d235277307e120f</id>
<content type='text'>
Add the hours, minutes and seconds of the file creation date read from
the EXIF metadata to the date field of the Information template on the
description page. This change is made to adapt the common behaviour
already used by the Upload Wizard.

 - add "%H:%M:%S" to the time format string in
   MediaWikiExportServiceProvider.processRenderedPhotos

Fix #38
</content>
</entry>
<entry>
<title>Allow empty descriptions for reuploads</title>
<updated>2014-11-08T17:53:29Z</updated>
<author>
<name>Robin Krahl</name>
<email>me@robin-krahl.de</email>
</author>
<published>2014-11-08T17:53:29Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/LrMediaWiki/commit/?id=e75ab2a20d770c23e1bae8b4258640f033f4f7db'/>
<id>urn:sha1:e75ab2a20d770c23e1bae8b4258640f033f4f7db</id>
<content type='text'>
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
</content>
</entry>
<entry>
<title>Add snapshot on export</title>
<updated>2014-11-08T09:38:13Z</updated>
<author>
<name>Robin Krahl</name>
<email>me@robin-krahl.de</email>
</author>
<published>2014-11-08T09:38:13Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/LrMediaWiki/commit/?id=72b25b8b434e065c9bbb5c1e1fcb4c11a7474f83'/>
<id>urn:sha1:72b25b8b434e065c9bbb5c1e1fcb4c11a7474f83</id>
<content type='text'>
Create a development snapshot before the upload.  The name contains the
date and time of the export and the path to the MediaWiki API used for
the export.

 - create snapshot before upload in MediaWikiExportServiceProvider

Fix https://github.com/ireas/LrMediaWiki/issues/26
</content>
</entry>
<entry>
<title>Check for empty HTTP status</title>
<updated>2014-11-01T15:32:42Z</updated>
<author>
<name>Robin Krahl</name>
<email>me@robin-krahl.de</email>
</author>
<published>2014-11-01T15:32:42Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/LrMediaWiki/commit/?id=dc549a9f58779a019ea9186002c3867911fcf81b'/>
<id>urn:sha1:dc549a9f58779a019ea9186002c3867911fcf81b</id>
<content type='text'>
Raise a specific error if the HTTP status is empty.  This indicates
that there is no internet connection or that the MediaWiki installation
cannot be reached.  Previously, the error message just reported an
empty HTTP status.

 - check for empty HTTP status in `MediaWikiApi`

Fix https://github.com/ireas/LrMediaWiki/issues/28
</content>
</entry>
<entry>
<title>Add permission field to export dialog</title>
<updated>2014-11-01T15:25:09Z</updated>
<author>
<name>Robin Krahl</name>
<email>me@robin-krahl.de</email>
</author>
<published>2014-11-01T15:24:36Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/LrMediaWiki/commit/?id=e1257f32eec1503c1230c4f4642bf2e0bafb7aa4'/>
<id>urn:sha1:e1257f32eec1503c1230c4f4642bf2e0bafb7aa4</id>
<content type='text'>
Add the permission field to the export dialog and to the file
description template.

 - add permission to the template in `description.txt`
 - add permission to the UI in `MediaWikiExportServiceProvider`
 - add permission to the data items in `MediaWikiInterface`

Fix https://github.com/ireas/LrMediaWiki/issues/27
</content>
</entry>
<entry>
<title>Move file description template into a separate file</title>
<updated>2014-11-01T15:02:31Z</updated>
<author>
<name>Robin Krahl</name>
<email>me@robin-krahl.de</email>
</author>
<published>2014-11-01T15:02:31Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/LrMediaWiki/commit/?id=6f251c2526004faa55e4bcb9935aad38bfed7a48'/>
<id>urn:sha1:6f251c2526004faa55e4bcb9935aad38bfed7a48</id>
<content type='text'>
Move the file description template from the constant
`MediaWikiInterface.fileDescriptionPattern` to the file
`description.txt` in the main directory of the plug-in.  This allows
better customization of the file description.

 - add `MediaWikiInterface.loadFileDescriptionTemplate` that tries to
   read the file description template from the `description.txt` file
 - call `MediaWikiInterface.loadFileDescriptionTemplate` before the
   description preview and before the export

Fix https://github.com/ireas/LrMediaWiki/issues/29
</content>
</entry>
<entry>
<title>Use improved string formatting</title>
<updated>2014-11-01T14:25:00Z</updated>
<author>
<name>Robin Krahl</name>
<email>me@robin-krahl.de</email>
</author>
<published>2014-11-01T14:25:00Z</published>
<link rel='alternate' type='text/html' href='https://git.ireas.org/mirrors/LrMediaWiki/commit/?id=0d2d08472aa09dd001b532698e04b0f02e0a44c6'/>
<id>urn:sha1:0d2d08472aa09dd001b532698e04b0f02e0a44c6</id>
<content type='text'>
Use string formatting by name instead of formatting by position when
creating the file description.

 - adds the method `formatString` to `MediaWikiUtils`
 - modifies `MediaWikiInterface` to use `MediaWikiUtils.formatString`

See issue [#29: Move file description template into a file and improve
the string formatting](https://github.com/ireas/LrMediaWiki/issues/29).
</content>
</entry>
</feed>
