Revision: 6709 Author: nicdumz Date: 2009-04-25 11:24:56 +0000 (Sat, 25 Apr 2009)
Log Message: ----------- Fixing Bug from r6703 : list should be Page list, not Site list
Modified Paths: -------------- trunk/pywikipedia/interwiki.py
Modified: trunk/pywikipedia/interwiki.py =================================================================== --- trunk/pywikipedia/interwiki.py 2009-04-25 11:13:09 UTC (rev 6708) +++ trunk/pywikipedia/interwiki.py 2009-04-25 11:24:56 UTC (rev 6709) @@ -1683,11 +1683,11 @@ fmt = lambda page: page.site().lang
if adding: - mods += " %s: %s" % (wikipedia.translate(insite.lang, msg)[1], ", ".join([fmt(x) for x in adding])) + mods += " %s: %s" % (wikipedia.translate(insite.lang, msg)[1], ", ".join([fmt(new[x]) for x in adding])) if removing: - mods += " %s: %s" % (wikipedia.translate(insite.lang, msg)[2], ", ".join([fmt(x) for x in removing])) + mods += " %s: %s" % (wikipedia.translate(insite.lang, msg)[2], ", ".join([fmt(old[x]) for x in removing])) if modifying: - mods += " %s: %s" % (wikipedia.translate(insite.lang, msg)[3], ", ".join([fmt(x) for x in modifying])) + mods += " %s: %s" % (wikipedia.translate(insite.lang, msg)[3], ", ".join([fmt(new[x]) for x in modifying])) return mods, adding, removing, modifying
def readWarnfile(filename, bot):
pywikipedia-svn@lists.wikimedia.org