Page MenuHomePhabricator

Diff navigation links are confusing for diffs between two different pages
Closed, ResolvedPublic

Description

Author: gangleri

Description:
Hallo!
http://test.leuksman.com/index.php?title=MediaWiki:Val_warning&diff=7555&oldid=1949
is a diff between revisions of *two* pages because oldis is not *949* but *1949*.

This (diffs between two different pages) is a very interesting feature I was
about to issue a feature request.

However as the diff behaves now the only indication is in the page title:
*MediaWiki:Val view version, MediaWiki:Val warning*

I would suggest that links to both titles should be above the revisions.
I could not understand how "← Previous diff" and "Next diff →" would behave
(what they would generate.
A more clear indication that this is a diff between *two* pages would be usefull
too.
The error description at a diff with a deleted page is OK.

Compare with screen dump at
http://jadesukka.homelinux.org:8180/betawiki/Image:Diffs_between_two_different_pages_01.jpg

Regards Reinhardt [[user:gangleri]]


Version: 1.13.x
Severity: minor
URL: http://en.wikipedia.org/w/index.php?diff=1&oldid=12345

Details

Reference
bz2455

Event Timeline

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

gangleri wrote:

screen dump for bug 02455

The original url to the image is disclosed.

Attached:

diffs_between_two_different_pages_01.jpg (312×864 px, 50 KB)

gangleri wrote:

Hallo!

Please read first bug 3957
restructure the code to evaluate ?title=foo&oldid=nnnn ; allow ?oldid=nnnn
without title

http://test.leuksman.com/index.php?title=MediaWiki:Val_warning&diff=7555&oldid=1949
compares oldid 7555 and 1949 (belonging to *different* titles) and generates the
difference between these.

http://test.leuksman.com/index.php?title=Detelion_messages_testpage&diff=7556&oldid=1949
Revision as of 19:53, 25 April 2005
is http://test.leuksman.com/index.php?title=User_talk:WikiSysop&oldid=1949
← Previous diff
is
http://test.leuksman.com/index.php?title=Detelion_messages_testpage&diff=prev&oldid=1949
Here the titles *differ*

here a testcase with the deleted oldid=8682
http://test.leuksman.com/index.php?title=MediaWiki:Val_warning&diff=8682&oldid=1949

http://test.leuksman.com/index.php?title=missspellled_title&diff=7555&oldid=1949
shows has also a mismatch in the titles

If "title=foo" is removed
http://test.leuksman.com/index.php?diff=7555&oldid=1949
will show
← Previous diff
http://test.leuksman.com/index.php?title=Main_Page&diff=prev&oldid=1949
Next diff →
http://test.leuksman.com/index.php?title=Main_Page&diff=next&oldid=7555
Here Main_Page is used as title

At http://test.leuksman.com/index.php?&diff=7556&oldid=1949
"Current revision" is refered without an oldid and the link
to http://test.leuksman.com/view/Main_Page has *nothing* to do with the diff.

*request*

  • Please allow to make diffs between oldid's from two titles also in the future.

This is a very usefull featrure.

  • Some links need minor fix. It should be checked if the title mentioned in the

url is the "owner" of the oldid. This is not the case at
http://test.leuksman.com/index.php?title=Detelion_messages_testpage&diff=7556&oldid=1949

  • add a MediaWiki message to notify if "title" is not the owner of any of the

verions

I could not comment this one:
http://test.leuksman.com/index.php?title=Detelion_messages_testpage&diff=prev&oldid=1949

best regards reinhardt [[user:gangleri]]

Changed example URL to one on Wikipedia which is functional.

Things are almost fixed now except that "Article" "Talk" "Read" "Edit" ... links are only for one article.

Better to show it as a invocation of Special:ComparePages?

matmarex subscribed.

These days the links are no longer shown when comparing two pages. I don't know when this was fixed.
https://en.wikipedia.org/w/index.php?diff=1&oldid=12345

image.png (2×3 px, 410 KB)