SourceForge.net | 1 Mar 2008 11:38
Picon
Favicon

[ pywikipediabot-Bugs-1905228 ] ValueError in category.py

Bugs item #1905228, was opened at 2008-03-01 18:38
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1905228&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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Alex S.H. Lin (lin4h)
Assigned to: Nobody/Anonymous (nobody)
Summary: ValueError in category.py

Initial Comment:
>category.py tidy

Target Category is [[zh:Category:日本天皇]].When the script reading the article
[[大友皇子即位論]], it rollback this error:

Treating page 大友皇子即位論, currently in Category:日本天皇
Dumping to category.dump.bz2, please wait...
Traceback (most recent call last):
  File "D:\My Documents\SOURCE\mwbot\pywikipedia\category.py", line 896, in <mod
ule>
    bot.run()
(Continue reading)

SourceForge.net | 1 Mar 2008 11:42
Picon
Favicon

[ pywikipediabot-Bugs-1900873 ] Commons Delinker Config bug

Bugs item #1900873, was opened at 2008-02-24 22:30
Message generated for change (Comment added) made by lin4h
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1900873&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: Alex S.H. Lin (lin4h)
Assigned to: Bryan (btongminh)
Summary: Commons Delinker Config bug

Initial Comment:
>delinker.py

[2008-02-24 22:29:36] Running $Id: delinker.py 5047 2008-02-18 15:52:32Z btongmi
nh $
Traceback (most recent call last):
  File "D:\My Documents\SOURCE\mwbot\pywikipedia\delinker.py", line 17, in <modu
le>
    bot.main()
  File "commonsdelinker\delinker.py", line 860, in main
    CD = CommonsDelinker()
  File "commonsdelinker\delinker.py", line 591, in __init__
(Continue reading)

SourceForge.net | 1 Mar 2008 12:31
Picon
Favicon

[ pywikipediabot-Bugs-1899422 ] tlh to be removed from wiktionaries

Bugs item #1899422, was opened at 2008-02-22 09:54
Message generated for change (Comment added) made by multichill
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1899422&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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: tlh to be removed from wiktionaries

Initial Comment:
Interwiki links to 'tlh' don't work any longer in wiktionaries. Klingon wiktionary seems to be closed.
Interwiki links should be removed.

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

Comment By: Multichill (multichill)
Date: 2008-03-01 12:31

Message:
Logged In: YES 
user_id=1777493
(Continue reading)

SourceForge.net | 1 Mar 2008 13:48
Picon
Favicon

[ pywikipediabot-Bugs-1900873 ] Commons Delinker Config bug

Bugs item #1900873, was opened at 2008-02-24 15:30
Message generated for change (Settings changed) made by btongminh
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1900873&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: Invalid
Priority: 5
Private: No
Submitted By: Alex S.H. Lin (lin4h)
Assigned to: Bryan (btongminh)
Summary: Commons Delinker Config bug

Initial Comment:
>delinker.py

[2008-02-24 22:29:36] Running $Id: delinker.py 5047 2008-02-18 15:52:32Z btongmi
nh $
Traceback (most recent call last):
  File "D:\My Documents\SOURCE\mwbot\pywikipedia\delinker.py", line 17, in <modu
le>
    bot.main()
  File "commonsdelinker\delinker.py", line 860, in main
    CD = CommonsDelinker()
  File "commonsdelinker\delinker.py", line 591, in __init__
(Continue reading)

SourceForge.net | 1 Mar 2008 15:41
Picon
Favicon

[ pywikipediabot-Bugs-1905228 ] ValueError in category.py

Bugs item #1905228, was opened at 2008-03-01 11:38
Message generated for change (Comment added) made by nicdumz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1905228&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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Alex S.H. Lin (lin4h)
Assigned to: Nobody/Anonymous (nobody)
Summary: ValueError in category.py

Initial Comment:
>category.py tidy

Target Category is [[zh:Category:日本天皇]].When the script reading the article
[[大友皇子即位論]], it rollback this error:

Treating page 大友皇子即位論, currently in Category:日本天皇
Dumping to category.dump.bz2, please wait...
Traceback (most recent call last):
  File "D:\My Documents\SOURCE\mwbot\pywikipedia\category.py", line 896, in <mod
ule>
    bot.run()
(Continue reading)

filnik | 1 Mar 2008 15:41
Picon
Favicon

SVN: [5096] trunk/pywikipedia/replace.py

Revision: 5096
Author:   filnik
Date:     2008-03-01 14:41:29 +0000 (Sat, 01 Mar 2008)

Log Message:
-----------
Adding a new feature, really useful on toolserver for whom has a lot of regex to run

Modified Paths:
--------------
    trunk/pywikipedia/replace.py

Modified: trunk/pywikipedia/replace.py
===================================================================
--- trunk/pywikipedia/replace.py	2008-02-28 23:03:10 UTC (rev 5095)
+++ trunk/pywikipedia/replace.py	2008-03-01 14:41:29 UTC (rev 5096)
 <at>  <at>  -44,6 +44,12  <at>  <at> 
                   the predefined message texts with original and replacements
                   inserted.

