http://www.mediawiki.org/wiki/Special:Code/pywikipedia/8953
Revision: 8953 Author: russblau Date: 2011-02-15 11:53:07 +0000 (Tue, 15 Feb 2011) Log Message: ----------- Capitalization error.
Modified Paths: -------------- branches/rewrite/scripts/category_redirect.py
Modified: branches/rewrite/scripts/category_redirect.py =================================================================== --- branches/rewrite/scripts/category_redirect.py 2011-02-14 16:49:55 UTC (rev 8952) +++ branches/rewrite/scripts/category_redirect.py 2011-02-15 11:53:07 UTC (rev 8953) @@ -218,7 +218,7 @@
""" oldtext = article.get(get_redirect=True, force=True) - if newCat in article.categories() or newcat == article: + if newCat in article.categories() or newCat == article: newtext = pywikibot.replaceCategoryInPlace(oldtext, oldCat, None, site=self.site) else:
pywikipedia-svn@lists.wikimedia.org