Bugs item #3609816, was opened at 2013-04-02 11:46 Message generated for change (Comment added) made by legoktm You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3609816...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: rewrite Group: None
Status: Closed Resolution: Fixed
Priority: 5 Private: No Submitted By: Nullzer0 (nu11zer0) Assigned to: Legoktm (legoktm) Summary: [rewrite branch] Can't edit Wikidata
Initial Comment: When I tried to edit an item, it always appeared this warning; WARNING: API warning (main): Unrecognized parameter: 'ids'. The result is that a new item is created instead of editing an old item.
It is obvious that API doesn't support ids for action=wbeditentity, changing params['ids'] to params['id'] in function __defined_by makes me can edit an item properly again, but I don't know whether this change will break another function or not.
---- Pywikibot branches/rewrite/ (r11322, 2013/04/01, 16:43:54, ok) Python 2.7.3 (default, Sep 26 2012, 21:53:58) [GCC 4.7.2] unicode test: ok
----------------------------------------------------------------------
Comment By: Legoktm (legoktm)
Date: 2013-04-03 09:20
Message: Commited by xqt in r11323.
----------------------------------------------------------------------
Comment By: Legoktm (legoktm) Date: 2013-04-03 04:46
Message: I'm having an issue commiting to SVN right now, so I've attached the patch I will commit once it's fixed in case you need an urgent fix.
----------------------------------------------------------------------
Comment By: Nullzer0 (nu11zer0) Date: 2013-04-03 03:05
Message: I have sent the patch now. You can close this bug as duplicate.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3609816...
pywikipedia-bugs@lists.wikimedia.org