mediawiki.special.upload: Don't fail when invalid title is given
authorBartosz Dziewoński <matma.rex@gmail.com>
Mon, 4 Apr 2016 14:37:58 +0000 (16:37 +0200)
committerBartosz Dziewoński <matma.rex@gmail.com>
Thu, 14 Apr 2016 21:15:36 +0000 (21:15 +0000)
commitf42e1d7f216f44ec98dbb4e16d6b20eb3f281fb6
tree7b610c73d8e4481e76b590ba09d41c86875e2195
parent95e56b66f1c8c57136db6d01f9ea5de42a67f20e
mediawiki.special.upload: Don't fail when invalid title is given

If an invalid title was given (for example, anything including '['),
the destination title check would throw an exception and a spinner
would spin forever.

Change-Id: If6f02051383675817a0e2ad406dd71cab33fb5bf
resources/src/mediawiki.special/mediawiki.special.upload.js