Revision: 6675 Author: nicdumz Date: 2009-04-22 20:13:42 +0000 (Wed, 22 Apr 2009)
Log Message: ----------- Page.interwiki : yield interwiki links if they _dont_ start by :
Modified Paths: -------------- branches/rewrite/pywikibot/page.py
Modified: branches/rewrite/pywikibot/page.py =================================================================== --- branches/rewrite/pywikibot/page.py 2009-04-22 18:31:25 UTC (rev 6674) +++ branches/rewrite/pywikibot/page.py 2009-04-22 20:13:42 UTC (rev 6675) @@ -781,7 +781,7 @@ # are not language links try: if link.site != self.site(): - if linktitle.lstrip().startswith(":"): + if not linktitle.lstrip().startswith(":"): # initial ":" indicates not a language link yield link elif link.site.family != self.site().family:
pywikipedia-svn@lists.wikimedia.org