Page MenuHomePhabricator

Notifications not in reverse chronological order on default Android browser
Closed, ResolvedPublic

Description

Author: h

Description:
Screen captures

When I'm using Wikipedia in my Android browser, it displays automatically in mobile mode. When I view my notifications in that mode, they're listed in an arbitrary order instead of reverse chronological as they are on the regular website. This is true ONLY on the mobile device. Even when I load the mobile home page into my PC browser and click the Notifications button in the upper right corner of the page, the entries are in the right order.

But I'm having trouble figuring out how to best report this because the address seems to be

https://en.m.wikipedia.org/w/index.php?title=Special:Notifications&returnto=Main+Page

yet when I enter this directly, the phone then gets the order right. I think that when I use the Notifications button to get there, it actually displays the data within the context of the page that contained the button. That might make the difference. Another difference on the phone is that when I touch the Notifications button, the page heading looks like the top portion of the attached screen capture composite, but when I enter the address directly, it looks like the bottom portion.


Version: unspecified
Severity: minor
OS: other
Platform: Smartphone

Attached:

AttachmentA.jpg (183×717 px, 27 KB)

Details

Reference
bz60450

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:03 AM
bzimport set Reference to bz60450.
bzimport added a subscriber: Unknown Object (MLST).

Is this the same as bug 58050? If so, that was supposed to be fixed…

h wrote:

It's different. The order seems arbitrary, and this is in the phone's default Android browser. I just checked it in Firefox on the same phone and the entries are sorted correctly.

Android version information welcome.

bingle-admin wrote:

Prioritization and scheduling of this bug is tracked on Mingle card https://wikimedia.mingle.thoughtworks.com/projects/mobile/cards/1649

h wrote:

Android 4.3. Browser is NOT Apple Safari. Device = Galaxy S3, Verizon.

From your description, it sounds like this is happening in the notifications overlay, rather than the notifications special page. In theory, it shouldn't be possible for them to be in the wrong order since we are explicitly sorting them on the client-side now. Strange.

I can now replicate this in an emulator. It's very bizarre.

Change 111099 had a related patch set uploaded by Jdlrobson:
Sort notification list correctly.

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

I also managed to replicate this in my Chrome browser. Kaldari points out we are not using sort correctly.

Change 111099 merged by jenkins-bot:
Sort notification list correctly.

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