http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9001
Revision: 9001 Author: xqt Date: 2011-02-22 09:14:06 +0000 (Tue, 22 Feb 2011) Log Message: ----------- fix identation
Modified Paths: -------------- trunk/pywikipedia/interwiki.py
Modified: trunk/pywikipedia/interwiki.py =================================================================== --- trunk/pywikipedia/interwiki.py 2011-02-21 16:27:57 UTC (rev 9000) +++ trunk/pywikipedia/interwiki.py 2011-02-22 09:14:06 UTC (rev 9001) @@ -1755,8 +1755,8 @@ # TODO: sould be move to assemble() # replaceLinks will skip the site it's working on. if self.originPage.site() not in new: - if not self.originPage.site().family.interwiki_forward: #TODO: make this possible as well. - new[self.originPage.site()] = self.originPage + if not self.originPage.site().family.interwiki_forward: #TODO: make this possible as well. + new[self.originPage.site()] = self.originPage
#self.replaceLinks(self.originPage, new, True, bot)