http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9154
Revision: 9154 Author: a_engels Date: 2011-04-09 22:38:05 +0000 (Sat, 09 Apr 2011) Log Message: ----------- bugfix
Modified Paths: -------------- trunk/pywikipedia/interwiki.py
Modified: trunk/pywikipedia/interwiki.py =================================================================== --- trunk/pywikipedia/interwiki.py 2011-04-09 06:29:19 UTC (rev 9153) +++ trunk/pywikipedia/interwiki.py 2011-04-09 22:38:05 UTC (rev 9154) @@ -1154,7 +1154,7 @@ """ if self.forcedStop: return False - if globalvar.nobackonly and originPage: # cannot check backlink before we have an origin page + if globalvar.nobackonly and self.originPage: # cannot check backlink before we have an origin page if page == self.originPage: try: pywikibot.output(u"%s has a backlink from %s."