Wikimedia Language engineering/Reports/2016/May

Monthly updates from the Wikimedia Language team focused on technical development.

Content Translation
Content Translation allows people to translate Wikipedia articles. Also check out out the newsletter.

About 10 patches were merged this month.


 * Amir Aharoni fixed a bug where users were incorrectly suggested to translate user pages.
 * Gergő Tisza updates browser testing libraries.
 * Kunal Mehta updated mediawiki-codesniffer to latest versions.
 * Santhosh Thottingal made MT engine labels customizable.
 * Niklas Laxström improved the parallel corpora dump generation script.
 * Niklas Laxström submitted code maintenance patches to avoid using deprecated code and to avoid unsafe unescaped messages.

Translate
Translate extension allows translation of software interface, manuals, announcements, banners etc. on Wikimedia special projects, translatewiki.net and other sites. Translate is part of MLEB.

In this month 30 patches were merged.


 * Aaron Schulz submitted one performance/stability patch.
 * Kunal Grover's patch to update translation pages upon deletion of translation units was merged with the help of Glaisher
 * Jon Robson and Niklas Laxström submitted CSS related code maintenance patches in preparation of making Special:Translate available for mobile devices.
 * David Causse submitted patches to make translation memory and translation memory work with new Elastic Search version.
 * Pratik Lahoti's patch to improve the user interface of Special:PageMigration was merged with help of Federico Leva.
 * Niklas Laxström submitted code maintenance patches to adjust to changes in other software components.
 * Kunal Mehta submitted code maintenance patch to avoid using deprecated features of MediaWiki core.
 * Glaisher added a long request feature to have summary field on Special:Translate.
 * Glaisher continued his work from last month and submitted many patches to fix bugs and improve stability of the page translation feature.
 * Glaisher added a log subtype selector for the page translation log on Special:Log.
 * Glaisher submitted code maintenance patches to improve performance of Special:PageTranslation and to avoid using deprecated features of MediaWiki core.
 * Glaisher submitted a patch to avoid false warnings about bad translation in Special:Translate when the source text contained discouraged html or had smileys.

Usage data

 * Translatable pages: Meta 2840 (+50) ; MediaWiki.org 3016 (+25) ; Commons 456 (+11)
 * Translate extension is installed on 210 wikis (-5) Wikiapiary

Universal Language Selector
Universal Language Selector provides language choose, input methods and web fonts. It is part of MLEB.

About 50 patches were merged this month.


 * Niklas Laxström and Santhosh Thottingal updated jquery.uls, jquery.ime, jquery.i18n and jquery.webfonts upstream libraries.
 * Niklas Laxström updated the scripts used to update upstream libraries.
 * Kunal Mehta updated mediawiki-codesniffer to latest versions.
 * Gergő Tisza updated browser testing libraries.
 * Ed Sanders submitted code maintenance patches including the introduction of stylelint to make CSS and LESS code more consistent.
 * Santhosh Thottingal added support for WOFF2 format for web fonts. Niklas Laxström dropped support for EOT and SVG formats.
 * Niklas Laxström created a script to generate font testing page to make verifying updates easier.
 * Niklas Laxström updated font repository to be compatible with the new static file caching infrastructure used at Wikimedia.
 * Niklas Laxström submitted patches to improve the suggested language selection of compact language links feature.
 * Niklas Laxström submitted over a dozen of code maintenance patches, mostly focusing on CSS cleanups.
 * Santhosh Thottingal added new configuration variables to control which users have compact language links.
 * Santhosh Thottingal submitted many code maintenance patches, mostly focusing on improving the performance of compact language links.

Other extensions
cldr (Common Locale Data Repository) (part of MLEB):
 * Niklas Laxström and Kunal Mehta updated mediawiki-codesniffer to latest versions.

Babel (part of MLEB):
 * Niklas Laxström and Kunal Mehta updated mediawiki-codesniffer to latest versions.
 * Brad Jorsch added code to make this extension use User::newSystemUser when available.
 * Thiemo Mättig fixed a bug where PHPUnit tests were not run automatically.
 * Ricordisamoa submitted one code maintenance patch and two refactoring patches to make the code more reusable.

TranslationNotifications:
 * Niklas Laxström and Kunal Mehta updated mediawiki-codesniffer to latest versions.
 * Glaisher submitted three code maintenance patches and improved the performance of Special:NotifyTranslators.

CleanChanges (part of MLEB):
 * Niklas Laxström and Kunal Mehta updated mediawiki-codesniffer to latest versions.

LocalisationUpdate (part of MLEB):
 * Niklas Laxström and Kunal Mehta updated mediawiki-codesniffer to latest versions.

MLEB
No MediaWiki Language Extension Bundle was released this month. Next release is expected in July.

Project Milkshake
Project Milkshake consists of four re-usable jquery internationalization libraries.

jquery.i18n
 * No changes apart from translation updates.

jquery.uls
 * ricordisamoa submitted a code maintenance patch.
 * Santhosh Thottingal submitted many code maintenance patches, focusing on removing unused code.
 * Santhosh Thottingal fixed the "You might be interested in these languages" feature.
 * Kartik Mistry submitted a code maintenance patch.
 * Niklas Laxström submitted a code maintenance patch for CSS.

jquery.webfonts
 * Niklas Laxström removed the font versioning used for cache busting.

jquery.ime
 * Santhosh Thottingal removed the undocumented Ctrl+Enter shortcut.
 * NehalDaveND submitted a patch to update a name of an input method.

translatewiki.net

 * Raimond Spekking registered 2 new MediaWiki extensions (Cognate, RevisionSlider) and 3 new skins (Refreshed, MediaWiki Strapping, Custom Page) and made changes to many others.
 * Niklas Laxström enabled HTTP2 support.
 * Niklas Laxström reduced the threshold of messages that need to be translated to have languages included in MediaWiki core to 13% from 18%.
 * Siebrand Mazeland continued the work of migrating more projects to RepoNG while adding new features to RepoNG.
 * Siebrand Mazeland registered Wikidata Query GUI project.
 * Amir Aharoni submitted maintenance patches to project configuration.
 * Niklas Laxström submitted maintenance patches related to server configuration.
 * There were no incidents reducing the availability of the website.

See also translatewiki.net news page.

Stats

 * About 80 (+15) new users
 * About 345 (+20) translators made about 37.000 (+9.000) edits
 * About 100 (+10) translators reviewed about 9.700 (+1.700) translations

Sources:     

TwnMainPage
This MediaWiki extension provides the translatewiki.net main page.


 * Niklas Laxström and Kunal Mehta updated mediawiki-codesniffer to latest versions.
 * Gergő Tisza updated browser testing libraries.
 * Niklas Laxström submitted one code maintenance patch related to CSS.

Cross team work/requirements

 * Timo Tijhof from Performance did an excellent performance review of compact language links feature that helped us to address the performance issue.
 * David Causse from Discovery lead the work on making TTMServer compatible with the ongoing ElasticSearch update.
 * The work started by Jon Robson from Reading to make Special:Translate available on mobile devices continued this month.