Page MenuHomePhabricator

Show timestamp for the current revision in diff. pages
Closed, ResolvedPublic

Description

Author: leon

Description:
A diff between an old revision and a current one doesn't show a timestamp for
the current one. It would be useful if there was one.
For example, see

http://de.wikipedia.org/w/index.php?title=Hauptseite&diff=cur

or any other article with a &diff=cur.


Version: 1.7.x
Severity: enhancement
URL: http://de.wikipedia.org/w/index.php?title=Hauptseite&diff=cur

Details

Reference
bz6304

Event Timeline

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

leon wrote:

adds a timestamp to the current revision in diffs

I'm new to php, it took me a while to understand the relevant code. This works
for me, but I can't say if it's ugly or something :-)

attachment diffEnginePatch.diff ignored as obsolete

leon wrote:

adds a timestamp to the current revision in diffs, better

the same, without an unneeded line

Attached:

Applied in r14815 with slight modifications.