Wikimedia Language engineering/Reports/2017/February

Monthly updates from the Wikimedia Language team focused on technical development of the software they maintain. Names of people assumed to contribute as volunteers are in bold text.

Highlights
Translatewiki.net servers were upgrades to Ubuntu 16.04. Special:ImportTranslations was fixed so that it actually imports translations. Site defined priority languages were briefly broken and not used when selecting short list of languages for compact language links – this issue was fixed. Continue reading for more updates.

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

About 50 patches were merged this month.


 * Santhosh Thottingal worked on converting translation view to OOUI. T152586
 * David Sn fixed handling of links with article names with spaces to avoid unnecessary redirects. T147625
 * Kartik Mistry added stylelint CSS linting tool and made the code pass. T155669
 * Niklas Laxström improved handling of a case when saved draft translations fails to load. T146450
 * Eddie Greiner-Petter adjusted page background colors to align with Wikimedia colors. T158401
 * Nathaniel Schaaf added event logging for translation suggestions. T156522
 * Niklas Laxström replaced the usage of deprecated  token with   token.
 * Niklas Laxström improved date manipulation code to take timezones into account. This affects the Special:CXStats statistics page. T158186.
 * Volker Eckl aligned the contributions dropdown menu to use a layout that follows Wikimedia style guide. T157217

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.

About 10 patches were merged in this month.


 * Federico Leva fixed Special:ImportTranslations to actually import new translations. T151585
 * Niklas Laxström implemented a mechanism to that allows skipping skipping updates to localisation files that only contain metadata updates, such as time of export.
 * David Causse added support to translation memory and search for using multiple datacenters. T132076
 * David Causse made it possible to set the internal name of the default translation memory and search service.
 * Niklas Laxström corrected escaping of one interface message.
 * Christoph Jauera replaced some deprecated function calls.
 * David Causse made it possible to freeze writes to translation memory and search backend. T132315
 * David Causse added support to translation memory and search for ElasticSearch 5. T158070
 * Kosson removed unused constructor parameters in Job classes. T158737

Usage data

 * Translatable pages: Meta 3367 (+45) ; MediaWiki.org 3326 (+39) ; Commons 596 (+11)
 * Translate extension is installed on 211 wikis (-4) Wikiapiary

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


 * Niklas Laxström fixed an issues that caused site defined priority languages not to be used for compact language links.
 * Fomafix improved the code to avoid flash during page rendering. Second patch of two was merged in January.
 * Amir Aharoni and Kartik Mistry updated included libraries jquery.ime and jquery.uls from upstream.
 * Niklas Laxström added a link to compact language links info page from the user preference. T157344
 * James Forrester updated code linting tools.
 * Huji Lee fixed an issue that caused words to run together in some languages when selecting an input method. T152460
 * Amir Aharoni added a maintenance script to disable compact language links preference for active users. T133031
 * Niklas Laxström updated QUnit tests for modern standards.

Other extensions
Babel (part of MLEB):
 * This, that and the other fixed an issue when babel magic word was used on category or file pages. T36507

cldr (Common Locale Data Repository) (part of MLEB):
 * Raimond Spekking added German names for languages not in CLDR.

CleanChanges (part of MLEB):
 * No changes.

LocalisationUpdate (part of MLEB):
 * No changes.

TranslationNotifications:
 * Marco Aurelio changed the name of a log to be consistent with other logs.

MLEB
No MLEB was released this month. Last release was 2017.01. Next release is planned for 2017.04.

MediaWiki core internationalization

 * Marco Aurelio updated namespace translations for Javanese. T155957
 * Aaron Schulz fixed race conditions in . T144952
 * Chiefwei updated Chinese conversion tables.
 * Marco Aurelio updated category namespace translations for Extremaduran. T157846
 * Federico Leva added French as language fallback for Breton, Nouormand and Occitan.
 * Roan Kattouw and Timo Tijhof fixed a JavaScript error for languages which have disabled localised digits. T152800
 * Federico Leva added reciprocal fallback between Catalan and Occitan.
 * Toni Hermoso Pulido added translation for magic word  in Catalan.
 * Purodha Blissenbach added support for gender for interface message . T141250
 * Matěj Suchánek added additional special page translations for Czech.

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

jquery.i18n
 * No changes.

jquery.uls
 * Federico Leva updated language territory information to latest CLDR version.

jquery.webfonts
 * No changes.

jquery.ime
 * John Erling Blad made a significant fixes and additions to documentation.
 * fgaim added new input methods for Eritrean languages Tigrinya, Tigre and Blin.

translatewiki.net
See also translatewiki.net news page.


 * Raimond Spekking added many MediaWiki extensions and skins for translation, and made changes to others.
 * Niklas Laxström disabled  for HHVM, as it was causing frequent crashes, and updated HHVM to latest stable version.
 * Siebrand Mazeland and Niklas Laxström updated translatewiki.net servers to Ubuntu 16.04. Some services were converted to use systemd over local hacks, making them run more reliably.
 * This, that and the other removed BoilerPlate MediaWiki extension from translation. T156569
 * Robert Vogel added BlueSpiceExtendedFilelist MediaWiki extension for translation.
 * Pikne added TimedText module of Timed Media Handler for translation.
 * Siebrand Mazeland updated list of untranslatable messages for Blockly.
 * Antoine Musso converted translatewiki repository to run puppet coding style checks using rake configured within the repository. T158544
 * Sam Wilson added IA Upload for translation. T158522
 * Niklas Laxström fixed a bug that caused English file to be updated on export for Commons Android app.
 * John Erling Blad added Pickle MediaWiki extensions for translation. T158189

Stats

 * About 85 (=) new users
 * About 340 (-35) translators made about 41.000 (+3.000) edits
 * About 100 (+3) translators reviewed about 9.000 (-500) translations

Sources:     

TwnMainPage

 * Niklas Laxström fixed the sign-up form which was broken in Chrome.

Deployments and other site related updates

 * Kartik Mistry added better logging support for Apertium MT failures.
 * MT support for Luxembourgish (lb) was added in ContentTranslation tool.