Page MenuHomePhabricator

Mobile should have better support for TitleBlacklist errors
Closed, ResolvedPublic


On Desktop, if you try to create an article that is title blacklisted (via the TitleBlacklist extension), it gives you the following error as soon as you click the edit button:

You do not have permission to create pages, for the following reason: The title "Heck" has been banned from creation. It matches the following blacklist entry: .*heck.*

On mobile, it lets you write the article, but when you try to save it, it gives you a generic "Error, edit not saved" toast error.

We should change the behavior on mobile, so that it checks for title blacklist status when you first hit the edit button, and give the user a more specific error message.

Version: unspecified
Severity: enhancement



Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:02 AM
bzimport set Reference to bz63335.
bzimport added a subscriber: Unknown Object (MLST).

bingle-admin wrote:

Prioritization and scheduling of this bug is tracked on Mingle card

We should tackle this before refining article creation through MobileFrontend. I've associated this bug with the relevant story in the backlog,

It's not really clear how we tackle this until we focus on article creation.

matmarex claimed this task.

After the changes in T228897, the usual desktop error message is used now. Here's how it looks like in the mobile editor:

Unfortunately the error is still only shown when attempting to save, rather than when opening the editor. There is a separate task for this problem: T145304