Bugs item #3608868, was opened at 2013-03-22 22:20 Message generated for change (Comment added) made by amird You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3608868...
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: General Group: trunk
Status: Closed Resolution: Fixed
Priority: 6 Private: No Submitted By: Mikko Silvonen (silvonen) Assigned to: Amir (amird) Summary: featured.py does not follow Wikidata links
Initial Comment: Does featured.py understand only local interlanguage links? Alben W. Barkley is a featured article on enwiki, and it exists on fiwiki, but featured.py now just skips it.
python version.py
Pywikipedia trunk/pywikipedia/ (r11237, 2013/03/22, 22:01:35, ok) Python 2.7.2 (default, Jun 24 2011, 12:22:14) [MSC v.1500 64 bit (AMD64)] config-settings: use_api = True use_api_login = True unicode test: ok
featured.py -fromlang:en
... Alben W. Barkley -> no corresponding page in wikipedia:fi ...
----------------------------------------------------------------------
Comment By: Amir (amird)
Date: 2013-03-22 23:28
Message: I'm not in hurry now :) I forgot to remove another part (https://www.mediawiki.org/wiki/Special:Code/pywikipedia/11239) I'm sorry but I removed and It is ok now I tested and it worked fa.wikipedia.org/w/index.php?diff=prev&oldid=9880002 fa.wikipedia.org/w/index.php?diff=prev&oldid=9880009 ... (http://fa.wikipedia.org/wiki/%D9%88%DB%8C%DA%98%D9%87:%D9%85%D8%B4%D8%A7%D8%...)
----------------------------------------------------------------------
Comment By: Mikko Silvonen (silvonen) Date: 2013-03-22 22:41
Message: Thanks! Not quite fixed yet: Now it finds the page, but doesn't figure out where to add the template.
Alben W. Barkley -> corresponding page is Alben W. Barkley no interwiki record, very strange
----------------------------------------------------------------------
Comment By: Amir (amird) Date: 2013-03-22 22:33
Message: I mean "update the code", I am in hurry
----------------------------------------------------------------------
Comment By: Amir (amird) Date: 2013-03-22 22:32
Message: I made r11238 to fix it but i didn't check update the and check and if it worked, inform me so i can close the bug
Thanks
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3608868...