Revision: 4032 Author: wikipedian Date: 2007-08-12 22:44:33 +0000 (Sun, 12 Aug 2007)
Log Message: ----------- typo
Modified Paths: -------------- trunk/pywikipedia/solve_disambiguation.py
Modified: trunk/pywikipedia/solve_disambiguation.py =================================================================== --- trunk/pywikipedia/solve_disambiguation.py 2007-08-12 20:25:38 UTC (rev 4031) +++ trunk/pywikipedia/solve_disambiguation.py 2007-08-12 22:44:33 UTC (rev 4032) @@ -576,8 +576,8 @@ while True: # Show the title of the page where the link was found. # Highlight the title in purple. - wikipedia.output(u"\n\n>>> \03{lightpurple}%s\03{default} <<<" % refPage.title()) - + wikipedia.output(u"\n\n>>> \03{lightpurple}%s\03{default} <<<" % refPage.title()) + # at the beginning of the link, start red color. # at the end of the link, reset the color to default wikipedia.output(text[m.start() - context : m.start()] + '\03{lightred}' + text[m.start() : m.end()] + '\03{default}' + text[m.end() : m.end() + context])
pywikipedia-l@lists.wikimedia.org