Last modified: 2014-03-14 18:09:33 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 T64651, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62651 - basetimestamp parameter is broken? the edit was stored even with months old basetimestamp
basetimestamp parameter is broken? the edit was stored even with months old b...
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
unspecified
All All
: High major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks: 59982
  Show dependency treegraph
 
Reported: 2014-03-14 17:46 UTC by Peter Bena
Modified: 2014-03-14 18:09 UTC (History)
5 users (show)

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


Attachments

Description Peter Bena 2014-03-14 17:46:12 UTC
I was trying to edit some pages on tests wiki

https://test.wikipedia.org/w/index.php?title=User_talk:Petrb&action=history

I made edit at  17:41, 14 March 2014‎ Petrb (talk | contribs | block)

then I made edit again with &basetimestamp=2013-12-21T09%3A09%3A45Z and THIS EDIT DID PASS, even if the basetimestamp is several months old. How is it possible? Isn't this supposed to display some error? If not, how this parameter is supposed to work? Documentation say that.
Comment 1 Umherirrender 2014-03-14 18:07:34 UTC
The basetimestamp is used to detect edit conflicts. When the conflict is detected and can be resolved automatically than it is done, the same as editing with the gui.
Providing no basetimestamp will override all previous edits and will not merge they.
Comment 2 Brad Jorsch 2014-03-14 18:09:33 UTC
No, basetimestamp is not broken. Your edit conflict was automatically merged. You may want to look at the logic in EditPage.php near lines 1646-1671 to see just how it works (the value from basetimestamp is in $this->edittime).

BTW, it would be helpful in the future if you detail the exact API queries you made, rather than just saying "I made edits".

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


Navigation
Links