Page MenuHomePhabricator

Enable all possible language pairs in cxserver, apply wiki specific configuration in the wiki
Closed, ResolvedPublic

Description

Currently cxserver has MT enable/disable configuration. For example, cxserver disabled MT for English target language to disable MT to en.wikipedia. The side effect is, the MT APIs of cxserver unnecessary impose this restrictions on API users.

Proposal: Let cxserver APIs run with its full potential. Disabling MT for english can be done in MW CX extension.

Event Timeline

This would be great. Wiki policies shouldn't limit tool capabilities esp w.r.t. other tools.

Also ml output is extremely useful, even if different communities disagree on what it should be used for. Even strict local policy may want it available/visible to experienced editors + tool users for some purposes. So leaving config options directly in the hands of wiki admins seems fitting.

Petar.petkovic renamed this task from Enable all possible language pairs in cxserver, apply wiki specific confguration in the wiki to Enable all possible language pairs in cxserver, apply wiki specific configuration in the wiki.Sep 19 2019, 8:15 AM
Petar.petkovic updated the task description. (Show Details)

Change 538860 had a related patch set uploaded (by Santhosh; owner: Santhosh):
[mediawiki/services/cxserver@master] Open up all available language pairs for MT api

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

Change 538861 had a related patch set uploaded (by Santhosh; owner: Santhosh):
[mediawiki/extensions/ContentTranslation@master] Add configuration to disable MT services for a wiki

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

Change 538867 had a related patch set uploaded (by KartikMistry; owner: KartikMistry):
[operations/mediawiki-config@master] Use ContentTranslationEnableMT to disable MT

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

Change 538861 merged by jenkins-bot:
[mediawiki/extensions/ContentTranslation@master] Add configuration to disable MT services for a wiki

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

Change 538860 merged by jenkins-bot:
[mediawiki/services/cxserver@master] Open up all available language pairs for MT api

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

Change 540533 had a related patch set uploaded (by KartikMistry; owner: KartikMistry):
[operations/deployment-charts@master] Update cxserver to 2019-10-03-054958-production

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

Change 538867 merged by KartikMistry:
[operations/mediawiki-config@master] Use ContentTranslationEnableMT to disable MT

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

Mentioned in SAL (#wikimedia-operations) [2019-10-14T11:09:14Z] <kartik@deploy1001> Synchronized wmf-config/InitialiseSettings.php: SWAT: [[gerrit|538867|Use ContentTranslationEnableMT to disable MT (T232986)]] (duration: 00m 51s)

Change 540533 merged by jenkins-bot:
[operations/deployment-charts@master] Update cxserver to 2019-10-03-054958-production

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

Mentioned in SAL (#wikimedia-operations) [2019-10-14T11:27:51Z] <kart_> Update cxserver to 2019-10-03-054958-production (T232986)

@santhosh why does Google not show here

image.png (612×812 px, 107 KB)
if it is available here https://cxserver.wikimedia.org/v2/list/mt/es/en?

Should this doc page be working correctly?
Right now it doesn't seem like it, the contents comes empty from the response.

image.png (757×911 px, 155 KB)

@santhosh why does Google not show here

image.png (612×812 px, 107 KB)
if it is available here https://cxserver.wikimedia.org/v2/list/mt/es/en?

Google need api keys and restricted only with some authentication. It is not a free service to expose here.

Should this doc page be working correctly?

Wrap it with some html tags like div or p

Right now it doesn't seem like it, the contents comes empty from the response.

image.png (757×911 px, 155 KB)