+-sleep:123        If you use -fix you can check multiple regex at the same time
+                  in every page. This can lead to a great waste of CPU because
+                  the bot will check every regex without waiting using all the
+                  resources. This will slow it down between a regex and another
+                  in order not to waste too much CPU.
+
 -fix:XYZ          Perform one of the predefined replacements tasks, which are
                   given in the dictionary 'fixes' defined inside the file
                   fixes.py.
 <at>  <at>  -100,7 +106,7  <at>  <at> 
(Continue reading)

SourceForge.net | 1 Mar 2008 18:19
Picon
Favicon

[ pywikipediabot-Bugs-1901650 ] replace.py

Bugs item #1901650, was opened at 2008-02-25 15:30
Message generated for change (Comment added) made by andreasjs
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1901650&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: other
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: replace.py

Initial Comment:
When I use replace.py, the bot changes interwiki's too, like here:
http://nl.wikipedia.org/w/index.php?title=Evenaar&diff=prev&oldid=11415225 Can anyone do
something to this?

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

>Comment By: AndreasJS (andreasjs)
Date: 2008-03-01 12:19

Message:
Logged In: YES 
(Continue reading)

btongminh | 1 Mar 2008 19:43
Picon
Favicon

SVN: [5097] trunk/pywikipedia/commonsdelinker

Revision: 5097
Author:   btongminh
Date:     2008-03-01 18:43:41 +0000 (Sat, 01 Mar 2008)

Log Message:
-----------
delinker.py: Do 1 retry on PageNotSaved. image_replacer.py: Check count on beginning of loop.

Modified Paths:
--------------
    trunk/pywikipedia/commonsdelinker/delinker.py
    trunk/pywikipedia/commonsdelinker/image_replacer.py

Modified: trunk/pywikipedia/commonsdelinker/delinker.py
===================================================================
--- trunk/pywikipedia/commonsdelinker/delinker.py	2008-03-01 14:41:29 UTC (rev 5096)
+++ trunk/pywikipedia/commonsdelinker/delinker.py	2008-03-01 18:43:41 UTC (rev 5097)
 <at>  <at>  -284,6 +284,7  <at>  <at> 
 						(page, text, new_text, m_summary)):
 					return 'skipped'
 				
+				is_retry = False
 				while True:
 					try:
 						if self.CommonsDelinker.config.get('edit', True) and not \
 <at>  <at>  -299,7 +300,10  <at>  <at> 
 						output(u'Got EditConflict trying to remove %s from %s:%s.' % \
 							(image, site, page_title))
 						return self.replace_image(image, site, page_title, summary, replacement = None)
-					except (wikipedia.LockedPage, wikipedia.PageNotSaved):
(Continue reading)

SourceForge.net | 1 Mar 2008 19:55
Picon
Favicon

[ pywikipediabot-Bugs-1901650 ] replace.py

Bugs item #1901650, was opened at 2008-02-25 15:30
Message generated for change (Comment added) made by andreasjs
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1901650&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: other
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: replace.py

Initial Comment:
When I use replace.py, the bot changes interwiki's too, like here:
http://nl.wikipedia.org/w/index.php?title=Evenaar&diff=prev&oldid=11415225 Can anyone do
something to this?

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

>Comment By: AndreasJS (andreasjs)
Date: 2008-03-01 13:55

Message:
Logged In: YES 
(Continue reading)

filnik | 1 Mar 2008 22:28
Picon
Favicon

SVN: [5098] trunk/pywikipedia/wikipedia.py

Revision: 5098
Author:   filnik
Date:     2008-03-01 21:28:14 +0000 (Sat, 01 Mar 2008)

Log Message:
-----------
Fixing recognising redirect on ar.wiki, bugfix for white_cat

Modified Paths:
--------------
    trunk/pywikipedia/wikipedia.py

Modified: trunk/pywikipedia/wikipedia.py
===================================================================
--- trunk/pywikipedia/wikipedia.py	2008-03-01 18:43:41 UTC (rev 5097)
+++ trunk/pywikipedia/wikipedia.py	2008-03-01 21:28:14 UTC (rev 5098)
 <at>  <at>  -4945,10 +4945,10  <at>  <at> 
         try:
             if redDefault == red:
                 redirKeywords = [red] + self.family.redirect[self.lang]
-                redirKeywordsR = r'(?:' + '|'.join(redirKeywords) + ')'
+                redirKeywordsR = r'(?:redirect|' + '|'.join(redirKeywords) + ')' # always redirect as default
             else:
                 redirKeywords = [red] + self.family.redirect[self.lang]
-                redirKeywordsR = r'(?:' + redDefault + '|'.join(redirKeywords) + ')'
+                redirKeywordsR = r'(?:redirect|' + redDefault + '|'.join(redirKeywords) + ')'
         except KeyError:
             # no localized keyword for redirects
             if redDefault == red:
(Continue reading)


Gmane