Wikimedia Language engineering/Reports/2016/November

October 2016 Wikimedia Language engineering monthly report for November 2016 December 2016

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

edit

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

edit
Details Numbers
Articles created (during the month) 10813
Articles created till end of month 144463
Number of new translators (during the month) 1158
Highest number of articles created by one user

(cumulative number till end of the month)

3706
Highest number of translators for a Wikipedia

(cumulative number till end of the month)

3878 (es)
Total number of translators with only 1 published article

(cumulative number till end of the month)

15053
Total number of translators with only 2 published articles

(cumulative number till end of the month)

2994
Total number of translators with only 3 published articles

(cumulative number till end of the month)

1429
Total number of translators with only 4 published articles

(cumulative number till end of the month)

806
Total number of translators with >= 5 and < 20 published articles

(cumulative number till end of the month)

2325
Total number of translators with >= 20 published articles

(cumulative number till end of the month)

1010 see note
Total number of translators with >= 20 and < 100 published articles

(cumulative number till end of the month)

843
Total number of translators with > 100 published articles

(cumulative number till end of the month)

215
Articles deleted (during the month) 795

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.

Comparisons

edit

Translate

edit

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 <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

edit
  • Translatable pages: Meta 3183 (42) ; MediaWiki.org 3121 (+18) ; Commons 512 (+6) [1][2][3]
  • Translate extension is installed on 215 wikis (+3) Wikiapiary

Universal Language Selector

edit

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

edit

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

edit

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

edit

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

edit

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

edit

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

edit
  • 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: [4] [5] [6] [7] [8]

TwnMainPage

edit
  • 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.
edit
  • Non default Yandex Machine Translation support has been added for Amharic and Xhosa languages.

Cross team work/requirements

edit

Team status

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