Last modified: 2014-02-12 23:54:06 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.
Is this the same as bug 58050? If so, that was supposed to be fixed…
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.
Prioritization and scheduling of this bug is tracked on Mingle card https://wikimedia.mingle.thoughtworks.com/projects/mobile/cards/1649
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.
Hmm, might be a bug in the Android browser: http://stackoverflow.com/questions/18258905/javascript-array-sort-not-working-in-default-android-browser
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