Last modified: 2011-02-08 21:56:37 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 T27720, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 25720 - substitute LOCALTIMESTAMP can differ from REVISIONTIMESTAMP
substitute LOCALTIMESTAMP can differ from REVISIONTIMESTAMP
Status: NEW
Product: MediaWiki
Classification: Unclassified
Page editing (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
http://de.wikipedia.org/w/index.php?o...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-10-31 08:51 UTC by Umherirrender
Modified: 2011-02-08 21:56 UTC (History)
1 user (show)

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


Attachments

Description Umherirrender 2010-10-31 08:51:11 UTC
See URL, there is a difference between REVISIONTIMESTAMP and the substituted LOCALTIMESTAMP from 1 second. This can happen, when the parsing of that page is not in the same second than the storing in database. This can affect all timevariable (LOCAL* and CURRENT*, maybe parser function #time/timel).
Comment 1 Bawolff (Brian Wolff) 2010-10-31 16:10:48 UTC
Is this something we care about?
Comment 2 Umherirrender 2010-11-02 20:31:09 UTC
(In reply to comment #1)
> Is this something we care about?

I think so...

But feel free to WONTFIX this. Than this is for documentation only.
Comment 3 Krinkle 2010-11-02 23:26:24 UTC
Revision timestamp is the time the last revision was stored.
Localtimestamp is the time the page was last parsed.

If one purges the page (action=purge) afaik the localtimestamp will be updated (among othere things), but revisiontimestamp will stay the same.

When somebody clicks "Save" the time the request is recieved will be marked as the revisiontimestamp (the time you see on the History page). Then the rendering starts and it can sure take longer then a second sometimes (or even if the rendering only takes 3 miliseconds, if after 2 miliseconds the clock completes the minute, the localtimestamp right after saving could be one minute more).

So I dont think this is a bug, nor should it be changed.
Comment 4 Umherirrender 2010-11-10 19:05:02 UTC
(In reply to comment #3)
> Revision timestamp is the time the last revision was stored.
> Localtimestamp is the time the page was last parsed.
> If one purges the page (action=purge) afaik the localtimestamp will be updated
> (among othere things), but revisiontimestamp will stay the same.

The different in this bug is, that the timestamp get substituted and so the real time goes into the wikitext and purge has no effect.

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


Navigation
Links