https://bugzilla.wikimedia.org/show_bug.cgi?id=24665
Summary: edit api conflict on deleted and restored files.
Product: MediaWiki
Version: 1.17-svn
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Normal
Component: API
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected]
I experienced an issue trying to use edit api on this file:
http://commons.wikimedia.org/w/index.php?title=File:Concert.jpg
This happened after I had deleted and then restored the page, see also the log
of that here:
http://commons.wikimedia.org/w/index.php?title=File:Concert.jpg&action=delete .
Whatever I tried, I couldn't make an edit to that page then. Every time I got:
{"error":{"code":"pagedeleted","info":"The page has been deleted since you
fetched its timestamp"}}
I tried purging the page and my browser, tried waiting a while (2 hours) and
switching browsers, the problem would not go away. Perhaps the delete and
restore timestamps were too close, confusing editconflict detection, or
possibly, the api is looking at the last time of deletion and last time of
edit, not realising that an undeletion of the page is an event that can occur
after those two times.
I finally solved it by making an edit to the page with the normal interface.
After that, everything went like clock work.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l