Bugs item #2849998, was opened at 2009-09-03 16:35
Message generated for change (Tracker Item Submitted) made by saperski
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2849998&group_…
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: General
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Marcin Cieslak (saperski)
Assigned to: Nobody/Anonymous (nobody)
Summary: wikipedia.py revision 7195 breaks protect API (protect.py)
Initial Comment:
Pywikipedia (r7196 (wikipedia.py), 2009/09/02, 06:21:03)
Python 2.5.1 (r251:54863, Oct 18 2007, 01:42:40)
[GCC 3.3.2]
After r7185 protect.py fails with "edit" variable not being defined.
Indeed, this revision has changed the API:
- def protect(self, edit='sysop', move='sysop', unprotect=False,
- reason=None, duration = None, cascading = False, prompt=True, throttle=True):
- """(Un)protect a wiki page. Requires administrator status.
+ def protect(self, ec = 'sysop', move = 'sysop', unprotect = False, reason = None,
+ ec_duration = 'infinite', move_duration = 'infinite',
+ cascading = False, prompt = True, throttle = True):
I would suggest to revert the parameter name change or to accept the old one for compatibility.
As a workaround, line 122 of protect.py can be changed:
--- protect.py (revision 7201)
+++ protect.py (working copy)
@@ -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.
This is SVN revision 7201
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2849998&group_…
Patches item #2849282, was opened at 2009-09-03 00:09
Message generated for change (Tracker Item Submitted) made by vinhtantran
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2849282&group_…
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: Translations
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Tran Vinh Tan (vinhtantran)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add vi translation for spamremove.py
Initial Comment:
Add vi translation for spamremove.py
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2849282&group_…
Patches item #2813846, was opened at 2009-06-29 11:30
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2813846&group_…
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: xqt (xqt)
Assigned to: Nobody/Anonymous (nobody)
Summary: Patch for deadlock handling (#2810921)
Initial Comment:
Here is a small code for wikipedia.py which does this (I've testet it and it works: _putPage would retry to save the page instead of skipping it:
def _putPage(self, text, comment=None, watchArticle=False, minorEdit=True,
newPage=False, token=None, newToken=False, sysop=False,
captcha=None, botflag=True, maxTries=-1):
...
### deadlock handling
if ("1213: Deadlock found when trying to get lock" in data):
output(u"Deadlock error encountered; will retry in %i minute%s."
% (retry_delay, retry_delay != 1 and "s" or ""))
time.sleep(60 * retry_delay)
retry_delay *= 2
if retry_delay > 30:
retry_delay = 30
continue
if self.site().mediawiki_message('readonly') in data or self.site().mediawiki_message('readonly_lag') in data:
...
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-09-02 10:46
Message:
Patchfile with #2848941
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2813846&group_…
Patches item #2848941, was opened at 2009-09-02 10:44
Message generated for change (Tracker Item Submitted) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2848941&group_…
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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: xqt (xqt)
Assigned to: Nobody/Anonymous (nobody)
Summary: wikipedia patch
Initial Comment:
curr. Version:
__version__ = '$Id: wikipedia.py 7192 2009-08-31 20:00:38Z alexsh $'
- Patch for deadlock handling #2810921
- raising wait time on server lags
- default code 'de' for 'pdc'-wiki
- show it if its putting via API
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2848941&group_…
Patches item #2848926, was opened at 2009-09-02 10:04
Message generated for change (Tracker Item Submitted) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2848926&group_…
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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: xqt (xqt)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki patch
Initial Comment:
Patch for #2834606 (infinite loop 'nothing left to do')
adds pdc-wiki messages
short option '-auto' for '-autonomous'
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2848926&group_…
Bugs item #2829439, was opened at 2009-07-30 07:05
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2829439&group_…
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: Open
Resolution: None
>Priority: 6
Private: No
Submitted By: xqt (xqt)
Assigned to: Nobody/Anonymous (nobody)
Summary: ApiGetDataParseDumps
Initial Comment:
Pywikipedia [http] trunk/pywikipedia (r7097, 2009/07/26, 14:18:13)
Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
I got some ApiGetDataParseDumps (see attachment).
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-09-02 09:40
Message:
Additional files.
I've got 300 dumps in 3 days. I delete these and perhaps I return with a
patchfile
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-08-08 15:01
Message:
Some additional dumps
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2829439&group_…
Patches item #2848916, was opened at 2009-09-02 09:25
Message generated for change (Tracker Item Submitted) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2848916&group_…
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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: xqt (xqt)
Assigned to: Nobody/Anonymous (nobody)
Summary: wikipedia_family patch
Initial Comment:
Patch for #2813855 (missing disambigs)
Patch for #2809532 (smarter code)
additional crossreferences for ar-wiki, see http://de.wikipedia.org/wiki/Benutzer_Diskussion:Xqt#Xqbot.40arwiki
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2848916&group_…
Patches item #2848560, was opened at 2009-09-01 18:37
Message generated for change (Tracker Item Submitted) made by matekrm
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2848560&group_…
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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: robertm (matekrm)
Assigned to: Nobody/Anonymous (nobody)
Summary: wikipedia.Page.previousRevision throw exception
Initial Comment:
The IndexError exception is thrown when trying to call wikipedia.Page.previousRevision () method. The problem occur on latest pywikipedia version. Attached patch fix the problem.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2848560&group_…