Revision: 6676 Author: russblau Date: 2009-04-22 20:39:10 +0000 (Wed, 22 Apr 2009)
Log Message: ----------- Revert r6675: interwiki links are *not* interlanguage links; see Page.langlinks() (this is different from old framework)
Modified Paths: -------------- branches/rewrite/pywikibot/page.py
Modified: branches/rewrite/pywikibot/page.py =================================================================== --- branches/rewrite/pywikibot/page.py 2009-04-22 20:13:42 UTC (rev 6675) +++ branches/rewrite/pywikibot/page.py 2009-04-22 20:39:10 UTC (rev 6676) @@ -781,7 +781,7 @@ # are not language links try: if link.site != self.site(): - if not linktitle.lstrip().startswith(":"): + if linktitle.lstrip().startswith(":"): # initial ":" indicates not a language link yield link elif link.site.family != self.site().family: