Page MenuHomePhabricator

put_async should support all put parameters
Closed, ResolvedPublic

Description

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\).


See Also:
https://sourceforge.net/p/pywikipediabot/bugs/1398

Details

Reference
bz55220

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:27 AM
bzimport set Reference to bz55220.
bzimport added a subscriber: Unknown Object (????).
matej_suchanek updated the task description. (Show Details)