Page MenuHomePhabricator

MediaWiki generates invalid diffs
Closed, DeclinedPublic

Description

Author: carnildo

Description:
If you enter a "diff" URL that specifies revisions from two different pages, the MediaWiki software will generate a diff between them.

Steps to reproduce:
Visit a URL such as http://en.wikipedia.org/w/index.php?title=Wikipedia_talk:Bots&diff=36063763&oldid=879

What happens:
MediaWiki generates a "diff" page between an ancient revision of the "Sport" article and a recent revision of the "Wikipedia talk:Bots" page.

What should happen:
MediaWiki should generate a very polite error message.


Version: unspecified
Severity: trivial
OS: Linux
Platform: PC

Details

Reference
bz4701

Event Timeline

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

gangleri wrote:

Addition to comment #1:

This is intended behavior.

minor issues reported at:
Bug 2455: correct navigation links for diffs between two different pages
and
Bug 3957: restructure the code to evaluate ?title=foo&oldid=nnnn ; allow
?oldid=nnnn without title