As brought up at en-WP here, the blocked message currently includes the line "Even when blocked, you will usually still be able to edit your user talk page and email other editors and administrators." This is non-optimal: for editors who can still edit their talk page and email, it should say so, and for editors who have had that access revoked, it should say that. Could we add variables so that the message will be able to customize as appropriate?
Description
Details
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| Add parameters for talk page and email access to block interface | mediawiki/core | master | +145 -9 |
Related Objects
Event Timeline
Change 848094 had a related patch set uploaded (by OwenR; author: OwenR):
[mediawiki/core@master] Add new $9 parameter which can be used to determine if user block prevent talk page access or not.
Hi @OwenRB; thanks for coding a patch for this! Just wanted to circle back, is there anything I can do to help get it reviewed?
It’d be optimal to also have another parameter for indicating email access, as the two abilities (talk and email) are separate :)
@OwenRB: Removing task assignee as this open task has been assigned for more than two years - See the email sent on 2025-05-22.
Please assign this task to yourself again if you still realistically [plan to] work on this task - it would be welcome!
If this task has been resolved in the meantime, or should not be worked on by anybody ("declined"), please update its task status via "Add Action… 🡒 Change Status".
Also see https://www.mediawiki.org/wiki/Bug_management/Assignee_cleanup for tips how to best manage your individual work in Phabricator. Thanks!
@Aklapper it seems that OwenRB completed the work for the task, and it just needs to go through the code review process. Who would be doing the review who we could ping about that?
Blocks are within the scope of Trust and Safety Product Team. If/when the patch is ready for review again, you can tag me for review.
Provided some review. Don't think Trust and Safety Product Team have the space at the moment for someone to take on making improvements to the patch.
I probably won't care enough about this to spent more time fixing it; I was just reacting to Sdkb's moan about the code review process failing.
I've +2'd https://gerrit.wikimedia.org/r/c/mediawiki/core/+/848094, so that should be enough to resolve this task
Change #848094 merged by jenkins-bot:
[mediawiki/core@master] Add parameters for talk page and email access to block interface
Feel free to reword:
MediaWiki's block messages ([[MediaWiki:Blockedtext|blockedtext]], [[MediaWiki:Blockedtext-partial|blockedtext-partial]], [[MediaWiki:Autoblockedtext|autoblockedtext]], [[MediaWiki:Systemblockedtext|systemblockedtext]], [[MediaWiki:Blockedtext-tempuser|blockedtext-tempuser]], [[MediaWiki:Autoblockedtext-tempuser|autoblockedtext-tempuser]]) now support additional parameters indicating whether the user is blocked from editing their own user talk page ($9) or emailing other users ($10).