Last modified: 2014-09-20 12:48:43 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T72596, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70596 - casechecker i18n coding error
casechecker i18n coding error
Status: RESOLVED FIXED
Product: Pywikibot
Classification: Unclassified
Other scripts (Other open bugs)
unspecified
All All
: Normal major
: ---
Assigned To: xqt
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-09 02:07 UTC by John Mark Vandenberg
Modified: 2014-09-20 12:48 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description John Mark Vandenberg 2014-09-09 02:07:37 UTC
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):
Comment 1 Gerrit Notification Bot 2014-09-10 12:22:18 UTC
Change 159471 had a related patch set uploaded by Xqt:
(bug 70596) fix i18n.twtranslate call

https://gerrit.wikimedia.org/r/159471
Comment 2 Gerrit Notification Bot 2014-09-10 12:26:38 UTC
Change 159472 had a related patch set uploaded by Xqt:
(bug 70596) fix i18n.twtranslate call

https://gerrit.wikimedia.org/r/159472
Comment 3 Gerrit Notification Bot 2014-09-10 15:05:34 UTC
Change 159472 merged by jenkins-bot:
(bug 70596) fix i18n.twtranslate call

https://gerrit.wikimedia.org/r/159472
Comment 4 Gerrit Notification Bot 2014-09-20 12:46:27 UTC
Change 159471 merged by jenkins-bot:
(bug 70596) fix i18n.twtranslate call

https://gerrit.wikimedia.org/r/159471

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links