Bugs item #2788812, was opened at 2009-05-08 09:49
Message generated for change (Comment added) made by multichill
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2788812&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: 7
Private: No
Submitted By: Multichill (multichill)
Assigned to: Nobody/Anonymous (nobody)
Summary: TypeError: unsubscriptable object
Initial Comment:
Pywikipedia [http] trunk/pywikipedia (r6854, May 07 2009, 13:07:14)
Python 2.4.4 (#1, Jun 11 2007, 23:35:50)
[GCC 3.3.3 (NetBSD nb3 20040520)]
Traceback (most recent call last):
File "/home/bot/pywikipedia/imagerecat.py", line 384, in ?
main(sys.argv[1:])
File "/home/bot/pywikipedia/imagerecat.py", line 378, in main
categorizeImages(generator, onlyFilter, onlyUncat)
File "/home/bot/pywikipedia/imagerecat.py", line 85, in categorizeImages
saveImagePage(imagepage, newcats, usage, galleries, onlyFilter)
File "/home/bot/pywikipedia/imagerecat.py", line 309, in saveImagePage
imagepage.put(newtext, comment)
File "/home/bot/pywikipedia/wikipedia.py", line 1419, in put
newPage, self.site().getToken(sysop = sysop), sysop = sysop, botflag=botflag)
File "/home/bot/pywikipedia/wikipedia.py", line 1552, in _putPage
if self.site().has_mediawiki_message("spamprotectiontitle")\
File "/home/bot/pywikipedia/wikipedia.py", line 5024, in has_mediawiki_message
v = self.mediawiki_message(key)
File "/home/bot/pywikipedia/wikipedia.py", line 4997, in mediawiki_message
self._mediawiki_messages = _dict([(tag.get('name').lower(), html2unicode(tag.string))
File "/home/bot/pywikipedia/wikipedia.py", line 4125, in html2unicode
text = text[i:]
TypeError: unsubscriptable object
Also seen this happen with Commonsdelinker. The new version of added in r6842 seems to cause this error.
----------------------------------------------------------------------
>Comment By: Multichill (multichill)
Date: 2009-05-08 09:57
Message:
I reverted the changes in r6842 to the previous revision (see r6857).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2788812&group_…
Bugs item #2788812, was opened at 2009-05-08 09:49
Message generated for change (Tracker Item Submitted) made by multichill
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2788812&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: 7
Private: No
Submitted By: Multichill (multichill)
Assigned to: Nobody/Anonymous (nobody)
Summary: TypeError: unsubscriptable object
Initial Comment:
Pywikipedia [http] trunk/pywikipedia (r6854, May 07 2009, 13:07:14)
Python 2.4.4 (#1, Jun 11 2007, 23:35:50)
[GCC 3.3.3 (NetBSD nb3 20040520)]
Traceback (most recent call last):
File "/home/bot/pywikipedia/imagerecat.py", line 384, in ?
main(sys.argv[1:])
File "/home/bot/pywikipedia/imagerecat.py", line 378, in main
categorizeImages(generator, onlyFilter, onlyUncat)
File "/home/bot/pywikipedia/imagerecat.py", line 85, in categorizeImages
saveImagePage(imagepage, newcats, usage, galleries, onlyFilter)
File "/home/bot/pywikipedia/imagerecat.py", line 309, in saveImagePage
imagepage.put(newtext, comment)
File "/home/bot/pywikipedia/wikipedia.py", line 1419, in put
newPage, self.site().getToken(sysop = sysop), sysop = sysop, botflag=botflag)
File "/home/bot/pywikipedia/wikipedia.py", line 1552, in _putPage
if self.site().has_mediawiki_message("spamprotectiontitle")\
File "/home/bot/pywikipedia/wikipedia.py", line 5024, in has_mediawiki_message
v = self.mediawiki_message(key)
File "/home/bot/pywikipedia/wikipedia.py", line 4997, in mediawiki_message
self._mediawiki_messages = _dict([(tag.get('name').lower(), html2unicode(tag.string))
File "/home/bot/pywikipedia/wikipedia.py", line 4125, in html2unicode
text = text[i:]
TypeError: unsubscriptable object
Also seen this happen with Commonsdelinker. The new version of added in r6842 seems to cause this error.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2788812&group_…
Feature Requests item #2788694, was opened at 2009-05-08 01:11
Message generated for change (Tracker Item Submitted) made by mcknol
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2788694&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: Interface Improvements
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Maurits (mcknol)
Assigned to: Nobody/Anonymous (nobody)
Summary: Cosmetic changes nationalization
Initial Comment:
Some like them, some don't, some like some, some like none...
Is it possible to implement an easy opt-in or opt-out system for language codes in cosmetic_changes.py, preferably per function, so that different wiki's can decide differently?
For example:
CapitalizeNamespaces = not en, not fr.
Or something equivalent in the proper code.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2788694&group_…
Feature Requests item #2788690, was opened at 2009-05-08 00:53
Message generated for change (Tracker Item Submitted) made by jandudik
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2788690&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
Priority: 5
Private: No
Submitted By: JAn (jandudik)
Assigned to: Nobody/Anonymous (nobody)
Summary: Skipping under-construction pages
Initial Comment:
Somteimes bot make some changes in pages with template which mean "under construction", This is sometimes not good. Would it be possible to add some skiplist of templates? It can be useful for skipping templates with included {{documentation}} template. - something like {{Nobots}} template
For cs I mean these templates
{{Pracuje se}} (may be with parameters after | )
{{Dokumentace}}
{{/Dokumentace}}
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2788690&group_…
Patches item #2783431, was opened at 2009-04-29 08:54
Message generated for change (Comment added) made by cosoleto
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2783431&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: Accepted
Priority: 5
Private: No
Submitted By: sigmaoctantis (sigmaoctantis)
Assigned to: Nobody/Anonymous (nobody)
Summary: titles from file for pagegenerators.py
Initial Comment:
Additional option "-plainfile" reads titles from text files without square brackets ("-file")
----------------------------------------------------------------------
>Comment By: Francesco Cosoleto (cosoleto)
Date: 2009-05-07 15:09
Message:
This should resolve the problem:
http://svn.wikimedia.org/viewvc/pywikipedia/trunk/pywikipedia/config.py?r1=…
----------------------------------------------------------------------
Comment By: sigmaoctantis (sigmaoctantis)
Date: 2009-05-07 10:40
Message:
Thanks. For some encodings/systems, the initial title would need to be
stripped of any BOM
( http://evanjones.ca/python-utf8.html#bom ).
----------------------------------------------------------------------
Comment By: Francesco Cosoleto (cosoleto)
Date: 2009-05-06 13:31
Message:
Applied in r6839.
----------------------------------------------------------------------
Comment By: Francesco Cosoleto (cosoleto)
Date: 2009-05-02 13:59
Message:
I think I will commit this patch tomorrow with a slightly changed
docstring.
----------------------------------------------------------------------
Comment By: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2009-05-01 07:08
Message:
looks good to me. I was pretty sure that some generator already allowed to
use one title per line, but I can't find it anymore. (?)
----------------------------------------------------------------------
Comment By: sigmaoctantis (sigmaoctantis)
Date: 2009-04-30 20:11
Message:
It is better than two separate options. I tested it and it works with files
in both formats.
----------------------------------------------------------------------
Comment By: Francesco Cosoleto (cosoleto)
Date: 2009-04-30 19:40
Message:
A preliminary patch to enhance -file option as described is attached. Any
comments?
----------------------------------------------------------------------
Comment By: sigmaoctantis (sigmaoctantis)
Date: 2009-04-30 18:14
Message:
Thanks, I updated it accordingly. Feel free to combine the two.
----------------------------------------------------------------------
Comment By: Francesco Cosoleto (cosoleto)
Date: 2009-04-30 18:09
Message:
f.readline() should be used instead of re.findall().
I think we have a too populated list of options. Probably it's better to
change -file to interpret line as page titles when no [[title]] is found,
instead of adding yet another option.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2783431&group_…
Patches item #2762911, was opened at 2009-04-14 21:35
Message generated for change (Settings changed) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2762911&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: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: David Crochet (crochet_david)
Assigned to: Nobody/Anonymous (nobody)
Summary: add some fr message
Initial Comment:
Some french message adding
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-05-07 13:45
Message:
That is how the French use their colon.
----------------------------------------------------------------------
Comment By: Francesco Cosoleto (cosoleto)
Date: 2009-05-07 13:09
Message:
There was a typo in add_text.py translation too.
Are these extra spaces ("Robot :", instead of "Robot:") really necessary?
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-05-07 11:28
Message:
Thanks. Applied in r6844. Please ensure you are not using tabs to indent
next time!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2762911&group_…
Patches item #2762911, was opened at 2009-04-14 21:35
Message generated for change (Comment added) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2762911&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: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: David Crochet (crochet_david)
Assigned to: Nobody/Anonymous (nobody)
Summary: add some fr message
Initial Comment:
Some french message adding
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-05-07 13:45
Message:
That is how the French use their colon.
----------------------------------------------------------------------
Comment By: Francesco Cosoleto (cosoleto)
Date: 2009-05-07 13:09
Message:
There was a typo in add_text.py translation too.
Are these extra spaces ("Robot :", instead of "Robot:") really necessary?
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-05-07 11:28
Message:
Thanks. Applied in r6844. Please ensure you are not using tabs to indent
next time!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2762911&group_…
Patches item #2219082, was opened at 2008-11-03 15:35
Message generated for change (Comment added) made by cosoleto
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2219082&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: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Mauro (mauro742)
Assigned to: Nobody/Anonymous (nobody)
Summary: Redirect.py patch: bugfix + translation
Initial Comment:
I attach a patch that solves a bug in redirect loop. When a loop was detected the script affixed the speedy deletion template without user confirmation. I've fixed this bug and I've completed the italian translation.
----------------------------------------------------------------------
>Comment By: Francesco Cosoleto (cosoleto)
Date: 2009-05-07 13:18
Message:
A me non piace quel + davanti al testo. "Segnalo come da cancellare subito"
come ti pare?
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-05-07 11:46
Message:
Thanks. Applied the translation updates in r. The code changes did not
apply. Please create a new issue for that. Please do not mix code changes
and translations in the same patch.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2219082&group_…
Patches item #2762911, was opened at 2009-04-14 21:35
Message generated for change (Comment added) made by cosoleto
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2762911&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: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: David Crochet (crochet_david)
Assigned to: Nobody/Anonymous (nobody)
Summary: add some fr message
Initial Comment:
Some french message adding
----------------------------------------------------------------------
>Comment By: Francesco Cosoleto (cosoleto)
Date: 2009-05-07 13:09
Message:
There was a typo in add_text.py translation too.
Are these extra spaces ("Robot :", instead of "Robot:") really necessary?
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-05-07 11:28
Message:
Thanks. Applied in r6844. Please ensure you are not using tabs to indent
next time!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2762911&group_…
Patches item #2781435, was opened at 2009-04-26 03:49
Message generated for change (Comment added) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2781435&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: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: zedlik (zedlik)
Assigned to: Nobody/Anonymous (nobody)
Summary: +be-x-old for featured.py
Initial Comment:
Edit summary text for be-x-old for featured.py.
----------------------------------------------------------------------
>Comment By: siebrand (siebrand)
Date: 2009-05-07 11:54
Message:
Thanks. Applied in r6852.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2781435&group_…