Page MenuHomePhabricator

Cannot expand external messages after returning from a visited one
Closed, ResolvedPublic

Description

Reproduction stepsExpected behaviorActual behavior
1. As a logged in user, have an unread message on two different another wikisThe Your messages icon shows "2"as expected
2. Click the Your messages iconThe message list opens, showing collapsed "More messages from another wiki"as expected
3. Click "View 2 messages"The list of messages from another wiki expandsas expected
4. Click the first message from another wikiThe corresponding talk page opensas expected
5. Click Back in your browserThe previous page is displayed, the list of 2 messages from another wikis is still displayed and expandedas expected
6. Click outside of the list of messagesThe message list disappearsas expected
7. Click the Your messages iconThe number of messages updates to 1, the message list opens, showing collapsed "More messages from another wiki"as expected
8. Click "View 1 message"The list of messages from another wiki expandsThe list of messages from another wiki expands and collapses immediately [BUG]

MediaWiki: 1.28.0-wmf.4 (rMW9cbb25d99e98) (tested at srwiki)
Client: Firefox 46.0.1 with Adblock Plus, WinXP

Event Timeline

Checked the exact steps in betalabas and srwiki (production) - in Chrome.

[betalabs] #5 step behaves differently - after #4 step "Click the first message from another wiki" - clicking 'Back' browser button displays the page where the number of messages is reduced by 1 and the flyout is closed.
(also, checked in test.wikipedia.org - no issue is found)

Screen Shot 2016-06-06 at 4.16.49 PM.png (366×1 px, 71 KB)

srwiki - the browser Back button does not update the counter immediately: when the message badge is clicked, then the counter is updated.

Screen Shot 2016-06-06 at 4.44.38 PM.png (300×578 px, 40 KB)

Screen Shot 2016-06-06 at 4.44.47 PM.png (304×578 px, 41 KB)