http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10408
Revision: 10408 Author: xqt Date: 2012-06-21 22:52:43 +0000 (Thu, 21 Jun 2012) Log Message: ----------- use pywikibot.log for verbose_output
Modified Paths: -------------- branches/rewrite/pywikibot/page.py
Modified: branches/rewrite/pywikibot/page.py =================================================================== --- branches/rewrite/pywikibot/page.py 2012-06-21 22:51:37 UTC (rev 10407) +++ branches/rewrite/pywikibot/page.py 2012-06-21 22:52:43 UTC (rev 10408) @@ -791,9 +791,8 @@ if not cc: return old = self.text - if config.verbose_output: - pywikibot.output(u'Cosmetic changes for %s-%s enabled.' - % (family, self.site.lang)) + pywikibot.log(u'Cosmetic changes for %s-%s enabled.' + % (family, self.site.lang)) from scripts.cosmetic_changes import CosmeticChangesToolkit from pywikibot import i18n ccToolkit = CosmeticChangesToolkit(self.site,