Page MenuHomePhabricator

Block message in MobileFrontend does not show original block reasons for composite blocks
Closed, ResolvedPublic

Description

Background

On MobileFrontend, the block error (shown when trying to edit a page if blocked) doesn't show the block reason if there are multiple blocks in place:

image.png (1×674 px, 241 KB)

The reason often contains details of how to appeal the block, and these details aren't being shown. This is currently affecting lots of good faith users around the world, who are blocked globally and locally, e.g. because they are using IPs that have been blocked for being open proxies.

Notes

T336721: Wikipedia mobile app giving wrong block message has a screenshot of a mobile apps block message, which shows how to appeal a block.

Event Timeline

This doesn't appear to be a bug; "appeals" of blocks are not a technical function and the blocking admin appears to be able to add any information, such as project specific appeal information, to the "Reason" field if they wish. Other than having the default message say something like "Contact your project administration" - where would this even go?

This doesn't appear to be a bug; "appeals" of blocks are not a technical function and the blocking admin appears to be able to add any information, such as project specific appeal information, to the "Reason" field if they wish. Other than having the default message say something like "Contact your project administration" - where would this even go?

I think if we had T352148: Blocks: add a structured category/reason field for cross-wiki use we'd at least be able to do things like "this block is targeting open proxies; prompt the user to disconnect from their VPN or request IP block exemption". That wouldn't cover all use cases, but presumably would handle a substantial percentage of block messages seen by good faith users. See also T357123: Implement Stewards/Wizard as instrumentable dialog about implementing an interactive dialog to guide the user through understanding the block and what their options are.

This doesn't appear to be a bug; "appeals" of blocks are not a technical function and the blocking admin appears to be able to add any information, such as project specific appeal information, to the "Reason" field if they wish. Other than having the default message say something like "Contact your project administration" - where would this even go?

I think this task is suggesting that there should be parity with the message shown on desktop?

image.png (2×786 px, 348 KB)
image.png (2×786 px, 333 KB)
image.png (2×786 px, 378 KB)

I think this task is suggesting that there should be parity with the message shown on desktop?

That certainly makes sense - is this not however already at least somewhat true or covered under another request?

Can someone show side by the the current MFE block message and the WEBUI block message for the same block? The initial user story seems to have picked a demo block that specifically doesn't include information.

I think this task is suggesting that there should be parity with the message shown on desktop?

That certainly makes sense - is this not however already at least somewhat true or covered under another request?

A while ago the AHT team did some work on mobile block messages (T190946), which partly involved simplifying them. But I've recently heard feedback from one of our directors who cited stewards raising this as an issue, which is why I filed the task (I've asked for more information to be shared on the task).

I couldn't find a task covering this, but we can merge this into another one if one is found.

Can someone show side by the the current MFE block message and the WEBUI block message for the same block? The initial user story seems to have picked a demo block that specifically doesn't include information.

This is still a local example, but this time I've added who to contact in the reason:

image.png (551×525 px, 41 KB)
image.png (411×899 px, 81 KB)

