Last modified: 2013-07-09 07:46:25 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 T52932, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 50932 - api wbeditentity gives save-failed instead of saying it needs new=
api wbeditentity gives save-failed instead of saying it needs new=
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Wikidata bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-08 11:33 UTC by Addshore
Modified: 2013-07-09 07:46 UTC (History)
2 users (show)

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


Attachments

Description Addshore 2013-07-08 11:33:32 UTC
1:29 PM <liangent> mw.MediaWikiApiError: save-failed: Could not create a new page.
1:29 PM <liangent> It already exists.; request: {'action': 'wbeditentity', 'token': <function <lambda> at 0x13791b8>, 'data': '{}', 'format': 'json'}
1:29 PM <liangent> how can '{}' be existing?

This should give a more informative error about needing the new parameter.
Comment 1 Addshore 2013-07-09 07:46:25 UTC
The current api doesn't require new= so save-failed is appropriate here.

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


Navigation
Links