https://bugzilla.wikimedia.org/show_bug.cgi?id=20328
Summary: Cannot login to a page with bad revision timestamps
Product: MediaWiki
Version: 1.14.1
Platform: Other
OS/Version: Linux
Status: NEW
Severity: minor
Priority: Normal
Component: General/Unknown
AssignedTo: [email protected]
ReportedBy: [email protected]
We run MediaWiki on a virtual machine (VMWare) and occasionally encounter bad
revision times since the VM has a hard time keeping the time synced correctly.
Basically, several hours pass in a matter of minutes, someone makes an edit,
several more hours pass and the time re-syncs when it thinks that it is
midnight. That sets the current time to a point before the time it thinks the
revision was made. Craziness ensues. I appreciate this is a bit of an edge
case from virtualization, but it would still be nice to see fixed. I feel that
virtualization only exposed this, and there may be other ways to reproduce
this. (And yes I know there are ways to keep VM times in sync, I would just
prefer not to go into detail here about why we don't.)
Steps to reproduce:
-At time X, make an edit on a page
-Set the server's time to X - 2:00
-Navigate to the page that was edited
-Check the history of the page, it should say the the edit occurred two hours
ahead of the server's time
-Navigate back to the page
-Attempt to login
Expected Result: The user is logged in
Actual Result: The page appears to refresh, but the user is not logged in
-Click view source (It now appears that you are logged in)
-Make some edits and submit
Expected Result: The edits should appear on the page
Actual Result: The page remains the same
-Check the history on the page
Expected Result: The edit just made should appear at the top of the list
Actual Result: The original edit is at the top, with the most recent one under
since it was made at an earlier system time
Ideal Fix (In my mind): The user should be able to login regardless of the
server's time being behind the revision time. Additionally, and this is
certainly discussable, if an revision time stamp is ahead of the server time at
the time of an edit, the revision time should be modified to the current time
to keep edits in chronological(Real-Time) order.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l