mw.Upload.BookletLayout: Handle additional warnings/errors
authorBartosz Dziewoński <matma.rex@gmail.com>
Tue, 5 Apr 2016 20:25:46 +0000 (22:25 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Tue, 5 Apr 2016 20:25:46 +0000 (22:25 +0200)
commitf3b2f2023a5978bc2585b7f9bcd9ccd41409be3a
tree24e09cc4d4c7630aee9cf296fe7396fb1e327654
parent51d5d5deaf87888cd57f011642330590b17b044f
mw.Upload.BookletLayout: Handle additional warnings/errors

Warnings:
* 'exists-normalized': Same handling as 'exists', the only difference
  is exact match vs only matching after title normalization.
* 'was-deleted': Added new l10n message 'api-error-was-deleted',
  based on 'filewasdeleted' but shorter/simpler.

Errors:
* 'protectedpage': Display 'protectedpagetext' message.

Bug: T131709
Change-Id: Ia9f65fc39d59018dc62b758f9a2ae98de7d187fe
languages/i18n/en.json
languages/i18n/qqq.json
resources/Resources.php
resources/src/mediawiki/mediawiki.Upload.BookletLayout.js