Patches item #2785623, was opened at 2009-05-02 13:48
Message generated for change (Tracker Item Submitted) made by liangent
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2785623&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: liangent (liangent)
Assigned to: Nobody/Anonymous (nobody)
Summary: small mistake in page.py
Initial Comment:
Index: pywikibot/pywikibot/page.py
===================================================================
--- pywikibot/pywikibot/page.py (revision 6695)
+++ pywikibot/pywikibot/page.py (working copy)
@@ -675,7 +675,7 @@
watch = False
else:
unwatch = not watch
- if not force and not self.botMayEdit:
+ if not force and not self.botMayEdit():
raise pywikibot.PageNotSaved(
"Page %s not saved; editing restricted by {{bots}} template"
% self.title(asLink=True))
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2785623&group_…
Bugs item #2785594, was opened at 2009-05-02 12:21
Message generated for change (Tracker Item Submitted) made by liangent
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2785594&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: rewrite
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: liangent (liangent)
Assigned to: Russell Blau (russblau)
Summary: Page.backlinks cannot work well on some pages
Initial Comment:
on zhwiki,
tuple(Page(Link(u'Wikipedia:沙盒')).backlinks())
NOTE: 沙盒 means sandbox in chinese
raises exception: RuntimeError: getredirtarget: 'redirects' contains no key for page WP:SB.
NOTE: WP:SB is a redirect to Wikipedia:沙盒, and WP is a namespace alias of Wikipedia
no matter what value i use for filterRedirects parameter
i cannot find what's the problem...
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2785594&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: Open
Resolution: None
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-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_…
Bugs item #2785484, was opened at 2009-05-02 07:40
Message generated for change (Tracker Item Submitted) made by liangent
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2785484&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: rewrite
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: liangent (liangent)
Assigned to: Russell Blau (russblau)
Summary: Page.__str__
Initial Comment:
if config.console_encoding is ascii, the following code raises UnicodeEncodeError.
# in class Page
def __str__(self):
"""Return a console representation of the pagelink."""
return self.title(asLink=True, forceInterwiki=True
).encode(config.console_encoding)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2785484&group_…
Bugs item #2785015, was opened at 2009-05-01 14:57
Message generated for change (Comment added) made by baag1963
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2785015&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: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Multichill (multichill)
Summary: crash after asking confirmation to delete interwiki linkds
Initial Comment:
Updating links on page [[fr:Catégorie:30 avril 2009]].
Changes to be made: Retire: bg, bs, ca, cs, he, hu, nl, no, ro, ru, sd, sr, sv, th, uk, zh
+ [[ar:تصنيف:30 أبريل 2009]]
+ [[de:Kategorie:30.04.2009]]
- [[es:Category:30 de abril de 2009]]
+ [[es:Categoría:30 de abril de 2009]]
- [[ar:Category:30 أبريل 2009]]
- [[bg:Category:30 април 2009]]
- [[bs:Category:30. april 2009]]
+ [[it:Categoria:30 aprile 2009]]
- [[pt:Category:30 de abril de 2009]]
- [[hu:Category:2009. április 30]]
- [[ca:Category:30 de abril 2009]]
- [[he:Category:30 באפריל 2009]]
- [[ro:Category:30 aprilie 2008]]
- [[no:Category:30. april 2009]]
- [[ru:Category:30 апреля 2009]]
- [[th:Category:30 เมษายน 2552]]
- [[uk:Category:30 квітня 2009]]
- [[zh:Category:2009年4月30日]]
- [[fi:Category:30. huhtikuuta 2009]]
- [[sd:Category:30 اپريل 2009]]
- [[pl:Category:30 kwietnia 2009]]
+ [[pl:Kategoria:30 kwietnia 2009]]
- [[it:Category:30 aprile 2009]]
+ [[pt:Categoria:30 de abril de 2009]]
+ [[fi:Luokka:30. huhtikuuta 2009]]
- [[sv:Category:30 april 2009]]
- [[sr:Category:30. април 2009.]]
- [[cs:Category:30. dubna 2009]]
- [[de:Category:30.04.2009]]
- [[nl:Category:30 april 2009]]
ERROR: Found incorrect link to bg,bs,ca,cs,he,hu,nl,no,ro,ru,sd,sr,sv,th,uk,zh in [[fr:Catégorie:30 avril 2009]]
Submit? ([y]es, [n]o, open in [b]rowser, [g]ive up) y
Dump fr (wikinews) saved
Traceback (most recent call last):
File "interwiki.py", line 2138, in <module>
bot.run()
File "interwiki.py", line 1859, in run
self.queryStep()
File "interwiki.py", line 1837, in queryStep
subj.finish(self)
File "interwiki.py", line 1395, in finish
if self.replaceLinks(page, new, bot):
File "interwiki.py", line 1546, in replaceLinks
if choice == 'b':
NameError: global name 'choice' is not defined
version :
Pywikipedia [http] trunk/pywikipedia (r6783, May 01 2009, 08:59:42)
Python 2.5.4 (r254:67916, Feb 17 2009, 20:16:45)
[GCC 4.3.3]
----------------------------------------------------------------------
Comment By: bebert (baag1963)
Date: 2009-05-01 15:10
Message:
Thank's
----------------------------------------------------------------------
Comment By: Multichill (multichill)
Date: 2009-05-01 15:10
Message:
6784
----------------------------------------------------------------------
Comment By: Multichill (multichill)
Date: 2009-05-01 15:10
Message:
Fixed in r...
----------------------------------------------------------------------
Comment By: Multichill (multichill)
Date: 2009-05-01 15:08
Message:
Looks like the bug is introduced in 6771, see
http://svn.wikimedia.org/viewvc/pywikipedia/trunk/pywikipedia/interwiki.py?…
Will fix it.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2785015&group_…
Bugs item #2785015, was opened at 2009-05-01 14:57
Message generated for change (Comment added) made by multichill
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2785015&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: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Multichill (multichill)
Summary: crash after asking confirmation to delete interwiki linkds
Initial Comment:
Updating links on page [[fr:Catégorie:30 avril 2009]].
Changes to be made: Retire: bg, bs, ca, cs, he, hu, nl, no, ro, ru, sd, sr, sv, th, uk, zh
+ [[ar:تصنيف:30 أبريل 2009]]
+ [[de:Kategorie:30.04.2009]]
- [[es:Category:30 de abril de 2009]]
+ [[es:Categoría:30 de abril de 2009]]
- [[ar:Category:30 أبريل 2009]]
- [[bg:Category:30 април 2009]]
- [[bs:Category:30. april 2009]]
+ [[it:Categoria:30 aprile 2009]]
- [[pt:Category:30 de abril de 2009]]
- [[hu:Category:2009. április 30]]
- [[ca:Category:30 de abril 2009]]
- [[he:Category:30 באפריל 2009]]
- [[ro:Category:30 aprilie 2008]]
- [[no:Category:30. april 2009]]
- [[ru:Category:30 апреля 2009]]
- [[th:Category:30 เมษายน 2552]]
- [[uk:Category:30 квітня 2009]]
- [[zh:Category:2009年4月30日]]
- [[fi:Category:30. huhtikuuta 2009]]
- [[sd:Category:30 اپريل 2009]]
- [[pl:Category:30 kwietnia 2009]]
+ [[pl:Kategoria:30 kwietnia 2009]]
- [[it:Category:30 aprile 2009]]
+ [[pt:Categoria:30 de abril de 2009]]
+ [[fi:Luokka:30. huhtikuuta 2009]]
- [[sv:Category:30 april 2009]]
- [[sr:Category:30. април 2009.]]
- [[cs:Category:30. dubna 2009]]
- [[de:Category:30.04.2009]]
- [[nl:Category:30 april 2009]]
ERROR: Found incorrect link to bg,bs,ca,cs,he,hu,nl,no,ro,ru,sd,sr,sv,th,uk,zh in [[fr:Catégorie:30 avril 2009]]
Submit? ([y]es, [n]o, open in [b]rowser, [g]ive up) y
Dump fr (wikinews) saved
Traceback (most recent call last):
File "interwiki.py", line 2138, in <module>
bot.run()
File "interwiki.py", line 1859, in run
self.queryStep()
File "interwiki.py", line 1837, in queryStep
subj.finish(self)
File "interwiki.py", line 1395, in finish
if self.replaceLinks(page, new, bot):
File "interwiki.py", line 1546, in replaceLinks
if choice == 'b':
NameError: global name 'choice' is not defined
version :
Pywikipedia [http] trunk/pywikipedia (r6783, May 01 2009, 08:59:42)
Python 2.5.4 (r254:67916, Feb 17 2009, 20:16:45)
[GCC 4.3.3]
----------------------------------------------------------------------
>Comment By: Multichill (multichill)
Date: 2009-05-01 15:10
Message:
6784
----------------------------------------------------------------------
Comment By: Multichill (multichill)
Date: 2009-05-01 15:10
Message:
Fixed in r...
----------------------------------------------------------------------
Comment By: Multichill (multichill)
Date: 2009-05-01 15:08
Message:
Looks like the bug is introduced in 6771, see
http://svn.wikimedia.org/viewvc/pywikipedia/trunk/pywikipedia/interwiki.py?…
Will fix it.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2785015&group_…
Bugs item #2785015, was opened at 2009-05-01 14:57
Message generated for change (Comment added) made by multichill
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2785015&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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: crash after asking confirmation to delete interwiki linkds
Initial Comment:
Updating links on page [[fr:Catégorie:30 avril 2009]].
Changes to be made: Retire: bg, bs, ca, cs, he, hu, nl, no, ro, ru, sd, sr, sv, th, uk, zh
+ [[ar:تصنيف:30 أبريل 2009]]
+ [[de:Kategorie:30.04.2009]]
- [[es:Category:30 de abril de 2009]]
+ [[es:Categoría:30 de abril de 2009]]
- [[ar:Category:30 أبريل 2009]]
- [[bg:Category:30 април 2009]]
- [[bs:Category:30. april 2009]]
+ [[it:Categoria:30 aprile 2009]]
- [[pt:Category:30 de abril de 2009]]
- [[hu:Category:2009. április 30]]
- [[ca:Category:30 de abril 2009]]
- [[he:Category:30 באפריל 2009]]
- [[ro:Category:30 aprilie 2008]]
- [[no:Category:30. april 2009]]
- [[ru:Category:30 апреля 2009]]
- [[th:Category:30 เมษายน 2552]]
- [[uk:Category:30 квітня 2009]]
- [[zh:Category:2009年4月30日]]
- [[fi:Category:30. huhtikuuta 2009]]
- [[sd:Category:30 اپريل 2009]]
- [[pl:Category:30 kwietnia 2009]]
+ [[pl:Kategoria:30 kwietnia 2009]]
- [[it:Category:30 aprile 2009]]
+ [[pt:Categoria:30 de abril de 2009]]
+ [[fi:Luokka:30. huhtikuuta 2009]]
- [[sv:Category:30 april 2009]]
- [[sr:Category:30. април 2009.]]
- [[cs:Category:30. dubna 2009]]
- [[de:Category:30.04.2009]]
- [[nl:Category:30 april 2009]]
ERROR: Found incorrect link to bg,bs,ca,cs,he,hu,nl,no,ro,ru,sd,sr,sv,th,uk,zh in [[fr:Catégorie:30 avril 2009]]
Submit? ([y]es, [n]o, open in [b]rowser, [g]ive up) y
Dump fr (wikinews) saved
Traceback (most recent call last):
File "interwiki.py", line 2138, in <module>
bot.run()
File "interwiki.py", line 1859, in run
self.queryStep()
File "interwiki.py", line 1837, in queryStep
subj.finish(self)
File "interwiki.py", line 1395, in finish
if self.replaceLinks(page, new, bot):
File "interwiki.py", line 1546, in replaceLinks
if choice == 'b':
NameError: global name 'choice' is not defined
version :
Pywikipedia [http] trunk/pywikipedia (r6783, May 01 2009, 08:59:42)
Python 2.5.4 (r254:67916, Feb 17 2009, 20:16:45)
[GCC 4.3.3]
----------------------------------------------------------------------
>Comment By: Multichill (multichill)
Date: 2009-05-01 15:08
Message:
Looks like the bug is introduced in 6771, see
http://svn.wikimedia.org/viewvc/pywikipedia/trunk/pywikipedia/interwiki.py?…
Will fix it.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2785015&group_…
Feature Requests item #2785017, was opened at 2009-05-01 15:01
Message generated for change (Tracker Item Submitted) made by multichill
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2785017&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: Open
Priority: 5
Private: No
Submitted By: Multichill (multichill)
Assigned to: Multichill (multichill)
Summary: Update interwiki's with commonscat.py
Initial Comment:
Commonscat.py should update interwiki's at Commons when working on a category. Some code is already available, but not the policy on how to update the links. We have several sources:
-interwiki links to articles on the Commons category
-interwiki links to categoires on the Commons category
-interwiki links to articles at the Wikipedia article
-interwiki links to categories at the Wikipedia category
Not clear how to deal with this. We don't want bots constantly changing the links at a Commons category because multiple categories at some Wikipedia link to the same Commons category. Interwiki conflicts are probably going to be a source of problems too.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2785017&group_…
Bugs item #2785015, was opened at 2009-05-01 12:57
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2785015&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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: crash after asking confirmation to delete interwiki linkds
Initial Comment:
Updating links on page [[fr:Catégorie:30 avril 2009]].
Changes to be made: Retire: bg, bs, ca, cs, he, hu, nl, no, ro, ru, sd, sr, sv, th, uk, zh
+ [[ar:تصنيف:30 أبريل 2009]]
+ [[de:Kategorie:30.04.2009]]
- [[es:Category:30 de abril de 2009]]
+ [[es:Categoría:30 de abril de 2009]]
- [[ar:Category:30 أبريل 2009]]
- [[bg:Category:30 април 2009]]
- [[bs:Category:30. april 2009]]
+ [[it:Categoria:30 aprile 2009]]
- [[pt:Category:30 de abril de 2009]]
- [[hu:Category:2009. április 30]]
- [[ca:Category:30 de abril 2009]]
- [[he:Category:30 באפריל 2009]]
- [[ro:Category:30 aprilie 2008]]
- [[no:Category:30. april 2009]]
- [[ru:Category:30 апреля 2009]]
- [[th:Category:30 เมษายน 2552]]
- [[uk:Category:30 квітня 2009]]
- [[zh:Category:2009年4月30日]]
- [[fi:Category:30. huhtikuuta 2009]]
- [[sd:Category:30 اپريل 2009]]
- [[pl:Category:30 kwietnia 2009]]
+ [[pl:Kategoria:30 kwietnia 2009]]
- [[it:Category:30 aprile 2009]]
+ [[pt:Categoria:30 de abril de 2009]]
+ [[fi:Luokka:30. huhtikuuta 2009]]
- [[sv:Category:30 april 2009]]
- [[sr:Category:30. април 2009.]]
- [[cs:Category:30. dubna 2009]]
- [[de:Category:30.04.2009]]
- [[nl:Category:30 april 2009]]
ERROR: Found incorrect link to bg,bs,ca,cs,he,hu,nl,no,ro,ru,sd,sr,sv,th,uk,zh in [[fr:Catégorie:30 avril 2009]]
Submit? ([y]es, [n]o, open in [b]rowser, [g]ive up) y
Dump fr (wikinews) saved
Traceback (most recent call last):
File "interwiki.py", line 2138, in <module>
bot.run()
File "interwiki.py", line 1859, in run
self.queryStep()
File "interwiki.py", line 1837, in queryStep
subj.finish(self)
File "interwiki.py", line 1395, in finish
if self.replaceLinks(page, new, bot):
File "interwiki.py", line 1546, in replaceLinks
if choice == 'b':
NameError: global name 'choice' is not defined
version :
Pywikipedia [http] trunk/pywikipedia (r6783, May 01 2009, 08:59:42)
Python 2.5.4 (r254:67916, Feb 17 2009, 20:16:45)
[GCC 4.3.3]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2785015&group_…
Feature Requests item #2785014, was opened at 2009-05-01 14:56
Message generated for change (Tracker Item Submitted) made by multichill
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2785014&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: 3
Private: No
Submitted By: Multichill (multichill)
Assigned to: Multichill (multichill)
Summary: Fallback templates in commonscat.py
Initial Comment:
Currently commonscat.py has a list of templates to work on (commonscatTemplates) and a list of templates to ignore and skip (ignoreTemplates).
A list of fallback templates should be added so that non-default commonscat templates (like Commonscatklein) are not ignored by the bot, but used or even replaced with the default template.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2785014&group_…