[Pywikipedia-l] [Pywikipedia-svn] SVN: [7209] trunk/pywikipedia/protect.py

Russell Blau russblau at imapmail.org
Fri Sep 4 14:36:12 UTC 2009


Why do you want to change "edit" to "ec" when the MediaWiki software uses 
"edit" for this protection level?

----- Original Message ----- 
From: <alexsh at svn.wikimedia.org>
To: <pywikipedia-svn at lists.wikimedia.org>
Sent: Friday, September 04, 2009 10:27 AM
Subject: [Pywikipedia-svn] SVN: [7209] trunk/pywikipedia/protect.py


> Revision: 7209
> Author:   alexsh
> Date:     2009-09-04 14:27:40 +0000 (Fri, 04 Sep 2009)
>
> Log Message:
> -----------
> fix params
>
> Modified Paths:
> --------------
>    trunk/pywikipedia/protect.py
>
> Modified: trunk/pywikipedia/protect.py
> ===================================================================
> --- trunk/pywikipedia/protect.py 2009-09-04 14:20:02 UTC (rev 7208)
> +++ trunk/pywikipedia/protect.py 2009-09-04 14:27:40 UTC (rev 7209)
> @@ -119,7 +119,7 @@
>             wikipedia.output(u'Processing page %s' % page.title())
>             print self.edit, self.move#, self.create
>             page.protect(unprotect=self.unprotect, reason=self.summary, 
> prompt=self.always,
> -                        edit=self.edit, move=self.move)
> +                        ec=self.edit, move=self.move)
>
> # Asks a valid protection level for "operation".
> # Returns the protection level chosen by user.
>
>
>
> _______________________________________________
> Pywikipedia-svn mailing list
> Pywikipedia-svn at lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/pywikipedia-svn
> 




More information about the Pywikipedia-l mailing list