Bugs item #2612286, was opened at 2009-02-18 12:15
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2612286&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: Works For Me
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: login.py doesn't match tg-wiki
Initial Comment:
version 6353
user-config.py contains:
family = 'wikipedia'
usernames['wikipedia']['tg'] = 'Xqbot'
and some other entries but
login.py -all -pass
doesn't recognize tg-wiki and it must be logged in separately as
login.py -lang:tg
<w:de:User:Xqt>
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-09-07 15:26
Message:
I never fount it again
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2612286&group_…
Bugs item #2602058, was opened at 2009-02-15 08:48
Message generated for change (Settings changed) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2602058&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: interwiki
Group: None
>Status: Closed
>Resolution: Rejected
Priority: 5
Private: No
Submitted By: Lars Aronsson (aronsson)
Assigned to: Nobody/Anonymous (nobody)
Summary: Interwiki link sorting for Swedish Wikipedia
Initial Comment:
Please modify families/wikipedia_family.py (near line 910) so that interwiki links on the Swedish Wikipedia (sv.wikipedia.org) are sorted by language name (self.interwiki_putfirst = {... 'sv': self.alphabetic, ...}, as for en.wikipedia.org and no.wikipedia.org) rather than by language code (which is the default).
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-09-07 15:24
Message:
Reported as no consensus.
If there is consensus for a new sorting order, please notice it at meta
[http://meta.wikimedia.org/wiki/Interwiki_sorting_order] and do a new
request here.
I close it here due to out of time.
----------------------------------------------------------------------
Comment By: Lars Aronsson (aronsson)
Date: 2009-02-24 08:08
Message:
An opinion poll turned out 33 in favor of this change and 6 against. There
is no consensus.
----------------------------------------------------------------------
Comment By: Multichill (multichill)
Date: 2009-02-15 12:17
Message:
Do you have community consensus on this?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2602058&group_…
Bugs item #2853381, was opened at 2009-09-07 06:56
Message generated for change (Settings changed) made by filnik
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2853381&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: Fixed
Priority: 5
Private: No
Submitted By: xqt (xqt)
>Assigned to: Filnik (filnik)
Summary: isbn.py: index error
Initial Comment:
isbn.py r6798 2009-05-03
Working on http://tr.wikipedia.org/w/index.php?title=Ahmed_Alevi&oldid=5823201 the following error raises:
File "C:\Programme\Python25\pywikipedia\isbn.py", line 1357, in hyphenateIsbnNumbers
text = isbnR.sub(_hyphenateIsbnNumber, text)
File "C:\Programme\Python25\pywikipedia\isbn.py", line 1352, in _hyphenateIsbnNumber
i.format()
File "C:\Programme\Python25\pywikipedia\isbn.py", line 1228, in format
result += rest[:-1] + '-' + rest[-1]
IndexError: string index out of range
This error comes trying formatting 'ISBN 978-9799668806'
----------------------------------------------------------------------
>Comment By: Filnik (filnik)
Date: 2009-09-07 09:23
Message:
Fixed in revision: 7218. Patch applied
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-09-07 07:37
Message:
I found the reson for this stuff and added a patch file:
ISBN 9799799668806 starts with both prefixes but it should stop the loop
if it the first one has been found.
A break in line 1208 would do the job:
# Determine the prefix (if any)
for prefix in self.possiblePrefixes():
if rest.startswith(prefix):
result += prefix + '-'
rest = rest[len(prefix):]
break
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-09-07 07:02
Message:
I found the result-variable is 'ISBN 978-979-966-8806-' just before trying
to add the check digit. Since the ISBN code has 13 digits it could not add
the 14th.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2853381&group_…
Bugs item #2853381, was opened at 2009-09-07 08:56
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2853381&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: isbn.py: index error
Initial Comment:
isbn.py r6798 2009-05-03
Working on http://tr.wikipedia.org/w/index.php?title=Ahmed_Alevi&oldid=5823201 the following error raises:
File "C:\Programme\Python25\pywikipedia\isbn.py", line 1357, in hyphenateIsbnNumbers
text = isbnR.sub(_hyphenateIsbnNumber, text)
File "C:\Programme\Python25\pywikipedia\isbn.py", line 1352, in _hyphenateIsbnNumber
i.format()
File "C:\Programme\Python25\pywikipedia\isbn.py", line 1228, in format
result += rest[:-1] + '-' + rest[-1]
IndexError: string index out of range
This error comes trying formatting 'ISBN 978-9799668806'
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-09-07 09:37
Message:
I found the reson for this stuff and added a patch file:
ISBN 9799799668806 starts with both prefixes but it should stop the loop
if it the first one has been found.
A break in line 1208 would do the job:
# Determine the prefix (if any)
for prefix in self.possiblePrefixes():
if rest.startswith(prefix):
result += prefix + '-'
rest = rest[len(prefix):]
break
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-09-07 09:02
Message:
I found the result-variable is 'ISBN 978-979-966-8806-' just before trying
to add the check digit. Since the ISBN code has 13 digits it could not add
the 14th.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2853381&group_…
Bugs item #2853381, was opened at 2009-09-07 08:56
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2853381&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: isbn.py: index error
Initial Comment:
isbn.py r6798 2009-05-03
Working on http://tr.wikipedia.org/w/index.php?title=Ahmed_Alevi&oldid=5823201 the following error raises:
File "C:\Programme\Python25\pywikipedia\isbn.py", line 1357, in hyphenateIsbnNumbers
text = isbnR.sub(_hyphenateIsbnNumber, text)
File "C:\Programme\Python25\pywikipedia\isbn.py", line 1352, in _hyphenateIsbnNumber
i.format()
File "C:\Programme\Python25\pywikipedia\isbn.py", line 1228, in format
result += rest[:-1] + '-' + rest[-1]
IndexError: string index out of range
This error comes trying formatting 'ISBN 978-9799668806'
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-09-07 09:02
Message:
I found the result-variable is 'ISBN 978-979-966-8806-' just before trying
to add the check digit. Since the ISBN code has 13 digits it could not add
the 14th.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2853381&group_…
Bugs item #2853381, was opened at 2009-09-07 08:56
Message generated for change (Tracker Item Submitted) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2853381&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: isbn.py: index error
Initial Comment:
isbn.py r6798 2009-05-03
Working on http://tr.wikipedia.org/w/index.php?title=Ahmed_Alevi&oldid=5823201 the following error raises:
File "C:\Programme\Python25\pywikipedia\isbn.py", line 1357, in hyphenateIsbnNumbers
text = isbnR.sub(_hyphenateIsbnNumber, text)
File "C:\Programme\Python25\pywikipedia\isbn.py", line 1352, in _hyphenateIsbnNumber
i.format()
File "C:\Programme\Python25\pywikipedia\isbn.py", line 1228, in format
result += rest[:-1] + '-' + rest[-1]
IndexError: string index out of range
This error comes trying formatting 'ISBN 978-9799668806'
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2853381&group_…
Bugs item #2851183, was opened at 2009-09-04 16:05
Message generated for change (Tracker Item Submitted) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2851183&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: cosmetic changes: Don't re-add spaces on new lines
Initial Comment:
curr. version r7013
cleanUpLinks method must nor re-add spaces if there is no text on the left side of the link like a new line or on top of the page.
An example for this bug found here: http://cs.wikipedia.org/wiki/?diff=4356513
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2851183&group_…
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_…