Page MenuHomePhabricator

GlobalBlocking blocked text messages need updating for temporary accounts
Closed, ResolvedPublic

Description

The GlobalBlocking extension provides several messages which are used in block notices. However, these messages often assume that registered users can do things like send emails. Similar to T324599: Blocked temporary account user sees an inappropriate block message, we should probably update the block messages in GlobalBlocking to better handle temporary accounts.

For example, this is the message seen by a temporary account when they are globally blocked:

image.png (961×248 px, 28 KB)

It is important to note that these messages are overridden for WMF wikis, which means that there is no indication to send an email as part of the blocked text message on WMF wikis.

Event Timeline

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

[mediawiki/extensions/GlobalBlocking@master] Add message to show to globally blocked temporary accounts

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

Noting here that the blocked messages for other types of block target do reference emails and preferences. I think this is correct, because a block with an IP target could be a hard block that affects logged-in users from that IP, so the message could be shown to a named, registered user. However, a block that targets a temporary user will only affect that temporary user.

Change #1156878 merged by jenkins-bot:

[mediawiki/extensions/GlobalBlocking@master] Add message to show to globally blocked temporary accounts

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

Djackson-ctr subscribed.

QA is completed: The new code changes have been verified and are functioning as expected (verbiage regarding email and preferences have been removed from notifications for temporary accounts that are GlobalBlocked).

image.png (700×273 px, 34 KB)