Page MenuHomePhabricator

Show multiple block messages on UserBlockedError page
Closed, ResolvedPublic

Description

UserBlockedErrorPage is shown to a user who is blocked form accessing a page and displays an error message explaining the block.

When there are multiple blocks, it shows a generic block error message, e.g.:

image.png (500×1 px, 96 KB)

This is less helpful than showing messages for the individual blocks, as discussed in T344463.

What should the page show instead?

  • A bullet list with error messages from each block?
  • A generic message, followed by a bullet list with error messages from each block?
  • Error messages from each block (no bullet list)?
  • Something else?

Event Timeline

Change 969134 had a related patch set uploaded (by Tchanders; author: Tchanders):

[mediawiki/core@master] Display multiple block messages on UserBlockedError page

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

Let's go ahead with bullet list of the various blocks. Consistent with what we did on T344463.

Change 971186 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/core@master] Test UserBlockedError

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

Change 969134 merged by jenkins-bot:

[mediawiki/core@master] Display multiple block messages on UserBlockedError page

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

Change 971186 merged by jenkins-bot:

[mediawiki/core@master] Test UserBlockedError

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

@Tchanders this isn't on the TSP sprint. Will it need QA (and should be added to a sprint/kanban) or can this be closed?

Tchanders added a subscriber: dom_walden.

I've moved it into QA since @dom_walden was testing the related task T344463

Some examples of multiple block messages on beta and locally.

Trying to perform an edit on enwiki beta. Only one global block message is ever shown, even if you have multiple (e.g. you could have a global block against your individual IP and against an IP range your IP falls into).

Screenshot 2023-11-15 at 15-14-01 Unable to proceed - Wikipedia the free encyclopedia.png (2×1 px, 699 KB)

Notice for the account creation block messages (which only appear after you submit the form) each block message starts with a bullet point. Unlike trying to edit. On enwiki beta.

Screenshot 2023-11-15 at 15-14-31 Account creation error - Wikipedia the free encyclopedia.png (2×1 px, 782 KB)

Example of trying to edit on dewiki. Notice here we do have bullet points.

Screenshot 2023-11-15 at 15-14-55 Quelltext der Seite Macintosh – Wikipedia.png (1×1 px, 428 KB)

Example from my local wiki with two system blocks ($wgProxyList and $wgSoftBlockRanges).

Screenshot 2023-11-15 at 15-15-15 View source for Main Page ghqbkokcwe - enwiki.png (1×1 px, 394 KB)

Going to close this as resolved now that the sprint is ended over 2 weeks ago.