Page MenuHomePhabricator

Setting the ordering of the watchlist
Closed, ResolvedPublic2 Estimated Story Points

Description

I turned on the list and found that it was sorting the changes according to some strange criterion. The list is almost impossible to use in real time, since the latest changes have to be looked for somewhere inside the list.

image.png (438×1 px, 106 KB)

Is it possible to do the standard ordering by date and time?

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
DannyS712 subscribed.

@Iniquity so this should really be documented somewhere, but the order is based on the order edits are made in, and then if there are multiple edits to the same page their are displayed using the timestamp of the latest, but (I'm pretty sure) still sorted using the timestamp of the oldest. Maybe we can add an explicit sort function watchlistUtils...

@Iniquity so this should really be documented somewhere, but the order is based on the order edits are made in, and then if there are multiple edits to the same page their are displayed using the timestamp of the latest, but (I'm pretty sure) still sorted using the timestamp of the oldest. Maybe we can add an explicit sort function watchlistUtils...

I'm positive that the edits are sorted by page ID.

Change 666336 had a related patch set uploaded (by DannyS712; owner: DannyS712):
[mediawiki/extensions/GlobalWatchlist@master] Sort entries by timestamp

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

DannyS712 triaged this task as Medium priority.
DannyS712 moved this task from Later to Awaiting review and deployment on the User-DannyS712 board.
DannyS712 set the point value for this task to 2.

Change 666336 merged by jenkins-bot:
[mediawiki/extensions/GlobalWatchlist@master] Sort entries by timestamp

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

DannyS712 moved this task from In progress to Done on the MediaWiki-extensions-GlobalWatchlist board.
DannyS712 removed a project: Patch-For-Review.
DannyS712 set Final Story Points to 3.