Bugs item #1820282, was opened at 2007-10-25 17:38
Message generated for change (Comment added) made by leogregianin
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=182028…
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: André Malafaya Baptista (malafaya)
Assigned to: Nobody/Anonymous (nobody)
Summary: featured.py for language codes including hyphen
Initial Comment:
When i tried running featured.py with switches:
-fromlang:be-x-old
-fromlang:roa-tara
it actually started processing.
Only later i realized those languages are not implemented in featured.py. I don't
really understand what it was processing but it definitely was not the corresponding
language.
----------------------------------------------------------------------
Comment By: Leonardo Gregianin (leogregianin)
Date: 2007-11-13 13:37
Message:
Logged In: YES
user_id=1136737
Originator: NO
be-x-old and roa-tara don't have category or backlink in featured.py, for
this, don't running. And zh-classical and zh-yue work done.
>>featured.py -fromlang:pt,zh-classical
Getting references to [[zh-classical:Template:????]]
>> ?????? <<<
No corresponding
page in wikipedia:pt
>> ???? <<<
No corresponding page
in wikipedia:pt
do you need put two languages in -fromlang:xx,yy
----------------------------------------------------------------------
Comment By: Leonardo Gregianin (leogregianin)
Date: 2007-11-13 13:36
Message:
Logged In: YES
user_id=1136737
Originator: NO
be-x-old and roa-tara don't have category or backlink in featured.py, for
this, don't running. And zh-classical and zh-yue work done.
>>featured.py -fromlang:pt,zh-classical
Getting references to [[zh-classical:Template:????]]
>> ?????? <<<
No corresponding
page in wikipedia:pt
>> ???? <<<
No corresponding page
in wikipedia:pt
do you need put two languages in -fromlang:xx,yy
----------------------------------------------------------------------
Comment By: André Malafaya Baptista (malafaya)
Date: 2007-10-26 09:47
Message:
Logged In: YES
user_id=1037345
Originator: YES
The problem seems to be here:
if len(fromlang)==1 and fromlang[0].index("-")>=0:
Apparently, if you only specify one language, it considers the hyphen as a
separator between the first and last languages to process.
If I specify:
-fromlang:zh-yue,zh-yue
then I can make it work.
----------------------------------------------------------------------
Comment By: André Malafaya Baptista (malafaya)
Date: 2007-10-25 17:49
Message:
Logged In: YES
user_id=1037345
Originator: YES
I just tried for implemented language codes zh-yue and zh-classical. No
work is done by the bot. It doesn't even try to download the template
linking pages.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=182028…