http://www.mediawiki.org/wiki/Special:Code/pywikipedia/11256
Revision: 11256 Author: legoktm Date: 2013-03-25 04:19:16 +0000 (Mon, 25 Mar 2013) Log Message: ----------- Fix typo in API parameter name (from r11240)
Modified Paths: -------------- branches/rewrite/pywikibot/site.py
Modified: branches/rewrite/pywikibot/site.py =================================================================== --- branches/rewrite/pywikibot/site.py 2013-03-24 17:28:53 UTC (rev 11255) +++ branches/rewrite/pywikibot/site.py 2013-03-25 04:19:16 UTC (rev 11256) @@ -3441,7 +3441,7 @@ }, ], } - params['snak'] = json.dumps(snak) + params['snaks'] = json.dumps(snak) for arg in kwargs: if arg in ['bot', 'lastrevid']: params[arg] = kwargs[arg]
pywikipedia-svn@lists.wikimedia.org