Revision: 6783 Author: nicdumz Date: 2009-05-01 08:59:42 +0000 (Fri, 01 May 2009)
Log Message: ----------- aslink() -> aslink(True) to show langcodes ( #2778428 : language codes in interwiki.log )
Modified Paths: -------------- trunk/pywikipedia/interwiki.py
Modified: trunk/pywikipedia/interwiki.py =================================================================== --- trunk/pywikipedia/interwiki.py 2009-05-01 05:00:58 UTC (rev 6782) +++ trunk/pywikipedia/interwiki.py 2009-05-01 08:59:42 UTC (rev 6783) @@ -1135,7 +1135,7 @@ elif globalvar.autonomous and duplicate:
wikipedia.output(u"Stopping work on %s because duplicate pages"\ - " %s and %s are found" % (self.originPage.aslink(), + " %s and %s are found" % (self.originPage.aslink(True), duplicate.aslink(True), page.aslink(True))) self.makeForcedStop(counter) @@ -1177,7 +1177,7 @@ if prevPage != linkedPage and prevPage.site() == lpsite: # Still, this could be "no problem" as either may be a # redirect to the other. No way to find out quickly! - wikipedia.output(u"NOTE: %s: %s gives duplicate interwiki on same site %s" % (self.originPage.aslink(), page.aslink(True), linkedPage.aslink(True))) + wikipedia.output(u"NOTE: %s: %s gives duplicate interwiki on same site %s" % (self.originPage.aslink(True), page.aslink(True), linkedPage.aslink(True))) break else: if config.interwiki_shownew:
pywikipedia-svn@lists.wikimedia.org