HomePhabricator

mediawiki.Upload.BookletLayout: Handle errors from TitleBlacklist (HACK)

Description

mediawiki.Upload.BookletLayout: Handle errors from TitleBlacklist (HACK)

This code really really shouldn't be here, or in fact shouldn't be
needed at all. But we're currently offering really awful user
experience, and given how expansive Commons' title blacklist is, we
have to do better now and not when we get to rewrite everything.

Since the default TitleBlacklist error message really sucks and
Commons replaces it with something that jqueryMsg can't handle, reuse
a message from UploadWizard, mwe-upwiz-blacklisted, duplicated here
as api-error-blacklisted.

Bug: T114940
Change-Id: I8a7723abde124e8ff21e404dfc2efb8506f8dd75

Details

Provenance
matmarexAuthored on
Jdforrester-WMFCommitted on Oct 12 2015, 7:27 PM
Parents
rMWb21ef76c8e95: mw.Upload: Refactor error handling for the umpteenth time
Branches
Unknown
Tags
Unknown
ChangeId
I8a7723abde124e8ff21e404dfc2efb8506f8dd75