Content translation/Deployments/Done

Deployments
This page tracks deployments of Content Translation software as Beta Features to the Wikimedia Foundation servers that host the various Wikimedia project wikis.

Upcoming

 * See: https://www.mediawiki.org/wiki/Content_translation/Deployment_Plan#Upcoming_deployment

Thursday, 30 April 2015

 * Content Translation:
 * wmf3: Updated from ffdd3e0 to 53ab07e
 * wmf4: Updated from ffdd3e0 to 53ab07e


 * Config:
 * Deployment of new languages: Akan (ak), Bambara (bm), Chichewa (ny), Ewe (ee), Fula (ff), Kikuyu (ki), Kirundi (rn), Kongo (kg), Luganda (lg), Oromo (om), Sango (sg), Sesotho (st), Swati (ss), Tigrinya (ti), Tsonga (ts), Tswana (tn), Tumbuka (tum), Twi (tw), Venda (ve) (T97540)

Tuesday, 28 April 2015

 * Config:
 * Enable Content Translation extension in Czech (cs), Greek (el), Kazakh (kk) and Zulu (zu). (T96486, T96073, T93190 T95844)


 * Content Translation:
 * Update ContentTranslation to ffdd3e0
 * Cherry picked change https://gerrit.wikimedia.org/r/#/c/204522/ was removed from 1.26wmf2 branch as it was later integrated into master and caused conflict.


 * Puppet:
 * Add cs, el, kk and zu in source and target languages

Friday, 24 April 2015

 * Puppet:
 * Add ceb, it and war in source languages (T97114)

Thursday, 23 April 2015

 * Content Translation:
 * Updated Content Translation to 6890bce
 * Manual rebase needed because of cherry-pick in branches during last deployment.

Tuesday, 21 April 2015

 * Config:
 * Enable Content Translation in an, ast, ba, cv, eu, gl, koi, kv, lez, oc, sah, simple, tt, tyv, udm, xh and zu (T95842, T95844, T95845 T95536)
 * 'newarticle' campaign is disabled for ba, cv, koi, kv, lez, oc, sah, tt, tyv, udm till we get translations.

Thursday, 16 April 2015

 * Content Translation:
 * wmf/1.26wmf1: Updated Content Translation to c044de4
 * wmf/1.26wmf2: Updated Content Translation to 15e5159

Thursday, 09 April 2015

 * Config:
 * 202021: Enable "new article by translation" campaign for all wikis where cx deployed


 * Content Translation:
 * Update Content Translation to 203079


 * cxserver:
 * Update cxserver to 640bcdf


 * Puppet:
 * Swedish (sv) in target, simple in source and enable sv-da pair in Apertium MT

Monday, 06 April 2015

 * Config:
 * 201666: Enable Content Translation in guwiki and viwiki


 * Puppet:
 * 201667: Add 'gu' and 'vi' in language selector for CX

Friday, 03 April 2015

 * Content Translation:
 * [wmf23, wmf24] Updated Content Translation to cherry pick '225d011'
 * Undefined index: "cx" in ContentTranslation hooks: https://phabricator.wikimedia.org/T94898

Thursday, 02 April 2015

 * Config:
 * 197491 CX: Enable 'newarticle' campaign in cawiki


 * Core:
 * [wmf23] 201131 Made user preferences load from the master by default (blocker for 197491)


 * Content Translation:
 * [wmf23, wmf24] Update Content Translation to efd7bfb

Tuesday, 31 March 2015

 * Config:
 * 200531 Enable ContentTranslation in bg, fr, mk, sh and sl

Thursday, 26 March 2015

 * Config:
 * Enable ContentTranslation in knwiki and ukwiki

Tuesday, 24 March 2015

 * Content Translation:
 * [wmf21]: 199197 Stats: Remove wrong group by from stats query
 * [wmf22]: 199198 Stats: Remove wrong group by from stats query

Thursday, 19 March 2015

 * Content Translation:
 * Update Content Translation to master in wmf20, wmf21.
 * Run scripts/fix-stats.php after deployment of CX.

Thursday, 12 March 2015

 * Content Translation:
 * Updated Content Translation to 384a419 in wmf20, wmf21.

