Revision: 7309 Author: siebrand Date: 2009-09-25 00:18:58 +0000 (Fri, 25 Sep 2009)
Log Message: ----------- [#2826571] removed obsolete parameter nofollow_redirects. Patch by AndreasJS
Modified Paths: -------------- trunk/pywikipedia/replace.py
Modified: trunk/pywikipedia/replace.py =================================================================== --- trunk/pywikipedia/replace.py 2009-09-25 00:10:15 UTC (rev 7308) +++ trunk/pywikipedia/replace.py 2009-09-25 00:18:58 UTC (rev 7309) @@ -386,7 +386,7 @@ new_text = newest_text newest_text = self.doReplacements(new_text) if hasattr(self, "addedCat"): - cats = page.categories(nofollow_redirects=True) + cats = page.categories() if self.addedCat not in cats: cats.append(self.addedCat) new_text = wikipedia.replaceCategoryLinks(new_text,
pywikipedia-svn@lists.wikimedia.org