The desktop message comes with some extra info about how to get in contact (though the mention of email and preferences are actually not helpful to a logged out user, who doesn't have either), as well as what your IP address and block ID are.

@Tchanders and what happens when you click that "See details" button there in the MFE view?

This doesn't appear to be a bug; "appeals" of blocks are not a technical function and the blocking admin appears to be able to add any information, such as project specific appeal information, to the "Reason" field if they wish. Other than having the default message say something like "Contact your project administration" - where would this even go?

I think this is a problem with the naming of the task. The issue I raised in the Talking:2024 call was about composite blocks (see T344463) not showing properly on the Minerva skin.

If a user faces a local and global block, and is using Minerva, it is not possible for them to find the block reason.

E.g.:

image.png (1×680 px, 176 KB)
image.png (1×674 px, 241 KB)

First image is after attempting to edit, second is after clicking "See more".

When an admin or steward sets a block, we set a reason. That reason (whether it transcludes a large templates, includes a few links, or is just text) is the text that we want blocked users to see. From my perspective, there is no valid rationale to modify or simplify the reason that the blocking admin/steward sets. Especially when the current situation is simplified to a point of complete unusability.

That multiple block problem seems to be T233996 from 5+ years ago

Tchanders renamed this task from Block message in MobileFrontend does not show how to appeal a block to Block message in MobileFrontend does not show original block reasons for composite blocks.Feb 15 2024, 4:45 PM

I think this is a problem with the naming of the task.

Understood - I've renamed it, so hopefully that's clearer. Please feel free to rename it again if not.

We fixed this for Desktop in T349826: Show multiple block messages on UserBlockedError page by showing all the block reasons.

@Tchanders and what happens when you click that "See details" button there in the MFE view?

FWIW See details links to Special:BlockList filtered to the block ID. But for composite blocks, the details link isn't there. I suppose another solution would be to link to Special:BlockList showing all the blocks, but I don't think that would help as some reasons would be displayed as templates.

I'd like to surface that this has continued being a big UX problem, and increasingly big ever since iCloud Private Relay has become more common to be enabled by default for Apple users.

There are many ranges that are hardblocked once for being in an e.g. Cloudflare range and are separately hardblocked another time for iCloud Private Relay (see this, for example). The second block can be helpful in pointing users to more specific guidance on what to fix, because it has an iCloud Private Relay-specific block message. But that now means many, many users see an utterly useless message when editing (see attached screenshots from someone who emailed me and imagine how frustrated one might feel as a blocked user). I don't know how many users experience this, but I imagine it's quite a lot.

I'd request that this get prioritized up the queue at T&S Product, with many thanks.

IMG_9665.png (2×1 px, 307 KB)

IMG_9664.png (2×1 px, 258 KB)

I'd like to surface that this has continued being a big UX problem, and increasingly big ever since iCloud Private Relay has become more common to be enabled by default for Apple users.

There are many ranges that are hardblocked once for being in an e.g. Cloudflare range and are separately hardblocked another time for iCloud Private Relay (see this, for example). The second block can be helpful in pointing users to more specific guidance on what to fix, because it has an iCloud Private Relay-specific block message. But that now means many, many users see an utterly useless message when editing (see attached screenshots from someone who emailed me and imagine how frustrated one might feel as a blocked user). I don't know how many users experience this, but I imagine it's quite a lot.

I'd request that this get prioritized up the queue at T&S Product, with many thanks.

IMG_9665.png (2×1 px, 307 KB)

IMG_9664.png (2×1 px, 258 KB)

As a starting point, we should pull information about how many users are encountering this UX.

As a starting point, we should pull information about how many users are encountering this UX.

Linking also T396425: Update editattemptsblocked instrumentation for multiple blocks

This is still happening and is incredibly opaque when it does:

The Voices of Morebath - Wikipedia.png (2×1 px, 328 KB)

Is there actually a reason that we're not showing all the block-reasons? I appreciate it'd be an unfriendly UX to have a bunch of maybe-long template messages in that drawer, but anything would be better than the current situation.

Change #1245475 had a related patch set uploaded (by DLynch; author: DLynch):

[mediawiki/extensions/MobileFrontend@master] When a user can't edit because of a composite block, show the reasons

https://gerrit.wikimedia.org/r/1245475

Okay, with that patch you'll still get the unhelpful initial view:

CleanShot 2026-02-27 at 15.58.16@2x.png (1×778 px, 203 KB)

But if you tap "see more" it'll have all the component block reasons added in:

CleanShot 2026-02-27 at 15.58.57@2x.png (1×778 px, 172 KB)

It will be less helpful in practice, because my local dev environment doesn't have the templates that're used for this which will take up a lot more space, e.g.

CleanShot 2026-02-27 at 16.13.48@2x.png (1×658 px, 153 KB)

Change #1245475 merged by jenkins-bot:

[mediawiki/extensions/MobileFrontend@master] When a user can't edit because of a composite block, show the reasons

https://gerrit.wikimedia.org/r/1245475

DLynch claimed this task.
DLynch added a project: Editing-team.