Last modified: 2014-11-17 10:35:37 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 2930 - Edit history is based on timestamp while diff prev/next links are based on revision id
Edit history is based on timestamp while diff prev/next links are based on re...
Status: NEW
Product: MediaWiki
Classification: Unclassified
History/Diffs (Other open bugs)
unspecified
All All
: Low normal with 8 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 1919 2219 2880 3630 4925 5291 5702 6551 6871 8062 8355 11286 21741 24671 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-07-21 20:53 UTC by Michael Hardy
Modified: 2014-11-17 10:35 UTC (History)
20 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Michael Hardy 2005-07-21 20:53:13 UTC
I just edited [[St. Louis Park, Minnesota]].  The edit history shows this:

# (cur) (last)  20:47, 21 July 2005 Michael Hardy (→Education)

# (cur) (last) 20:46, 21 July 2005 Michael Hardy (attempting to fix a mangled link)

The ostensibly last edit is summarized by the word "Education", that being the
section heading.  Clicking on "last" informs me that the edit consisted of changing

the [[U.S. Department of Education]]

to

[[the U.S. Department of Education]].

In reality, my summary for the last edit, NOT the one BEFORE that, said
"attempting to fix mangled link", and in fact in that edit I changed

[[the U.S. Department of Education]]

to

the [[U.S. Department of Education]].
Comment 1 simonell 2006-01-31 18:09:58 UTC
Another aspect, in the diff-view
(http://en.wikipedia.org/w/index.php?title=St._Louis_Park%2C_Minnesota&diff=19325761&oldid=19282350):
Clicking on next edit doesnt show the Edit summarized with Education
Comment 2 lɛʁi לערי ריינהארט 2006-02-02 14:34:31 UTC
Hallo!

Please see
http://en.wikipedia.org/w/index.php?title=St._Louis_Park%2C_Minnesota&action=history&limit=20&offset=20050730000001

# (cur) (last)  21:54, 21 July 2005 Michael Hardy (Trying to force this thing to
reload despite an apparent software bug.)
http://en.wikipedia.org/w/index.php?title=St._Louis_Park%2C_Minnesota&oldid=19326248

# (cur) (last) 21:47, 21 July 2005 Michael Hardy (→Education)
http://en.wikipedia.org/w/index.php?title=St._Louis_Park%2C_Minnesota&oldid=19325673
*oldid* is out of order

# (cur) (last) 21:46, 21 July 2005 Michael Hardy (attempting to fix a mangled link)
http://en.wikipedia.org/w/index.php?title=St._Louis_Park%2C_Minnesota&oldid=19325761

# (cur) (last) 06:35, 21 July 2005 C.e.worthington (Added Educational Information)
http://en.wikipedia.org/w/index.php?title=St._Louis_Park%2C_Minnesota&oldid=19282350

Marking
Bug 3630: Inconsistency between "Earliest" revision, action=history and
"Previous diff" / "Next diff" navigation
as a duplicate of this bug and changing summary
Please read bug 3630 comment 3

best regards reinhardt [[user:gangleri]]
Comment 3 lɛʁi לערי ריינהארט 2006-02-02 14:35:15 UTC
*** Bug 3630 has been marked as a duplicate of this bug. ***
Comment 4 lɛʁi לערי ריינהארט 2006-02-02 14:54:10 UTC
*note*
A multiple sort key is required here:
first "timespamp", then "pageid" / "page_id" (?)

marking
Bug 2880: Page history gets mixed up if entries were created the same minute
as a duplicate of this bug

