Wikimedia Language engineering/Reports/2017/April

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

 * MediaWiki now supports the Dinka language.
 * Due to security reasons, it is no longer possible to use in interface messages even if raw HTML is enabled in the wiki.
 * The rewritten version of Content Translation, nicknamed as CX2, starts to take shape with handling of links and integration of machine translation services.
 * ProveIt is the first gadget that can be translated at translatewiki.net

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

About 25 patches were merged this month.


 * Most of the work on Content Translation was on OOJS rewrite and work towards VE.
 * Santhosh Thottingal shortened the label for the button to start a new translation. T160067
 * Santhosh Thottingal added handling of links to rewritten Content Translation. T162126
 * Niklas Laxström added first parts of machine translation integration to rewritten Content Translation. T162110
 * User Fomafix improved code style.
 * Niklas Laxström fixed a possible issue about restoring which would cause non-latest draft to be restored.

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 8 patches were merged in this month.


 * Bartosz Dziewoński fixed positioning of Mark as reviewed tooltip on Special:Translate. T162101
 * Geoffrey Mon refactored the code for insertables (constant string in translations that can be inserted via one press of a button). T152837
 * Niklas Laxström removed a translation quality check about some XHTML constructs because it was no longer relevant. T161213
 * User Umherirrender added automated coding style tests for CSS and LESS files and made current code to adhere to the new rules.
 * David Causse improved compatibility of translation memory with ElasticSearch 5. T163345
 * Thiemo Mättig fixed formatting of an improperly formatted code documentation block.
 * Kartik Mistry updated version number. T162231
 * Niklas Laxström fixed an issue in recent code changes that caused page translation to not work properly with MediaWiki 1.27. T163978

Usage data

 * Translatable pages: Meta 3632 (+167); MediaWiki.org 3378 (+27); Commons 624 (+19)
 * Translate extension is installed on 210 wikis (-1) Wikiapiary

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


 * Kartik Mistry updated upstream library jquery.uls.
 * User Fomafix simplified a piece of code related to resource loading.
 * Bartosz Dziewoński fixed position of ULS language change notification tooltips after a change in a library we use to display them. T161203
 * User Fomafix made the machine generated web font repository file easier to read.
 * Kartik Mistry added a web font for Sundanese. T162221
 * Kartik Mistry updated version number.

Other extensions
Babel (part of MLEB):
 * User Umherirrender improved code style.

cldr (Common Locale Data Repository) (part of MLEB):
 * User Umherirrender improved code style.
 * Sébastien Santoro added French translation for Atikamekw language.

CleanChanges (part of MLEB):
 * User Umherirrender added code style checker for CSS files.
 * Kartik Mistry updated version number.

LocalisationUpdate (part of MLEB):
 * Antoine Musso made this extension to use JavaScript code style checker in a standard way.

TranslationNotifications:
 * No changes.

MLEB
MLEB 2017.04 was released this month.

MediaWiki core internationalization
Changes to translations and equivalent localisation data (magic words, namespace names) are not included in this list. Huge thanks are given to our volunteer translators as well.
 * Brian Wolff made it impossible to use tags in system messages. T156184
 * Eddie Greiner-Petter improved wording and documentation of a few messages appearing in Special:UserRights. T104518
 * S Page and Bahodir Mansurov made links in generated API documentation point to translated pages in mediawiki.org. T104518
 * User Tpt added Unified Canadian Aboriginal Syllabics to the list of special characters included in the editors. T108626
 * Aaron Schulz improved code in MessageCache for clarity.
 * Sam Reed made LocalisationCache to default to database storage backend due to security concerns in the file storage backend. T161453
 * Brian Wolff corrected escaping of content format and content model names in messages. T156184
 * Matěj Suchánek added support for varying by gender in a message used in the subheading of Special:Contributions. T130960
 * MediaWiki now supports Dinka language. T163600
 * Eugene Gvozdetsky expanded the grammatical transformation rules for Ukrainian language.

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

jquery.i18n
 * No changes.

jquery.uls
 * No changes.

jquery.webfonts
 * No changes.

jquery.ime
 * Amir Aharoni added the Akan (ak) keyboard also for Twi (tw).
 * Amir Aharoni and Felix Nartey added keyboard for Ga (gaa).
 * Amir Aharoni fixed the name of the Arabic (ar) keyboard.

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.
 * Stephen Niedzielski updated settings for Wikipedia Android app. T156405
 * User Sophivorus added ProveIt gadget for translation. T149177
 * Geoffrey Mon updated project settings to use new, improved insertables. T152837
 * There was a small outage due to denial of service. This was resolved by enabling the "miser mode".

Stats

 * About 65 (-20) new users
 * About 330 (-20) translators made about 30.000 (-5.000) edits
 * About 95 (+5) translators reviewed about 9.000 (=) translations

Sources:     

TwnMainPage

 * No changes.

Deployments and other site related updates

 * Content Translation was disabled for about a week in all Wikipedias after it caused a partial outage that required investigation and fixing. Incident report
 * Kartik Mistry added non-default MT support for Azerbaijani.
 * Kartik Mistry added default MT to Chinese. T162019
 * Kartik Mistry removed 'source-mt' from default from some language pairs. T162344
 * Marko Obrovac updated cxserver to use service-runner version v2.2.5.

Cross team work/requirements

 * No updates.

Team status

 * No updates.