mw.ForeignStructuredUpload: Prevent categories and descriptions from being duplicated
authorBartosz Dziewoński <matma.rex@gmail.com>
Thu, 5 Nov 2015 18:26:55 +0000 (19:26 +0100)
committerJforrester <jforrester@wikimedia.org>
Thu, 5 Nov 2015 18:43:24 +0000 (18:43 +0000)
commitfd9630bca2189cd676a053f69f7bf299b58304c7
tree575a7692e9d7c53e09eac368b126cdeb95c8049e
parent81c9decb8f255413bcbdb24c889db74789b644ee
mw.ForeignStructuredUpload: Prevent categories and descriptions from being duplicated

One copy would be added every time the user tried to save the file.
If they got an error and corrected it before trying again, there would
be two or more copies.

Bug: T116394
Change-Id: Ib4642d48e21d679ed675614efb29c77fa0e2c9c4
resources/src/mediawiki/mediawiki.ForeignStructuredUpload.BookletLayout.js
resources/src/mediawiki/mediawiki.ForeignStructuredUpload.js