Page MenuHomePhabricator

Echo fails to fetch notifications for temporary accounts
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue:

  • Create a temporary account by making an edit while being logged-out
  • Notice the notification icon

Screenshot 2026-04-04 at 17.52.49.png (600×386 px, 64 KB)

  • Click on the icon

What happens?:

  • "Failed to fetch notifications."

Screenshot 2026-04-04 at 17.53.27.png (1,054×448 px, 42 KB)

  • Switching from "Notices" to "Alerts" or to Special:Notifications results in the same error message

Screenshot 2026-04-04 at 17.53.42.png (1,036×456 px, 41 KB)

Screenshot 2026-04-04 at 17.54.06.png (2,376×642 px, 139 KB)

What should have happened instead?:

  • Show the notification

Other information:

Event Timeline

Restricted Application added a subscriber: • Aklapper. · View Herald Transcript

Error is: { code: "echo-read-notifications", info: "You don't have permission to $1.", "*": "See https://meta.wikimedia.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/> for notice of API deprecations and breaking changes." }

Possibly related to 27b1ddbb185d52 and T420154 (don't have access).

Anyway, this is preventing mobile editors from knowing that they have new talk page messages; they get the red-1-in-a-circle but they have no way to know what it means.

The OBOD still displays on desktop, at least.

matmarex subscribed.

rECHO6e534f0000ee: Respect the echo-read-notifications right in user interface (https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Echo/+/1266300) makes it so that users without the permission don't see the icon anymore, which is technically a fix, but I think that just highlights that the permission was granted to the wrong group. According to https://www.mediawiki.org/wiki/User_account_types temporary users should be able to receive notifications.

Change #1268072 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[mediawiki/extensions/Echo@master] Grant new 'echo-read-notifications' right to all users

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

No, that's actually a different issue, about being able to grant this right to OAuth clients and bot passwords belonging to a normal registered user.

It seems unlikely, although I won't say that with certainty until we fix this problem and that one remains unfixed.

Change #1268072 merged by jenkins-bot:

[mediawiki/extensions/Echo@master] Grant new 'echo-read-notifications' right to all users

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

Change #1268202 had a related patch set uploaded (by Urbanecm; author: Bartosz Dziewoński):

[mediawiki/extensions/Echo@wmf/1.46.0-wmf.22] Grant new 'echo-read-notifications' right to all users

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

Change #1268202 merged by jenkins-bot:

[mediawiki/extensions/Echo@wmf/1.46.0-wmf.22] Grant new 'echo-read-notifications' right to all users

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

Mentioned in SAL (#wikimedia-operations) [2026-04-06T20:44:10Z] <urbanecm@deploy1003> Started scap sync-world: Backport for [[gerrit:1268201|Respect the echo-read-notifications right in user interface (T420154)]], [[gerrit:1268202|Grant new 'echo-read-notifications' right to all users (T422297)]]

Mentioned in SAL (#wikimedia-operations) [2026-04-06T20:45:44Z] <urbanecm@deploy1003> urbanecm: Backport for [[gerrit:1268201|Respect the echo-read-notifications right in user interface (T420154)]], [[gerrit:1268202|Grant new 'echo-read-notifications' right to all users (T422297)]] synced to the testservers (see https://wikitech.wikimedia.org/wiki/Mwdebug). Changes can now be verified there.

Urbanecm_WMF moved this task from Incoming to QA on the Growth-Team (FY2025-26 Q3 Sprint 6) board.

Mentioned in SAL (#wikimedia-operations) [2026-04-06T20:50:40Z] <urbanecm@deploy1003> Finished scap sync-world: Backport for [[gerrit:1268201|Respect the echo-read-notifications right in user interface (T420154)]], [[gerrit:1268202|Grant new 'echo-read-notifications' right to all users (T422297)]] (duration: 06m 30s)

Backported. Thanks for providing the fix, @matmarex!

Etonkovidova subscribed.

Checked on testwiki wmf.23 - works as expected: The temp user gets notifications ( check desktop/mobile and cross wiki notifications).

Screenshot 2026-04-08 at 6.06.45 PM.png (1,510×778 px, 109 KB)
IMG_8257.PNG (828×1,792 px, 214 KB)

Change #1269536 had a related patch set uploaded (by Reedy; author: Bartosz Dziewoński):

[mediawiki/extensions/Echo@REL1_45] Grant new 'echo-read-notifications' right to all users

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

Change #1269537 had a related patch set uploaded (by Reedy; author: Bartosz Dziewoński):

[mediawiki/extensions/Echo@REL1_44] Grant new 'echo-read-notifications' right to all users

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

Change #1269538 had a related patch set uploaded (by Reedy; author: Bartosz Dziewoński):

[mediawiki/extensions/Echo@REL1_43] Grant new 'echo-read-notifications' right to all users

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

Change #1269538 merged by jenkins-bot:

[mediawiki/extensions/Echo@REL1_43] Grant new 'echo-read-notifications' right to all users

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

Change #1269537 merged by jenkins-bot:

[mediawiki/extensions/Echo@REL1_44] Grant new 'echo-read-notifications' right to all users

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

Change #1269536 merged by jenkins-bot:

[mediawiki/extensions/Echo@REL1_45] Grant new 'echo-read-notifications' right to all users

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