https://bugzilla.wikimedia.org/show_bug.cgi?id=50932
Web browser: ---
Bug ID: 50932
Summary: api wbeditentity gives save-failed instead of saying
it needs new=
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: WikidataRepo
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
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.
--
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