mw.Upload.BookletLayout: Fail when unable to load config from foreign wiki
authorBartosz Dziewoński <matma.rex@gmail.com>
Wed, 8 Jun 2016 15:26:40 +0000 (17:26 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Wed, 8 Jun 2016 16:17:07 +0000 (18:17 +0200)
commit7523ffbb6d2c4ca6dae83b313dc26dbffeb62d1b
tree1b26aca0f6b2da76cc4c687d5cb149d68e57ac90
parent69c8de34ad4ed1b9900aeb02cf66af4e502e582f
mw.Upload.BookletLayout: Fail when unable to load config from foreign wiki

Previously we just ignored the problem and used the config from the local
wiki. This could result in incorrectly formatted uploads (if the error was
transient and the upload succeeded), or more confusing error messages
appearing later (if the error wasn't transient).

Change-Id: Ica6e65abbb678a9942c2bba6370e3ba156085bb8
languages/i18n/en.json
languages/i18n/qqq.json
resources/Resources.php
resources/src/mediawiki/mediawiki.ForeignStructuredUpload.js
resources/src/mediawiki/mediawiki.Upload.BookletLayout.js