Last modified: 2014-02-12 23:54:06 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T62450, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60450 - Notifications not in reverse chronological order on default Android browser
Notifications not in reverse chronological order on default Android browser
Status: RESOLVED FIXED
Product: MobileFrontend
Classification: Unclassified
stable (Other open bugs)
unspecified
Smartphone other
: Unprioritized minor
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-26 21:46 UTC by Jason
Modified: 2014-02-12 23:54 UTC (History)
8 users (show)

See Also:
Web browser: ---
Mobile Platform: Android
Assignee Huggle Beta Tester: ---


Attachments
Screen captures (27.30 KB, image/jpeg)
2014-01-26 21:46 UTC, Jason
Details

Description Jason 2014-01-26 21:46:21 UTC
Created attachment 14379 [details]
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.
Comment 1 Bartosz Dziewoński 2014-01-26 21:51:08 UTC
Is this the same as bug 58050? If so, that was supposed to be fixed…
Comment 2 Jason 2014-01-26 23:22:34 UTC
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.
Comment 3 Andre Klapper 2014-01-27 12:03:07 UTC
Android version information welcome.
Comment 4 Bingle 2014-01-27 18:25:45 UTC
Prioritization and scheduling of this bug is tracked on Mingle card https://wikimedia.mingle.thoughtworks.com/projects/mobile/cards/1649
Comment 5 Jason 2014-01-28 03:16:31 UTC
Android 4.3. Browser is NOT Apple Safari. Device = Galaxy S3, Verizon.
Comment 6 Ryan Kaldari 2014-02-03 21:43:58 UTC
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.
Comment 7 Jon 2014-02-03 21:48:17 UTC
I can now replicate this in an emulator. It's very bizarre.
Comment 8 Ryan Kaldari 2014-02-03 21:50:05 UTC
Hmm, might be a bug in the Android browser: http://stackoverflow.com/questions/18258905/javascript-array-sort-not-working-in-default-android-browser
Comment 9 Gerrit Notification Bot 2014-02-03 21:56:15 UTC
Change 111099 had a related patch set uploaded by Jdlrobson:
Sort notification list correctly.

https://gerrit.wikimedia.org/r/111099
Comment 10 Jon 2014-02-03 21:56:46 UTC
I also managed to replicate this in my Chrome browser. Kaldari points out we are not using sort correctly.
Comment 11 Gerrit Notification Bot 2014-02-03 21:59:53 UTC
Change 111099 merged by jenkins-bot:
Sort notification list correctly.

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links