https://bugzilla.wikimedia.org/show_bug.cgi?id=55220

       Web browser: ---
            Bug ID: 55220
           Summary: put_async should support all put parameters
           Product: Pywikibot
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

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

-- 
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Pywikipedia-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-bugs

Reply via email to