Menu

#283 Pass "sysop" through wikipedia.put()

closed
nobody
None
5
2009-02-21
2008-12-30
Anonymous
No

This allows the use of the sysop account to be forced; useful for eg closing XfD discussions where for transparency the admin account must be seen to make the change.

Changes:

wikipedia.py:
@@ line 1326:
-- force=False):
++ force=False, sysop=sysop):

@@ line 1342:
-- sysop = self._getActionUser(action = 'edit', restriction = self.editRestriction, sysop = False)
++ sysop = self._getActionUser(action = 'edit', restriction = self.editRestriction, sysop = sysop)

Default behavior is unchanged.

Feel free to contact me: happy <underscore> melon <at> hotmail <dot> co <dot> uk

Discussion

  • Misza

    Misza - 2009-02-21

    Done in r6399.

     
  • Misza

    Misza - 2009-02-21
    • status: open --> closed
     

Log in to post a comment.