When there is no MT between language pair, CX throws console error above.
URL to test: http://cx2.wmflabs.org/index.php/Special:ContentTranslation?page=Fair+use&from=en&to=gu&targettitle=Fair+use
When there is no MT between language pair, CX throws console error above.
URL to test: http://cx2.wmflabs.org/index.php/Special:ContentTranslation?page=Fair+use&from=en&to=gu&targettitle=Fair+use
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Fix JS error in MT Card | mediawiki/extensions/ContentTranslation | master | +1 -1 |
The line of code:
if ( MTControlCard.providers.indexOf( translationPreference ) < 0 &&
I think it is introduced in wednesday: https://gerrit.wikimedia.org/r/#/c/275365/
Change 280166 had a related patch set uploaded (by Santhosh):
Fix JS error in MT Card