Page MenuHomePhabricator

In enhanced RecentChanges, there is a link for diff between current and current revision
Closed, ResolvedPublicFeature

Description

When Special:Preferences#mw-prefsection-rc and enabling "Group changes by page in recent changes and watchlist" and expanding a group, the newest revision in a group links to the diff to "cur", even if there is no newer revision. The latest revision should probably not have a clickable "cur" link.

Example of diff linked to: https://no.wikipedia.org/w/index.php?title=Brukerdiskusjon:Blue_Elf&curid=75880&diff=0&oldid=9559905


Version: unspecified
Severity: enhancement

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 12:00 AM
bzimport set Reference to bz32038.
bzimport added a subscriber: Unknown Object (MLST).

We don't usually JOIN on the page table for these queries, so it's hard to know if a change is the latest. You could assume that the top one in the group is, but that would fail if ChangesList is used on a time range like [timestamp A, timestamp B before the present].

I know what you mean; it would be hard to determine if there have been more recent changes (since recent changes/watchlist is divided by day, a page that is edited the next day would show up as a separate group).

Anyways, the example I linked to is no longer valid since there have actually been more recent changes. This link should hopefully be the same for a longer time: https://no.wikipedia.org/w/index.php?title=Mal:Valg_i_Tanzania&curid=974969&diff=0&oldid=9556518

Aklapper changed the subtype of this task from "Task" to "Feature Request".Feb 4 2022, 11:00 AM
Aklapper removed a subscriber: wikibugs-l-list.
kostajh moved this task from Inbox to Triaged on the Growth-Team board.
kostajh subscribed.

The status quo is still the same as when this was filed. Given no activity on this in 10 years, I'm going to decline this. If you disagree, please re-open.

matej_suchanek claimed this task.

Change 889951 had a related patch set uploaded (by Matěj Suchánek; author: Matěj Suchánek):

[mediawiki/core@master] RCCacheEntryFactory: Don't make a "cur" link for newest revision

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

Change 889951 merged by jenkins-bot:

[mediawiki/core@master] RCCacheEntryFactory: Don't make a "cur" link for newest revision

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