ForeignAPIRepo: Fetch thumb error from foreign repo
authorumherirrender <umherirrender_de.wp@web.de>
Sat, 13 Apr 2013 14:28:02 +0000 (16:28 +0200)
committerumherirrender <umherirrender_de.wp@web.de>
Sat, 13 Apr 2013 14:28:02 +0000 (16:28 +0200)
commitbc59c4fc32a31f8815419cf7f832ef4a2ea91232
treebd911091e2b08bc22f6e100b20d51de622024ede
parent84f623b1ebb66161c59a7e64f1c3dfd5b95b0a2c
ForeignAPIRepo: Fetch thumb error from foreign repo

When the api of the foreign repo gives a thumb error, this is now
reported to the user.

This can produce an extra request to the api, when the language of the
user does not match the content language of the client. In that case an
extra request is used to get a localized error message.

Change-Id: I6bda81899d0f11a0091b973ab49fd8e0f976ee09
includes/filerepo/ForeignAPIRepo.php
includes/filerepo/file/ForeignAPIFile.php
languages/messages/MessagesEn.php
languages/messages/MessagesQqq.php
maintenance/language/messages.inc