best regards reinhardt [[user:gangleri]]
Comment 5 lɛʁi לערי ריינהארט 2006-02-02 14:56:01 UTC
*** Bug 2880 has been marked as a duplicate of this bug. ***
Comment 6 lɛʁi לערי ריינהארט 2006-02-03 13:19:08 UTC
(In reply to comment #4)
> *note*
> A multiple sort key is required here:
> first "timespamp", then "pageid" / "page_id" (?)

The multiple sort criteria first "timestamp", then "pageid" / "page_id" (?) at
history/diff should be the same as at  "Special:Contributions/foo" and
[[Special:Recentchanges]].

The links at Special:Contributions/foo are using diff=prev&oldid=<oldid_no>.
The links at Special:Recentchanges are using
curid=<curid_no>&diff=<diff_no>&oldid=<oldid_no>.
Both seems to be sorted by timestamp and <diff_no>.

best regards reinhardt [[user:gangleri]]

*note*
history/diff is not mentioned at
Bug 2468: The code that generates the namespace form for Special:Contributions,
Special:Allpages and Special:Recentchanges should be merged
but I think that sort criterias should be the same exept for Special:Allpages
Comment 7 David Benbennick 2006-02-09 02:14:23 UTC
*** Bug 4925 has been marked as a duplicate of this bug. ***
Comment 8 David Benbennick 2006-02-09 02:16:46 UTC
I have another example of the "Next diff", "Prev diff" links not working right.  See
http://commons.wikimedia.org/w/index.php?title=Template:Description&diff=next&oldid=246447
That link is supposed to show the difference between revision 246447
and the chronologically next revision. Instead, it shows the difference between
246447 and the ''previous'' revision, 246448. Apparently the diff view assumes
that page ID numbers are in chronological order, when they really aren't.
Comment 9 baumanns 2006-02-09 07:05:11 UTC
Same problem appears here also:
http://de.wikipedia.org/w/index.php?title=MediaWiki:Notargettext&diff=next&oldid=1399036

As you can see in the history, it's in the wrong order:
http://de.wikipedia.org/w/index.php?title=MediaWiki:Notargettext&action=history
Comment 10 Brion Vibber 2006-04-25 01:51:45 UTC
*** Bug 5702 has been marked as a duplicate of this bug. ***
Comment 11 Purodha Blissenbach 2006-04-25 05:14:40 UTC
Probably the same problem appears here:
http://ksh.wikipedia.org/w/index.php?title=User_talk:Purodha&direction=next&oldid=6719
the "Newer revision→" links to:
http://ksh.wikipedia.org/w/index.php?title=User_talk:Purodha&direction=next&oldid=6720
, following the link does not display the next newer revision, but the most current as of today.

Reason being most likely the oldid's not being in date/time order.
Here, the revisions newer than oldid=6720 have been created before all the older versions up to and including 
oldid=6720 were created via Special:Import. As of now, no newer revisions have been made since.
Comment 12 lɛʁi לערי ריינהארט 2006-04-25 19:50:39 UTC
*** Bug 5291 has been marked as a duplicate of this bug. ***
Comment 13 Brion Vibber 2006-12-22 18:03:10 UTC
*** Bug 8355 has been marked as a duplicate of this bug. ***
Comment 14 Brion Vibber 2007-09-11 14:55:51 UTC
*** Bug 11286 has been marked as a duplicate of this bug. ***
Comment 15 Brion Vibber 2008-04-26 23:31:09 UTC
*** Bug 8062 has been marked as a duplicate of this bug. ***
Comment 16 Brion Vibber 2008-04-26 23:31:25 UTC
*** Bug 6551 has been marked as a duplicate of this bug. ***
Comment 17 Gurch 2009-05-29 03:31:16 UTC
Changing summary, confusing to say "the edit history is wrong" when sorting based on timestamp is the expected behaviour from a user's perspective, making the edit history 'correct' and diff links 'wrong'.
Comment 18 P.Copp 2009-12-02 14:34:20 UTC
*** Bug 21741 has been marked as a duplicate of this bug. ***
Comment 19 Dan Collins 2011-07-10 02:43:15 UTC
Per Gurch, the issue is not that the edit history is wrong, but that the timestamps are wrong. This isn't MediaWiki's fault, if anything it's either a WikiMedia server cluster bug or it's that we should be using something other than timestamps to sort edits. There be dragons, in my opinion, with using something other than timestamp to sort because then users get confused, and short of buying a few atomic clocks there's no way to improve timestamp accuracy, as I presume each cluster is NTPing together. Is there anything to be done on this bug or can it be closed?
Comment 20 Mark Clements (HappyDog) 2011-07-10 18:40:17 UTC
I don't think it's relevant whether the timestamps are right or wrong.  There will be valid reasons where sorting by ID and by timestamp give different results (e.g. transwiki imports, or article merges).  The problem is that the sorting is done by timestamps in one place (revision list), and IDs in another ('diff with previous' link).

All sorting of revisions should be done by timestamp, then ID, in all cases.  This would remove inconsistencies within the various user interfaces where revisions are displayed/used.

Problems on the cluster that result in incorrect timestamps (if they exist) are a completely separate issue, and should be handled by a different bug.
Comment 21 Graham87 2011-10-29 09:23:51 UTC
The effects of this bug have changed a bit since the MediaWiki 1.18 update. The "diff prev"/"diff next" links are still sorted by revision ID, but the number of intermediate revisions found above the diff is now calculated by date rather than revision ID. See sections 3 and 4 of:
http://en.wikipedia.org/wiki/User:Graham87/Page_history_observations#Strange_times_reported_in_diffs
Comment 23 Andre Klapper 2012-11-10 15:45:54 UTC
*** Bug 2219 has been marked as a duplicate of this bug. ***
Comment 24 Andre Klapper 2012-11-10 15:46:04 UTC
*** Bug 1919 has been marked as a duplicate of this bug. ***
Comment 25 Andre Klapper 2012-11-10 16:12:33 UTC
*** Bug 6871 has been marked as a duplicate of this bug. ***
Comment 26 Kevin Israel (PleaseStand) 2013-09-27 05:36:51 UTC
*** Bug 24671 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links