Wikimedia Language engineering/Reports/2016/November

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.

About 30 patches were merged this month.

Highlight: Better support for templates now. Templates can be edited using a new template editor. See details.


 * Santhosh Thottingal removed tech debt related to jsonp usage.
 * Thiemo Mättig made the dependency on the BetaFeatures extension optional.
 * Sam Reed updated a upstream library.
 * User Fomafix updated code to avoid a potential bug.
 * Niklas Laxström updated default configuration to assume https.
 * Santhosh Thottingal added support for translating templates.
 * Niklas Laxström fixed a interface glitch on the dashboard.
 * Niklas Laxström added configuration variable for handling cookies across wikis. T149879
 * Amir Aharoni fixed a bug in category adaptation. T147279
 * Santhosh Thottingal fixed a bug in the event logging code. T149380
 * Santhosh Thottingal addressed some technical debt by rewriting some code to use OOjs UI. T149163
 * Niklas Laxström did some code cleanups.
 * Brad Jorsch added support for translated WebAPI error messages.
 * Niklas Laxström compressed some images.
 * Niklas Laxström fixed an issue related to plural form processing in Special:CXStats. T151198
 * Volker Eckl updated color scheme to follow Wikimedia's palette. T150731

Usage data
Note: This month the number of translators who made over 20 translation has crossed 1000, so we decided to deprecate it and split it into "number of people who made between 20 and 100 translations" and "number of people who made over 100 translations", and the 5–20 condition is changed to not include 20 translations.

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


 * Erik Moeller deprecated RubyYamlFFS.
 * Niklas Laxström continued the list of small clean-ups to make Special:Translate work better in mobile devices. T146134
 * User MarcoAurelio updated punctuation in some log messages. T150574
 * Niklas Laxström fixed page translation unit tests to actually run.
 * Niklas Laxström updated build tools.
 * Brad Jorsch updated code to support new WebAPI error internationalization.
 * Niklas Laxström changed the place for the translation unit marker when &lt;translate> tags are used to wrap content from one line only. T150188
 * Thiemo Mättig did a couple of code cleanups.
 * Thiemo Mättig added a work around to unit tests that caused failures in other extensions' unit tests. T150512
 * Niklas Laxström moved the Special:PageMigration and Special:PagePreparation files together with rest of files related to page translation.
 * Niklas Laxström fixed a few message escaping issues.

Usage data

 * Translatable pages: Meta 3183 (42) ; MediaWiki.org 3121 (+18) ; Commons 512 (+6)
 * Translate extension is installed on 215 wikis (+3) Wikiapiary

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

About 11 patches were merged this month.


 * Amir Aharoni improved compatibility of compact language links and gadgets. T135378
 * Amir Aharoni fixed a BiDi issue.
 * User Fomafix improved and updated some outdated code.
 * Ed Sanders and James Forrester updated build tools.
 * Brad Jorsch added support for new WebAPI error message i18n.
 * Timo Tijhof removed dependency on removed module.
 * Amir Aharoni updated upstream libraries.

Other extensions
Babel (part of MLEB):
 * Brad Jorsch added support for translated WebAPI error messages.
 * Kunal Mehta fixed a recently introduced incompatibility with MediaWiki 1.27. T151400

cldr (Common Locale Data Repository) (part of MLEB):
 * Sam Reed updated data to CLDR 30.0.2.
 * Thiemo Mättig updated language names for "unknown language" and "multiple languages".
 * User Umherirrender updated repository settings.

CleanChanges (part of MLEB):
 * No changes.

LocalisationUpdate (part of MLEB):
 * No changes.

TranslationNotifications:
 * User Aftab added special page translations for Bengali.

MLEB
Last MLEB release was 2016.10. One known defect has been reported in the Babel extensions and fixed, but not yet included in a release.

MediaWiki core internationalization
This is a new, experimental section in this report. Coverage might not be comprehensive.


 * Federico Leva updated time formats for Slovak.
 * User TTO added GENDER support to protection edit summary message. T121091
 * User Addshore updated documentation for LanguageLinks hook.
 * Bartosz Dziewoński made code cleanups to ICU collation code.
 * Leszek Manicki updated documentation for OutputPage language links methods.
 * Gergő Tisza did code maintenance on the Message class. T146416
 * User MarcoAurelio registered Karelian and Gorontalo. T137415, T136083
 * User MarcoAurelio updated namespace translations for Min Dong Chinese. T122428
 * Brian Wolff corrected message key for password reset emails.
 * Bartosz Dziewoński updated JavaScript mw.Message class behavior for non-existing keys to match PHP side.
 * Brian Wolff updated collation rules for Bengali. T148885
 * Brian Wolff updated numeric collation rules to support localized digits. T148873
 * User Pmlineditor added GENDER support to error message in Special:ChangeTags. T150420
 * User MarcoAurelio added special page translation for Bengali. T150586
 * Aaron Schulz updated code in MessageCache.
 * Ed Sanders noticed difference in PHP and JavaScript implementions of uppercase, and made MediaWiki more aware of that. T147646, T141723
 * Bartosz Dziewoński removed some unused messages. T149473
 * User MarcoAurelio updated message wording in Special:UserRights. T151458
 * Brad Jorsch made passing Message objects as parameters to other messages work better.
 * User MarcoAurelio updated fallback for Livvi-Karelian. T146744
 * User MarcoAurelio updated linktrail for Bengali. T151111
 * Gergő Tisza made uselang parameter to be sticky in the login form.
 * Adam Wight updated fallback for Ukrainian. T39314
 * Andrew Green updated inline documentation in MessageCache.
 * Federico Leva updated fallback for Tarantino.
 * Brad Jorsch added support for passing lists as parameters to messages.

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

jquery.i18n
 * No changes.

jquery.uls
 * Amir Aharoni added a new language (sty) to the language database.
 * Amir Aharoni fixed a small message i18n issue.

jquery.webfonts
 * No changes.

jquery.ime
 * No changes.

translatewiki.net
See also translatewiki.net news page.


 * Raimond Spekking added support for 6 new MediaWiki extensions (Email Auth, Simple Sort, Lock Down English Pages, Wikibase Lexeme, Display Title, Interwiki Sorting), removed support for Lightweight RDFa and made many updates to others.
 * Niklas Laxström changed database backups to use pbzip2.
 * Sam Wilson added support for CopyPatrol
 * Erik Moeller made updates related to RubyYamlFFS rewrite and removal.
 * Federico Leva, Sam Reed, Erik Moeller and Niklas Laxström made updates to supported projects.
 * Niklas Laxström updated oregano to work with old rsync.
 * Niklas Laxström updated HHVM configuration not to enable Just-In-Time for command line mode.
 * Justin Du added insertables support for EntryScape.
 * Amir Aharoni added new language (sty).
 * Niklas Laxström added support for Oppia.

Stats

 * About 90 (+15) new users
 * About 315 (-5) translators made about 41.500 (+1.500) edits
 * About 75 (-10) translators reviewed about 6.500 (-5.500) translations

Sources:     

TwnMainPage

 * Niklas Laxström cleaned up some obsolete code.
 * Niklas Laxström refactored project language selector to simplify and modernize code.
 * Federico Leva fixed one message escaping issue.

Deployments and other site related updates

 * Non default Yandex Machine Translation support has been added for Amharic and Xhosa languages.

Team status

 * Niklas Laxström has continued to be busy due to teaching a course.