Revision: 4183 Author: wikipedian Date: 2007-09-02 23:54:57 +0000 (Sun, 02 Sep 2007)
Log Message: ----------- fixed bug [ 1783561 ] a regex bug on line 3819 wikipedia.py
Modified Paths: -------------- trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2007-09-02 23:48:25 UTC (rev 4182) +++ trunk/pywikipedia/wikipedia.py 2007-09-02 23:54:57 UTC (rev 4183) @@ -3921,7 +3921,7 @@ group on the target title. """ try: - redirKeywords = [u'redirect'] + self.family.redirect[self.lang] + redirKeywords = [u'redirect'] + [self.family.redirect[self.lang]] redirKeywordsR = r'(?:' + '|'.join(redirKeywords) + ')' except KeyError: # no localized keyword for redirects