Page MenuHomePhabricator

E-mail notification subject does not say which wiki (e.g. which language Wikipedia) it came from
Open, Needs TriagePublic

Description

I received an e-mail message this morning. The subject said: "Your user rights have changed on Wikipedia"

The contents said: "Your user rights were changed by <admin>. You are now a member of this group: <user rights group>."

Problem: There are a couple hundred Wikipedias. Which one was this?

Well, if you copy or click through the link, then you can discover the answer (in this instance, it was a test wiki), but the message itself ought to include the name of the wiki, including the language. The subject line ought to read, "Your user rights have changed on the Test Wikipedia", or "Your user rights have changed on the English Wikipedia", or whichever Wikipedia is relevant.

See also T71981: User rights change notification email does not specify in body which account was affected.

Event Timeline

Whatamidoing-WMF raised the priority of this task from to Needs Triage.
Whatamidoing-WMF updated the task description. (Show Details)
Whatamidoing-WMF added a subscriber: Whatamidoing-WMF.
Restricted Application added a project: Collaboration-Team-Triage. · View Herald TranscriptDec 22 2015, 6:42 PM
Restricted Application added subscribers: StudiesWorld, Aklapper. · View Herald Transcript
Mattflaschen-WMF set Security to None.
Catrope renamed this task from "Your user rights have changed on Wikipedia" e-mail notification needs to tell me which language Wikipedia this message came from to E-mail notification subject does not say which wiki (e.g. which language Wikipedia) it came from.Apr 21 2016, 5:12 PM
Catrope added a subscriber: Catrope.

We could use the human-readable wiki name messages that we created for cross-wiki notifications.

@jmatazzoni , @Pginer-WMF

We need to decide where we display the wiki name and what is the language around it.

One option is to use the human-readable wiki names and come up with a standard prefix or suffix in the email subject or body. That would clarify it for all notification types at once.

We need to decide where we display the wiki name and what is the language around it.

For the where question, can someone post a screenshot of what the email looks like now?

For the language question, can we use the human-readable names that we worked out for the x-wiki bundles in the panel?

Here's a screenshot:

(I blanked the admin's name for privacy.) The only way to find out which Wikipedia this comes from is to hover over or click on the links in the message.

It seems that the issue is that while on the notification panel/page the context on which actions take place is clear (you know in which Wikipedia you are), all email notifications end up in the same inbox making it hard to know which wiki they refer to.

I think it makes sense to indicate the project in email notifications by using the human-readable names and without adding complexity to the regular notifications.

Including the project+language text as part of either:

  • The email subject. In the example it could be "Your user rights have changed on English Wikipedia". However, integrating the human-readable text as part of another sentence may not be easy due to localisation (i.e., the "English Wikipedia" part requiring grammar adjustments when it is part of a sentence in some languages). A more structured construction can be considered if that is the case: "Your user rights have changed (English Wikipedia)" or "English Wikipedia: Your user rights have changed"
  • The sender name. Currently the sender seems to be named just "Wikipedia", it could be more specific ("English Wikipedia") to provide the missing context.

In both cases the user receiving an email would be aware of the context even before opening it since sender and subject are surfaced by email clients.

I like the idea of using the human-readable site name as the sender's name.

It's kind of what we do already except better. We use the message emailsender, which contains {{SITENAME}}.

{{SITENAME}} is not enough, and that appears to be the sole contents of emailsender. {{SITENAME}} is just "Wikipedia", not "English Wikipedia".

Both Notifications and watchlist-related e-mail messages arrive from "Wikipedia" (or Wikipédia", or Википедия or Վիքիպեդիա or whatever the local language is. But sending me a message in a script that I can read is a separate Phab ticket).

{{SITENAME}} is not enough, and that appears to be the sole contents of emailsender. {{SITENAME}} is just "Wikipedia", not "English Wikipedia".

Yes, we realize that. "English Wikipedia" is what we call the "human-readable site name". Stephane observed that we currently use {{SITENAME}} but that we could use the human-readable site name instead.

But sending me a message in a script that I can read is a separate Phab ticket).

This change would actually fix that in some cases as well: the human-readable site names are translatable (although not all languages have translated all ~800 of them), while {{SITENAME}} is not. So if you have customized your language preference on a wiki, that wiki would use your language for the wiki name as well as the rest of the message. Without global preferences, though, there will still be many wikis where your language preference is still set to that wiki's language because you never changed it.

Restricted Application added a subscriber: TerraCodes. · View Herald TranscriptJan 5 2017, 7:15 PM
Restricted Application added a project: Growth-Team. · View Herald TranscriptJul 18 2018, 6:53 PM
SBisson moved this task from Inbox to Triaged but Future on the Growth-Team board.Jul 20 2018, 5:10 PM