Bugs item #1988198, was opened at 2008-06-08 17:49
Message generated for change (Comment added) made by mstmst
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1988198&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: masti (mstmst)
Assigned to: Nobody/Anonymous (nobody)
Summary: replace.py crashes in szl:wiki
Initial Comment:
when running replace.py (r5530) with any parameters for example:
python replace.py -start:! "Wp/szl/" "" -log
it comes to [[Česko godka]] article and crashes with the following error:
No changes were necessary in [[Česko godka]]
Retrieving Allpages special page for wikipedia:szl from %E1%BA%8A%21, namespace 0
Couldn't extract allpages special page. Make sure you're using MonoBook skin.
When restarting using -start:"Česko godka" it goes to the end without any problems.
masti
----------------------------------------------------------------------
>Comment By: masti (mstmst)
Date: 2008-06-12 19:03
Message:
Logged In: YES
user_id=1974561
Originator: YES
It looks that the main problem is described here:
Retrieving Allpages special page for wikipedia:szl from %E1%BA%8A%21,
namespace 0
it crashes trying to retrieve page "Ẋ" from szl wiki.
problem still pending. For example using
python replace.py -start:! "/Wp/szl/" "" -log
the error is (usnig r5562):
Retrieving Allpages special page for wikipedia:szl from %E1%BA%8A%21,
namespace 0
Traceback (most recent call last):
File "/home/mstelmasik/Downloads/pywikipedia/pagegenerators.py", line
755, in __iter__
for page in self.wrapped_gen:
File "/home/mstelmasik/Downloads/pywikipedia/pagegenerators.py", line
688, in DuplicateFilterPageGenerator
for page in generator:
File "/home/mstelmasik/Downloads/pywikipedia/pagegenerators.py", line
239, in AllpagesPageGenerator
for page in site.allpages(start = start, namespace = namespace,
includeredirects = includeredirects):
File "/home/mstelmasik/Downloads/pywikipedia/wikipedia.py", line 4998,
in allpages
raise ServerError(
ServerError: Couldn't extract allpages special page. Make sure you're
using MonoBook skin.
Couldn't extract allpages special page. Make sure you're using MonoBook
skin.
masti
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1988198&group_…
Patches item #1992057, was opened at 2008-06-12 10:26
Message generated for change (Comment added) made by stigmj
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1992057&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: Stig Meireles Johansen (stigmj)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add support for cross-namespace interwiki
Initial Comment:
This patch will add support for a mapping of allowed interwikis between namespaces. I have done a quick mapping, but it may very well need some more tuning.
The diff is done against r5562.
----------------------------------------------------------------------
>Comment By: Stig Meireles Johansen (stigmj)
Date: 2008-06-12 11:52
Message:
Logged In: YES
user_id=2116333
Originator: YES
File Added: pywikipedia-5562-crossnamespace-diff.patch
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1992057&group_…
Bugs item #1917385, was opened at 2008-03-17 22:48
Message generated for change (Comment added) made by cosoleto
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1917385&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: Wont Fix
Priority: 5
Private: No
Submitted By: Uberfuzzy (uberfuzzy)
Assigned to: Nobody/Anonymous (nobody)
Summary: add_text doesnt obey -summary:""
Initial Comment:
when i use other scripts, such as replace.py, when i dont want any summary (even the default "Robot: blah blah" one) i use -summary:""
yet, when i use add_text.py with -summary:"" it handles that differently and assumed that the summary argument was not sent at all, and uses a dynamically made one using the text i'm adding.
----------------------------------------------------------------------
>Comment By: Francesco Cosoleto (cosoleto)
Date: 2008-06-12 16:56
Message:
Logged In: YES
user_id=181280
Originator: NO
I agree with Filnik. Please, don't let blank edit summary, it's always
useful. Use your imagination.
----------------------------------------------------------------------
Comment By: Filnik (filnik)
Date: 2008-03-18 20:37
Message:
Logged In: YES
user_id=1834469
Originator: NO
"It's not a bug, it's a feature!" (quote). Using no summary is simply
wrong, I won't change add_text.py deleting this useful feature.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1917385&group_…
Patches item #1992057, was opened at 2008-06-12 10:26
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1992057&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: Stig Meireles Johansen (stigmj)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add support for cross-namespace interwiki
Initial Comment:
This patch will add support for a mapping of allowed interwikis between namespaces. I have done a quick mapping, but it may very well need some more tuning.
The diff is done against r5562.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1992057&group_…
Patches item #1992007, was opened at 2008-06-12 15:36
Message generated for change (Settings changed) made by cosoleto
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1992007&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: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: danish translations
Initial Comment:
Translated messages in various scripts to danish.
Output from python version.py:
Pywikipedia [http] trunk/pywikipedia (r5562, Jun 12 2008, 06:24:30)
Python 2.5 (release25-maint, Dec 9 2006, 14:35:53)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-20)]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=1992007&group_…
Bugs item #1968967, was opened at 2008-05-21 19:52
Message generated for change (Comment added) made by cosoleto
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1968967&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: David Crochet (crochet_david)
Assigned to: Nobody/Anonymous (nobody)
Summary: no possible deletion with delete user right
Initial Comment:
my bot (Crochet.david.bot) had a Test-administrator group statut (so not the sysop group statut), but this statut have the delete rights (as the sysop group statut) in the incubator wikimedia project.
So, as you can see with the terminal output (attach file)
the bot can't delete.
user rights in incubator : http://incubator.wikimedia.org/wiki/Special:ListGroupRights
----------------------------------------------------------------------
>Comment By: Francesco Cosoleto (cosoleto)
Date: 2008-06-12 15:50
Message:
Logged In: YES
user_id=181280
Originator: NO
In wikipedia.py (_getUserData()) try to replace:
if 'sysop' in self._rights[index]:
self._rights[index].extend(['delete', 'undelete', 'block',
'protect', 'import', 'deletedhistory', 'unwatchedpages'])
with:
if 'sysop' in self._rights[index] or 'test-sysop' in
self._rights[index]:
self._rights[index].extend(['delete', 'undelete', 'block',
'protect', 'import', 'deletedhistory', 'unwatchedpages'])
----------------------------------------------------------------------
Comment By: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2008-05-22 19:35
Message:
Logged In: YES
user_id=1963242
Originator: NO
I'm told by david that wgUserGroups reads
var wgUserGroups = ["bot", "test-sysop", "*", "user", "autoconfirmed"];
on the incubator, meaning that site._rights[1] will be ["bot",
"test-sysop", "user", "autoconfirmed"]
Then, when isAllowed('delete', True), boolean checks " 'delete' in
site._rights[1] ", it returns False, and it raises a LockedPage exception.
David also tells me that his admin user rights (on wikiversity-fr) are
"var wgUserGroups = ["sysop", "*", "user", "autoconfirmed"];". This means
that even with "normal" sysop rights, "delete" is *_never_* in var
wgUserGroups.
I don't have sysop rights on any projects, so I can't really diagnose much
more on this problem, but are we sure that we are still able to delete
pages here ? Isn't somewhat broken ??
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1968967&group_…
Bugs item #1992007, was opened at 2008-06-12 06:36
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=1992007&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: other
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: danish translations
Initial Comment:
Translated messages in various scripts to danish.
Output from python version.py:
Pywikipedia [http] trunk/pywikipedia (r5562, Jun 12 2008, 06:24:30)
Python 2.5 (release25-maint, Dec 9 2006, 14:35:53)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-20)]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1992007&group_…
Feature Requests item #1970975, was opened at 2008-05-24 04:08
Message generated for change (Settings changed) made by cosoleto
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=1970975&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: André Malafaya Baptista (malafaya)
Assigned to: Nobody/Anonymous (nobody)
Summary: Edit summary should sort interwikis the same way as in page
Initial Comment:
This is not exactly a bug but more a prefered feature.
As of now, interwiki.py adds interwikis to a page according to the site language, which may or may not be alphabetical sort order. When the bot edits the page, it builds an edit summary which includes the added, removed and modified interwikis in code alphabetical order, which may not correspond to the order in the edited page. The edit summary's order should match the one of the page.
In interwiki.py, the links are sorted in lines 1489-1491 but cosmetic_changes.py should also make use of this code. Both could use the function wikipedia.interwikiSort(...) recently refactored by valhallasw to sort the interwikis according to the site preference.
The community at the Frysian wikis with be very much thankful for this feature.
Thanks.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=1970975&group_…
Bugs item #1988771, was opened at 2008-06-09 12:17
Message generated for change (Comment added) made by siebrand
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1988771&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: other
Group: None
Status: Open
Resolution: None
Priority: 6
Private: No
Submitted By: siebrand (siebrand)
Assigned to: Nobody/Anonymous (nobody)
Summary: Encoding issues with Esperanto
Initial Comment:
Output:
siebrand@v05-s341:~/nl$ python nowcommons.py -lang:eo -autonomous -replacealways -replaceloose
WARNING: Configuration variable 'language' is defined but unknown. Misspelled?
Checked for running processes. 1 processes currently running, including the current process.
Getting references to [[Ŝablono:Nun en komunejo]]
NOTE: You have new messages on wikipedia:eo
>>> Dosiero:LieĝioMapoAmel.png <<<
Traceback (most recent call last):
File "nowcommons.py", line 231, in <module>
main()
File "nowcommons.py", line 227, in main
bot.run()
File "nowcommons.py", line 222, in run
wikipedia.output(u'%s' % e)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u011d' in position 35: ordinal not in range(128)
This is about the page: http://eo.wikipedia.org/wiki/Dosiero:LiegxioMapoFleron.png
Esperanto uses LanguageEo.php with some iconv magic. (http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/La…) .
----------------------------------------------------------------------
>Comment By: siebrand (siebrand)
Date: 2008-06-12 10:39
Message:
Logged In: YES
user_id=1107255
Originator: YES
Ouch. No. It works if I remove those 4 lines, indeed. Now why are they in
there! :)
----------------------------------------------------------------------
Comment By: Francesco Cosoleto (cosoleto)
Date: 2008-06-12 10:23
Message:
Logged In: YES
user_id=181280
Originator: NO
I don't fixed the bug in SVN. Have you edited wikipedia.py in
Page::title() as described?
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2008-06-12 10:16
Message:
Logged In: YES
user_id=1107255
Originator: YES
It appears there is another issue related/behind this:
python nowcommons.py -autonomous -replaceloose -replacealways -lang:eo
WARNING: Configuration variable 'language' is defined but unknown.
Misspelled?
Checked for running processes. 1 processes currently running, including
the current process.
Getting references to [[Ŝablono:Nun en komunejo]]
>>> Dosiero:LieĝioMapoAmel.png <<<
Image file URL for [[eo:Dosiero:LieĝioMapoAmel.png]] not found.
----------------------------------------------------------------------
Comment By: Francesco Cosoleto (cosoleto)
Date: 2008-06-12 08:38
Message:
Logged In: YES
user_id=181280
Originator: NO
>>> import wikipedia
>>> s=wikipedia.Site('eo')
>>> p=wikipedia.ImagePage(s, 'Dosiero:LiegxioMapoAmel.png')
>>> p.title()
u'Dosiero:Lie\u011dioMapoAmel.png'
>>> p.get()
[...]
wikipedia.NoPage: (wikipedia:eo,
u'[[eo:Dosiero:Lie\u011dioMapoAmel.png]]')
r5305 has changed Page::title() in wikipedia.py ("Page.title(): Esperanto
decoding, fix bug 1425206 and patch 1880140") [*],
If I remove:
if self.site().lang == 'eo':
title = decodeEsperantoX(title)
pages are found and the nowcommons.py seems full working. But maybe there
are problems with redirect.py.
[*]
[ 1880140 ] Decode Esperanto titles
http://sourceforge.net/tracker/index.php?func=detail&aid=1880140&group_id=9…
[ 1425206 ] Esperanto X-Convention and interwiki
http://sourceforge.net/tracker/index.php?func=detail&aid=1425206&group_id=9…
----------------------------------------------------------------------
Comment By: Marc-Etienne Vargenau (vargenau)
Date: 2008-06-11 10:25
Message:
Logged In: YES
user_id=1118700
Originator: NO
See also bug 1988290
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1988771&group_…
Bugs item #1988771, was opened at 2008-06-09 12:17
Message generated for change (Comment added) made by cosoleto
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1988771&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: other
Group: None
Status: Open
Resolution: None
Priority: 6
Private: No
Submitted By: siebrand (siebrand)
Assigned to: Nobody/Anonymous (nobody)
Summary: Encoding issues with Esperanto
Initial Comment:
Output:
siebrand@v05-s341:~/nl$ python nowcommons.py -lang:eo -autonomous -replacealways -replaceloose
WARNING: Configuration variable 'language' is defined but unknown. Misspelled?
Checked for running processes. 1 processes currently running, including the current process.
Getting references to [[Ŝablono:Nun en komunejo]]
NOTE: You have new messages on wikipedia:eo
>>> Dosiero:LieĝioMapoAmel.png <<<
Traceback (most recent call last):
File "nowcommons.py", line 231, in <module>
main()
File "nowcommons.py", line 227, in main
bot.run()
File "nowcommons.py", line 222, in run
wikipedia.output(u'%s' % e)
UnicodeEncodeError: 'ascii' codec can't encode character u'\u011d' in position 35: ordinal not in range(128)
This is about the page: http://eo.wikipedia.org/wiki/Dosiero:LiegxioMapoFleron.png
Esperanto uses LanguageEo.php with some iconv magic. (http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/languages/classes/La…) .
----------------------------------------------------------------------
>Comment By: Francesco Cosoleto (cosoleto)
Date: 2008-06-12 10:23
Message:
Logged In: YES
user_id=181280
Originator: NO
I don't fixed the bug in SVN. Have you edited wikipedia.py in
Page::title() as described?
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2008-06-12 10:16
Message:
Logged In: YES
user_id=1107255
Originator: YES
It appears there is another issue related/behind this:
python nowcommons.py -autonomous -replaceloose -replacealways -lang:eo
WARNING: Configuration variable 'language' is defined but unknown.
Misspelled?
Checked for running processes. 1 processes currently running, including
the current process.
Getting references to [[Ŝablono:Nun en komunejo]]
>>> Dosiero:LieĝioMapoAmel.png <<<
Image file URL for [[eo:Dosiero:LieĝioMapoAmel.png]] not found.
----------------------------------------------------------------------
Comment By: Francesco Cosoleto (cosoleto)
Date: 2008-06-12 08:38
Message:
Logged In: YES
user_id=181280
Originator: NO
>>> import wikipedia
>>> s=wikipedia.Site('eo')
>>> p=wikipedia.ImagePage(s, 'Dosiero:LiegxioMapoAmel.png')
>>> p.title()
u'Dosiero:Lie\u011dioMapoAmel.png'
>>> p.get()
[...]
wikipedia.NoPage: (wikipedia:eo,
u'[[eo:Dosiero:Lie\u011dioMapoAmel.png]]')
r5305 has changed Page::title() in wikipedia.py ("Page.title(): Esperanto
decoding, fix bug 1425206 and patch 1880140") [*],
If I remove:
if self.site().lang == 'eo':
title = decodeEsperantoX(title)
pages are found and the nowcommons.py seems full working. But maybe there
are problems with redirect.py.
[*]
[ 1880140 ] Decode Esperanto titles
http://sourceforge.net/tracker/index.php?func=detail&aid=1880140&group_id=9…
[ 1425206 ] Esperanto X-Convention and interwiki
http://sourceforge.net/tracker/index.php?func=detail&aid=1425206&group_id=9…
----------------------------------------------------------------------
Comment By: Marc-Etienne Vargenau (vargenau)
Date: 2008-06-11 10:25
Message:
Logged In: YES
user_id=1118700
Originator: NO
See also bug 1988290
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1988771&group_…