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

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

Troubleshooting

 * 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 sca hosts to make changes in effect, but in some cases if it doesn't, follow the steps given below: