Page MenuHomePhabricator

Block message in MobileFrontend does not show original block reasons for composite blocks
Open, Needs TriagePublic

Assigned To
None
Authored By
Tchanders
Feb 9 2024, 10:51 AM
Referenced Files
F41873780: image.png
Feb 13 2024, 1:47 AM
F41873776: image.png
Feb 13 2024, 1:47 AM
F41865852: image.png
Feb 12 2024, 12:33 PM
F41865845: image.png
Feb 12 2024, 12:33 PM
F41827167: image.png
Feb 9 2024, 12:51 PM
F41827163: image.png
Feb 9 2024, 12:51 PM
F41827160: image.png
Feb 9 2024, 12:51 PM
F41826083: image.png
Feb 9 2024, 10:51 AM

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: Block schema: add a structured category/reason_type field 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.