[Pywikipedia-l] [ pywikipediabot-Patches-2477551 ] Pass "sysop" through wikipedia.put()

SourceForge.net noreply at sourceforge.net
Sat Feb 21 16:52:18 UTC 2009


Patches item #2477551, was opened at 2008-12-30 19:56
Message generated for change (Comment added) made by misza13
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2477551&group_id=93107

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Pass "sysop" through wikipedia.put()

Initial Comment:
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

----------------------------------------------------------------------

>Comment By: Misza (misza13)
Date: 2009-02-21 17:52

Message:
Done in r6399.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2477551&group_id=93107



More information about the Pywikipedia-l mailing list