Page MenuHomePhabricator

Rollback missing from most recent diff
Closed, ResolvedPublic

Description

Author: gareth.rees

Description:
In MediaWiki 1.4, when an administrator looks at the most recent diff for an article a rollback link
is presented allowing that edit to be quickly reverted. This link is not present in MediaWiki 1.5,
making some editing tasks more tedious (the relevant rollback URL can be constructed by hand or
found via other pages).

Please restore the rollback link to the most recent diff page.

(I guess this has something to do with the fact that the current revision of an article is no longer
easily identifiable by having no oldid.)


Version: 1.5.x
Severity: normal

Details

Reference
bz2562

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:38 PM
bzimport set Reference to bz2562.
bzimport added a subscriber: Unknown Object (MLST).

jds65 wrote:

The rollback link appears as normal when looking at diffs from My Watchlist but
not from Contribution or History.

zigger wrote:

*** Bug 2589 has been marked as a duplicate of this bug. ***

piokon wrote:

Wikipedia. I have the same bug. Tested just now: difference from history: no
rollback (accessed via page or watchlist): no rollback. Difference directly from
watchlist: rollback is, ok - but I don't use diff since it hides older comments,
so I'd appreciate if it was restored on history. Tnx!

jeluf wrote:

Fixed in DifferenceEngine.php, rev 1.69

Code was checking for oldid==0, which was not always the case.