Last modified: 2012-08-23 17:59:32 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T36427, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 34427 - Upload log and filehistory section timestamps differ
Upload log and filehistory section timestamps differ
Status: NEW
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
unspecified
All All
: Low minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-02-15 22:43 UTC by Saibo
Modified: 2012-08-23 17:59 UTC (History)
6 users (show)

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


Attachments

Description Saibo 2012-02-15 22:43:45 UTC
As posted in #wikimedia-tech - but without answer there:

Compare the times at https://commons.wikimedia.org/w/index.php?title=Special:Log&page=File%3AWiki-Sticker.JPG  vs. https://commons.wikimedia.org/wiki/File:Wiki-Sticker.JPG#filehistory  But: there was no file version on 20:41 when I checked the file page. 

At that time I told the user to use the "upload" link on top of the desc page (there was written that the file page exists but not file version has been uploaded).  I guess he did (according to his answer to me) but the log / file version times are totally off.
Comment 1 Rob Lanphier 2012-02-16 20:04:29 UTC
Saibo, I'm not seeing anything that looks wrong here, but perhaps it's a timezone thing, or the problem repaired itself.  What's wrong with the timestamps?
Comment 2 Saibo 2012-02-17 01:58:58 UTC
The "20:41" is UTC, too.

https://commons.wikimedia.org/w/index.php?title=Special:Log&page=File%3AWiki-Sticker.JPG → 2012-02-15T19:39:30

https://commons.wikimedia.org/wiki/File:Wiki-Sticker.JPG#filehistory → 2012-02-15T19:39:27

3 seconds off although both should be the same, shouldn't they?


Btw: the same 3 seconds off are visible here: https://commons.wikimedia.org/wiki/File:Wiki-Sticker_1.JPG

And, yes, the problem is repaired.. but I want to know the root cause and avoid it re-appearing. ;)
Comment 3 Saibo 2012-02-17 18:27:04 UTC
Hmm.. well - maybe simply a mediawiki bug: https://commons.wikimedia.org/w/index.php?title=Special:Log&page=File%3AAaatestSonnepalmenstrand90.jpg  current file version timestamp on the "filehistory" section on the file page differs by 7 seconds compared with the log entry.  Interestingly the is no difference at the oldest file version.
Comment 4 Rainer Rillke @commons.wikimedia 2012-02-17 18:37:05 UTC
That's pretty annoying. There is no way to say for sure "This log entry belongs to this version". You can say this with a huge probability but not for sure.

This also causes problems if you want to write Apps that should display one user's uploads.

While writing MediaWiki:JSONListUploads.js on Commons, I had to convert each MW-date to a javaScript date and then comparing each date not having more than 10s difference. Well, this works fine but other authors would be certainly thankful if the timestamps would match and if one would be able easier to track page-moves.
Comment 5 Rainer Rillke @commons.wikimedia 2012-02-17 19:41:47 UTC
The same is true for the revision-timestamp and "added-to-a-category-date".
Comment 6 Bawolff (Brian Wolff) 2012-08-23 17:59:32 UTC
3 seconds is a kind of long time difference for this, but all in all - the action of making a log entry and uploading the file are separate things, and each timestamp is the time each step in the process was completed.

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


Navigation
Links