Page MenuHomePhabricator

CX2: Communicate user blocked status
Open, NormalPublic

Description

Users can be blocked for creating content on a wiki. They can be blocked from creating any page or blocked for creating a specific set of pages (i.e., partial block).

Currently users that try to create a page they are not allowed to just get a silent failure with just an error message in the Javascript console (other issues such as T209964 may also get in the way). We want to communicate the problematic situation more clearly to the user by:

  • Anticipating the issue. Showing the blocked status early when they start the translation (saving them from wasting time).
  • Communicate the details. Using the issue communication system (T189488), an error will be shown providing more details (initially and after trying to publish). We may want to show different messages depending on whether the block is for the wiki or for that specific topic.

Based on the above, we want to show the error summary when users get into a translation and after trying to publish. The specific messages are detailed below.

User blocked (from editing on a wiki)

Error summary message:

Your translation cannot be published because you have been blocked on English Wikipedia.

Error card message:

Your have been blocked from editing this wiki
Currently you are blocked from publishing on English Wikipedia.
You cannot publish this translation until the block is removed, but you may still translate topics into other languages.
[Learn more]

  • Learn more link provides access to the Content translation documentation page about blocked users.
  • "Details of your blocked status" action opens the Special:BlockList page for the user in a new tab/window. This provides access to additional details such as expiry date.

User partially blocked (from editing a page on a wiki)

Error summary message:

Your translation cannot be published because you have been blocked from editing this page on English Wikipedia.

Error card message:

You have been blocked from editing this page
Currently you are blocked from publishing content on this page.
You cannot publish this translation until the block is removed, but you may still translate other topics.>
[Learn more]

  • Learn more link provides access to the Content translation documentation page about blocked users.
  • "Details of your blocked status" action opens the Special:BlockList page for the user in a new tab/window. This provides access to additional details such as expiry date.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 20 2018, 3:51 PM
Pginer-WMF triaged this task as Normal priority.Nov 20 2018, 3:52 PM
Pginer-WMF moved this task from Needs Triage to CX2 on the ContentTranslation board.
Restricted Application added a subscriber: MGChecker. · View Herald TranscriptNov 20 2018, 6:00 PM
Pginer-WMF updated the task description. (Show Details)Nov 28 2018, 12:05 PM

Overall this looks good to me, Pau. My only feedback would be that you may want to include more information about the block parameters. Some blocks accidentally affect innocent bystanders (often in the case of IP blocks) and in general Wikipedia communities want to provide information to these people so they can appeal the block.

The possible block parameters to display are:

  • Intended blockee (IP address, username, or autoblock ID#)
  • Block reason (which unfortunately is often a template)
  • The username of the admin who set the block, expiration (and/or time remaining)
  • The date when the block was set.

I'm not sure if you need to display all these directly on this message — all of this information can be generated via URL parameters to display on Special:BlockList.

Pginer-WMF updated the task description. (Show Details)Jan 9 2019, 1:27 PM

Thanks for the feedback, @TBolliger. I updated the designs to provide access to the additional details.