Revision: 8635 Author: xqt Date: 2010-10-09 23:22:42 +0000 (Sat, 09 Oct 2010)
Log Message: ----------- hi-wiki blocking only in autonomous mode
Modified Paths: -------------- trunk/pywikipedia/interwiki.py
Modified: trunk/pywikipedia/interwiki.py =================================================================== --- trunk/pywikipedia/interwiki.py 2010-10-09 23:07:30 UTC (rev 8634) +++ trunk/pywikipedia/interwiki.py 2010-10-09 23:22:42 UTC (rev 8635) @@ -1962,7 +1962,7 @@ while True: try: if globalvar.async: - page.put_async(newtext, comment = mcomment) + page.put_async(newtext, comment=mcomment) status = 302 else: status, reason, data = page.put(newtext, comment=mcomment) @@ -2315,6 +2315,8 @@ fmt = lambda d, site: site.lang
head, add, rem, mod = pywikibot.translate(insite.lang, msg) + if insite.lang=='de' and not globalvar.autonomous: + head = u'Halbautomatischer %s' % head #prevents abuse filter blocking for hi-wiki
colon = u': ' comma = u', '
pywikipedia-svn@lists.wikimedia.org