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):
https://bugzilla.wikimedia.org/show_bug.cgi?id=70596
--- Comment #1 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 159471 had a related patch set uploaded by Xqt: (bug 70596) fix i18n.twtranslate call
https://gerrit.wikimedia.org/r/159471
https://bugzilla.wikimedia.org/show_bug.cgi?id=70596
Gerrit Notification Bot gerritadmin@wikimedia.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |PATCH_TO_REVIEW
https://bugzilla.wikimedia.org/show_bug.cgi?id=70596
--- Comment #2 from Gerrit Notification Bot gerritadmin@wikimedia.org --- Change 159472 had a related patch set uploaded by Xqt: (bug 70596) fix i18n.twtranslate call
https://gerrit.wikimedia.org/r/159472
https://bugzilla.wikimedia.org/show_bug.cgi?id=70596
xqt info@gno.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|Unprioritized |Normal Version|compat (1.0) |unspecified Assignee|Pywikipedia-bugs@lists.wiki |info@gno.de |media.org |
pywikipedia-bugs@lists.wikimedia.org