Last modified: 2014-07-24 12:41:53 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 T57220, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55220 - put_async should support all put parameters
put_async should support all put parameters
Status: NEW
Product: Pywikibot
Classification: Unclassified
General (Other open bugs)
unspecified
All All
: Normal enhancement
: ---
Assigned To: Pywikipedia bugs
:
Depends on:
Blocks: 55889
  Show dependency treegraph
 
Reported: 2013-10-05 04:45 UTC by Kunal Mehta (Legoktm)
Modified: 2014-07-24 12:41 UTC (History)
3 users (show)

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


Attachments

Description Kunal Mehta (Legoktm) 2013-10-05 04:45:29 UTC
Originally from: http://sourceforge.net/p/pywikipediabot/bugs/1398/
Reported by: valhallasw
Created on: 2012-01-15 18:36:28
Subject: put_async should support all put parameters
Original description:
http://lists.wikimedia.org/pipermail/pywikipedia-l/2011-December/007048.html

"""
Page has this method:
def put\_async\(self, newtext,
comment=None, watchArticle=None, minorEdit=True, force=False,

It says: All arguments  are the same as for .put\(\), except callback:

But three of the parameters of Page.put is missing: sysop=False, botflag=True, maxTries=-1.
"""

The queue currently uses \(page, parm1, parm2, ...\) tuples, which are not practical. This should be changed to, for instance, \(page, args, kwargs\), so that page.put\(\) can be called using page.put\(\*args, \*\*kwargs\).

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


Navigation
Links