http://www.mediawiki.org/wiki/Special:Code/pywikipedia/9061
Revision: 9061 Author: xqt Date: 2011-03-13 14:16:27 +0000 (Sun, 13 Mar 2011) Log Message: ----------- stripped trailing whitespace
Modified Paths: -------------- branches/rewrite/scripts/clean_sandbox.py branches/rewrite/scripts/solve_disambiguation.py
Modified: branches/rewrite/scripts/clean_sandbox.py =================================================================== --- branches/rewrite/scripts/clean_sandbox.py 2011-03-13 14:10:11 UTC (rev 9060) +++ branches/rewrite/scripts/clean_sandbox.py 2011-03-13 14:16:27 UTC (rev 9061) @@ -169,7 +169,7 @@ pywikibot.output(u'The sandbox might be clean, no change necessary.') elif text.find(translatedContent.strip()) <> 0 and not subst: sandboxPage.put(translatedContent, translatedMsg) - pywikibot.showDiff(text, translatedContent) + pywikibot.showDiff(text, translatedContent) pywikibot.output(u'Standard content was changed, sandbox cleaned.') else: edit_delta = datetime.datetime.utcnow() - \
Modified: branches/rewrite/scripts/solve_disambiguation.py =================================================================== --- branches/rewrite/scripts/solve_disambiguation.py 2011-03-13 14:10:11 UTC (rev 9060) +++ branches/rewrite/scripts/solve_disambiguation.py 2011-03-13 14:16:27 UTC (rev 9061) @@ -934,7 +934,7 @@ elif disambPage.isRedirectPage(): # when working on redirects, there's another summary message if unlink and not new_targets: - self.comment = i18n.twtranslate(self.mysite, + self.comment = i18n.twtranslate(self.mysite, 'solve_disambiguation-redirect-removed', {'from': disambPage.title()}) elif dn and not new_targets:
pywikipedia-svn@lists.wikimedia.org