[Pywikipedia-svn] SVN: [7196] trunk/pywikipedia/wikipedia.py
alexsh at svn.wikimedia.org
alexsh at svn.wikimedia.org
Wed Sep 2 06:21:03 UTC 2009
Revision: 7196
Author: alexsh
Date: 2009-09-02 06:21:03 +0000 (Wed, 02 Sep 2009)
Log Message:
-----------
typo params
Modified Paths:
--------------
trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py
===================================================================
--- trunk/pywikipedia/wikipedia.py 2009-09-02 06:18:39 UTC (rev 7195)
+++ trunk/pywikipedia/wikipedia.py 2009-09-02 06:21:03 UTC (rev 7196)
@@ -2780,9 +2780,8 @@
output(u'Page %s undeleted' % self.aslink())
return result
- def protect(self, ec = 'sysop', move = 'sysop', unprotect = False, reason = None,
- ec_duration = 'infinite', move_duration = 'infinite',
- cascading = False, prompt = True, throttle = True):
+ def protect(self, ec = 'sysop', move = 'sysop', unprotect = False, reason = None, ec_duration = 'infinite',
+ move_duration = 'infinite', cascading = False, prompt = True, throttle = True):
"""(Un)protect a wiki title. Requires administrator status.
If the title is not exist, the protection only ec (aka edit/create) available
More information about the Pywikipedia-svn
mailing list