Thursday, 05 March 2015

 * Config:
 * 193835 Publish translations to the Main namespace by default
 * 193775 Enable Content Translation in kywiki and pawiki


 * Puppet:
 * CX: Enable pa and ky in target.


 * Content Translation:
 * Update Content Translation to 8c40c7a in wmf19
 * Updating wmf20 was abandoned due to wmf20 wasn't created in core.


 * cxserver:
 * Update cxserver to 2695a31.

Wednesday, 04 March 2015

 * Config:
 * 194265 Beta: CX: Add wgContentTranslationCampaigns

Thursday, Feb 26 2015

 * Config:
 * Enable CX on minwiki (Main) and uzwiki (User): https://gerrit.wikimedia.org/r/#/c/192764


 * Puppet:
 * CX: Enable ru in source, min and uz in target wikis: https://gerrit.wikimedia.org/r/192769


 * cxserver:
 * Update cxserver to 4e09ee8


 * Content Translation:
 * Update CX to 8693bce

Thursday, Feb 19 2015

 * Puppet:
 * Update Production config for compact configuration of language pairs: https://gerrit.wikimedia.org/r/#/c/190990
 * Beta: Enabled en-uz, ru-uz and en-min, id-min language pairs.


 * cxserver:
 * Update cxserver from 84ad472 to 395be27:
 * compact configuration of language pairs (and fix for Dictionary array).
 * Japanese and Chinese segmentations.


 * Content Translation:
 * Update Content Translation to 45894c0

Wednesday, Feb 18 2015

 * Config:
 * Fix Parsoid on Beta: https://gerrit.wikimedia.org/r/#/c/190776
 * Beta: Update $wgContentTranslationSiteTemplates: https://gerrit.wikimedia.org/r/#/c/191264


 * Puppet:
 * Yandex support in Beta: https://gerrit.wikimedia.org/r/#/c/186538


 * Content Translation:
 * Updated Content Translation to wmf17: https://www.mediawiki.org/wiki/MediaWiki_1.25/wmf17#ContentTranslation

Tuesday, Feb 17 2015

 * Config:
 * REST API version number: https://gerrit.wikimedia.org/r/#/c/190218
 * Publish articles to main namespace for idwiki, ptwiki: https://gerrit.wikimedia.org/r/#/c/190450


 * Puppet:
 * Beta: Compact registry configuration.

Wednesday, Feb 11 2015

 * cxserver:
 * Update from a3c21d2 to 84ad472


 * Content Translation:
 * Updated to 0aac824

Monday, Feb 02 2015

 * Config:
 * Enable publishing to Main namespace for cawiki: https://gerrit.wikimedia.org/r/#q,186358

Wednesday, Jan 21 2015

 * Content Translation:
 * Update ContentTranslation to 9486567: https://gerrit.wikimedia.org/r/#/c/185987

Wednesday, Jan 14 2015

 * cxserver:
 * Updated to a3c21d2


 * Content Translation:
 * Initial deployment as Beta Features

ContentTranslation

 * 1) Update desired branches to desired commit/update using delete and create branches at Gerrit interface, https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/extensions/ContentTranslation,branches In case of emergency, note down old hash.
 * 2) Read and follow: https://wikitech.wikimedia.org/wiki/How_to_deploy_code#Updating_the_submodule Make sure you've clean copy of MediaWiki/core for this.
 * 3) You're ready for actual deployment.

config

 * 1) Submit patch for cxserver configuration for Production and Beta Cluster. Usually, we need to change
 * 2) To only change languages in Beta:
 * 3) To only change languages in Production:
 * 4) Ask to Alex/Tech Ops to merge this change. It will affect immediately (with next Puppet sync).

Troubleshooting

 * 1) Test your config.js/yaml changes in Beta Cluster first before deployment in Production.
 * 2) Check if cxserver restart is needed?
 * 3) Ask in #wikimedia-operations

code
cxserver code is handled via updating cxserver/deploy repository. It follows non-MediaWiki deployment procedure described at Trebuchet

cxserver

 * 1) Stop if you get new errors not described here!
 * 2) During cxserver code deployment, trying: retry (r), details (d) and yes (y) should fix race conditions occurring during git deploy.
 * 3) Deployment should also restart cxserver on sca1001 and sca1002 hosts to make changes in effect, but in some cases if it doesn't, follow the steps given below:

Apertium service

 * 1) Check if package list are up-to-date in Puppet.
 * 2) Make sure to ask to restart 'apertium-apy' on sca1001 and sca1002 to any Ops member after adding new languages support for Apertium MT.