Page MenuHomePhabricator

Cross wiki notifications show nothing in per-wiki dropdown sections (due to API returning count=0)
Closed, DuplicatePublic

Description

FF 118.0.1

Screenshot 2023-10-10 at 16.44.46.png (221×500 px, 17 KB)

I would expect more details about the individual alerts/notifications from the other wikis to appear upon expanding

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Aklapper renamed this task from Cross wiki notifications aren't showing correctly to Cross wiki notifications show nothing in per-wiki dropdown sections (due to API returning count=0).Oct 10 2023, 4:02 PM

Which is probably xref T342201: MediaWiki\Extension\Notifications\Api\ApiEchoUnreadNotificationPages::getUnreadNotificationPagesFromForeign: Unexpected API response from {wiki}... This task being the user facing impact, but that task being something related to the underlying error...

And that means it's not @matmarex's patches, but probably "fallout" from the DC switchover (and how MW is handling some of it).

This seems to be wiki-specific. For example, if I have an unread notification at https://meta.wikimedia.org/, it will not show up as a cross-wiki notification on https://www.mediawiki.org/, but it *will* show up on https://en.wikipedia.org/.

This is T223413: Broken (empty) cross-wiki notification when using $wgLocalHTTPProxy (e.g. on Kubernetes) and has been broken for a very long time. It seems specific to mediawiki.org and fully deterministic, so not related to the unreliability of centralauthtoken.