Wikimedia Language engineering/Reports/2017/June

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.

Content Translation
Content Translation allows people to translate Wikipedia articles. Also check out out the newsletter.
 * Santhosh Thottingal removed the code that was accessing cx_drafts table. This was CX's old translation draft table now unused. Notified translators by tech news about the old data removal
 * Santhosh Thottingal fixed a bug in template adaptation that was preventing translation of certain infoboxes T169030
 * Santhosh Thottingal implemented the save and retry mechanism for CX2
 * Santhosh Thottingal rewrote the CX2 initialization code for better error handling and parallel loading
 * Santhosh Thottingal added option for having per user group publishing namespace.(T166854)
 * Niklas Laxström improved the machine translation for links in fresh translation and restored translation contexts in CX2
 * Niklas Laxström and Santhosh Thottingal did various code refactoring and polishing for the CX2 code framework
 * Brad Jorsch split API description messages into summary and additional text
 * Kunal Mehta updated mediawiki codesniffer version to 0.9.0
 * Niklas Laxström fixed an issue in template adaptation related to jQuery 3 migration
 * Petar Petkovic improved the styling of tools cards in CX2
 * Santhosh Thottingal removed usage of data-seqid attribute in CX. Corresponding code change was done in cxserver as well
 * Fomafix replaced deprecated jQuery.isArray by Array.isArray in CX codebase
 * Petar Petkovic adjusted the layout of translation list items in CX dashboard. The position featured tag in translaton suggestions moved near to the title. The icons for actions in suggested items improved.

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.

Usage data

 * Translatable pages: Meta 3811 (+103); MediaWiki.org 3408 (+3); Commons 639 (+6)
 * Translate extension is installed on 219 wikis (+4) Wikiapiary

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


 * Amir Aharoni added to Compact Language Links the ability to show languages that logged-in users specified in the Babel box. T135371
 * This also included the configuration of the Babel extension on over 300 wikis.

Other extensions
Babel (part of MLEB):
 * Kunal Mehta improved user language information cache purging.
 * User Umherirrender updated build files.

cldr (Common Locale Data Repository) (part of MLEB):
 * Kunal Mehta updated PHP code style checker.

CleanChanges (part of MLEB):
 * Kunal Mehta updated PHP code style checker.

LocalisationUpdate (part of MLEB):
 * Sam Reed updated the README file.
 * Kunal Mehta updated PHP code style checker.

TranslationNotifications:
 * James Forrester replaced the jshint code style checked with jscs and eslint.
 * User Umherirrender updated coding style in the special page aliases file.

MLEB
No MLEB was released in this month. Next release is planned for July.

MediaWiki core internationalization
Changes to translations and equivalent localisation data (magic words, namespace names) are not included in this list. The volunteer translators are updating translations every day to keep up with changes.


 * Brad Jorsch made MediaWiki to always set a shell locale early in the startup, for consistent behavior. T107128
 * Amir Sarabadani added a new PHP interface  that is more specific than  . It allows writing code with less dependencies. T162594
 * User Fomafix fixed a bug that caused our special purpose language codes to appear as selectable languages in the installer.
 * User Chiefwei updated Chinese script conversation data.
 * User Liangent and C. Scott Ananian added a pig latin variant for English to make testing variants easier. T45547
 * Matěj Suchánek made it possible to localise strings like 2× (two times).
 * Brad Jorsch split the API self-documentation description messages into "summary" and "additional text" parts. T166411
 * Brian Wolff fixed an issue with Persian collation that was caused by an update in ICU library. T139110
 * User Sfic made MediaWiki use Devanagari numerals for list items when the language is Maithili. T168781

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

jquery.i18n
 * User ldittmar made a fallback log message more informative.

jquery.uls
 * Amir Aharoni added five African languages and one Asian language to the language database.
 * Amir Aharoni improved the language database by making sure all language autonyms are unique.
 * Niklas Laxström added a reference to code of conduct.

jquery.webfonts
 * No changes.

jquery.ime
 * Amir Aharoni added an input method for the Fula, Wolof language and improved the keyboard for the Dagbani language.
 * Kartik Mistry and Amir Aharoni merged numerous pull requests from volunteers:
 * Kannada language input methods now also work for the Tulu language.
 * Added Tarandine language keyboard by Joetaras.
 * Added Piedmontese language keyboard by GatoSelvadego.
 * Fixes to the Odia transliteration keyboard by Psubhashish.
 * Added the Tulalip input method for the Lushootseed language by jcrowgey.
 * Added Sambhota input method for Tibetan language by Elie Roux.
 * Added a Gothic input method by Bokareis.
 * Added added mm3 input method for the Burmese language by Lionslayer.
 * Added input methods for the Mongolian language by Feilong Huang.
 * Fixes to the Tamil 99 input method for the Tamil language by Balajijagadesh.

translatewiki.net
See also translatewiki.net news page.


 * Raimond Spekking added new MediaWiki extensions and skins for translation, made changes to many and did exports and imports for all MediaWiki.
 * Niklas Laxström continued work on unifying all project exports to one standard.
 * Federico Leva added new project Internet Archive Bot for translation. T166996
 * Jon Robson added new MediaWiki skin Minerva Neue for translation. T166743
 * Amir Aharoni added new language Dagbani (dag) for translation.
 * Federico Leva added around 200 new messages to the MediaWiki most used messages group to avoid confusions why completing this group is not enough to meet the export threshold for MediaWiki core. T166132
 * Amir Aharoni fixed the language autonym for Tsakhur (tkr).
 * Niklas Laxström fixed our self made service files to start services automatically on boot.
 * Niklas Laxström removed project Entryscape from translation.
 * User Umherirrender updated alias file definitions for MediaWiki extensions.

Stats

 * About 85 (+5) new users
 * About 325 (-5) translators made about 42.000 (=) edits
 * About 85 (-5) translators reviewed about 9.500 (-1.000) translations

Sources:     

TwnMainPage

 * Kunal Mehta updated PHP coding style checker.

Cross team work/requirements

 * Working with David Chan on integrating Visual Editor as editing surface for Content Translation v2.

Team status

 * Petar Petković joined the team as a Software Engineering intern.