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: [email protected]
          Reporter: [email protected]
       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/d5a3b0349e0264a298d909d03455283f3f154fb2/casechecker.py

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):

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to