Page MenuHomePhabricator

Treat diffs of first and last revisions the same
Open, Needs TriagePublic

Description

Right now, diff=prev from a page's first revision (appropriately) loads just the one diff (wgDiffNewId exists but wgDiffOldId is false; .diff-ntitle is present but not .diff-otitle) whereas diff=cur or diff=next from a page's most recent revision loads the two-column diff as if there were two revisions to compare (wgDiffNewId and wgDiffOldId both exist; .diff-ntitle and .diff-otitle are both present) but the information displayed is identical.

That is, compare the difference in appearance between Special:Diff/392724/prev to Special:Diff/392725/cur or Special:Diff/392725/next. The former style seems to me to be the most accurate representation, but at the very least treatment of the extremes should be the same. The difference is particularly noticeable on pages with only a single revision.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 30 2019, 8:33 PM
Amorymeltzer updated the task description. (Show Details)May 9 2019, 8:49 PM