https://bugzilla.wikimedia.org/show_bug.cgi?id=70596
Bug ID: 70596 Summary: casechecker i18n coding error Product: Pywikibot Version: compat (1.0) Hardware: All OS: All Status: NEW Severity: major Priority: Unprioritized Component: Other scripts Assignee: Pywikipedia-bugs@lists.wikimedia.org Reporter: jayvdb@gmail.com Web browser: --- Mobile Platform: ---
Bug 55022 added casechecker.py to the i18n repo.
In new line 406
http://git.wikimedia.org/blobdiff/pywikibot%2Fcompat.git/d5a3b0349e0264a298d...
pywikibot.translate is replaced with i18n.twtranslate, but the parameters were not completely changed. It now calls twtranslate with four parameters, however twtranslate only supports three parameters
newText = i18n.twtranslate( self.site, "casechecker-delete-reason", redirTitle, fallback=False)
i18n.py:
def twtranslate(code, twtitle, parameters=None):