Wikimedia Language engineering/Reports/2016/June

Monthly updates from the Wikimedia Language team focused on technical development.

Content Translation
Content Translation allows people to translate Wikipedia articles. Also check out out the newsletter.
 * Santhosh Thottingal worked on template adaptation improvements. The adaptation is based on the interlanguage connection of templates in wikidata. Issues related to Template namespace changes while translating between two language pairs also addressed. There are more work ongoing about improving template adaptation.
 * Santhosh Thottingal improved the reference adaptation and made the published HTML more clean.
 * Santhosh Thottingal fixed several issues related to unwanted HTML markup being present in the published articles.
 * Niklas Laxström improved the language selector so that previously used languages for translatation are reused correctly next time a new translation starts.
 * Niklas Laxström fixed an issue related to AbuseFilter warnings are shown when it is not is not a warning or an error
 * Roan Kattouw recategorized the Content translation related notificiations(Echo)
 * Amir Aharoni did a UI fix for the 'create using content translation' invitation in the Contributions menu
 * Santhosh Thottingal fixed the translation ownership checks mismatch between client side and server side.
 * Santhosh Thottingal reduced the maximum number of gray interlanguage links shown to 3.

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.

In this month about 40 patches were merged. We congratulate Glaisher for getting +2 code review rights to Translate and Translation Notifications. His contributions to these two extensions in the past months have been significant and of high quality.


 * Glaisher submitted a patch to improve performance of translation unit deletions.
 * Niklas Laxström submitted a group of patches to improve message group selector on Special:Translate.
 * Niklas Laxström submitted a patch to fix a regression that caused null to be shown when message group did not have a description. T132996
 * Glaisher submitted a code cleanup patch related to creating links to special pages.
 * Niklas Laxström submitted a fix ttmserver-export.php script which did not work with MediaWiki 1.28. T136919
 * David Causse submitted a fix to ttmserver-export.php so that it works with automatic expansion of replicas. T136919
 * Glaisher submitted patches to improve translation page headers.
 * Niklas Laxström submitted patches to clean up some button styles to match MediaWiki conventions.
 * Niklas Laxström submitted patches to improve display of Special:Translate on small screens.
 * Niklas Laxström submitted a dozen code maintenance patches.
 * Niklas Laxström submitted patches to avoid flash of unstyled content on some of Translate's special pages.
 * Niklas Laxström changed JSON file format handler to always output a metadata section. T118205
 * Nemo bis submitted a patch to restore accidentally removed localisation message. T132994
 * Niklas Laxström submitted patches to improve the Translation search tab in Special:Search.
 * Glaisher submitted a patch to improve error handling of translatable page deletions.
 * Niklas Laxström submitted two patches to fix multiple issues related to statsbar updates on Special:Translate. T62949
 * Glaisher submitted a patch to improve subtitle of translation pages. T94004

Usage data

 * Translatable pages: Meta 2884 (+48) ; MediaWiki.org 3035 (+19) ; Commons 465 (+9)
 * Translate extension is installed on 214 wikis (+4) Wikiapiary

Universal Language Selector
Universal Language Selector provides language choose, input methods and web fonts. It is part of MLEB.
 * Niklas Laxström did code cleanup and improvements to the language name indexer that helps cross language search. He also added a few more languages to ULS
 * Niklas Laxström and Santhosh Thottingal added badges support to ULS Compact links. They are commonly used with featured articles.
 * Santhosh Thottingal added support for browser provided language preferences for compact language links -This was part of a fix Niklas Laxström did about caching of language candidates for compact language list for anonymous users

Other extensions
Babel (part of MLEB):
 * Only localisation updates.

cldr (Common Locale Data Repository) (part of MLEB):
 * Only localisation updates.

CleanChanges (part of MLEB):
 * Niklas Laxström fixed a JavaScript error on Special:WatchList reported by Jonatan Svensson Glad during Wikimania. T138702

LocalisationUpdate (part of MLEB):
 * No updates.

TranslationNotifications:
 * Niklas Laxström submitted three patches to improve notification code and to support AuthManager. T110766
 * Glaisher fixed a bug that prevented selection of remote wiki as place to deliver notification. T137111
 * Sethakill added an help text to Special:NotifyTranslators. T137097

MLEB
No MediaWiki Language Extension Bundle was released this month. Next release is expected in July.

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

jquery.i18n
 * No updates.

jquery.uls
 * Niklas Laxström added fax to the language database.
 * Sébastien Santoro added atj to the language database.
 * Niklas Laxström added support for badges inside language list and other style tweaks.

jquery.webfonts
 * No updates.

jquery.ime
 * Jnanaranjan Sahu added a new input method for Santali language.
 * NehalDaveND fixed a name of an input method.

translatewiki.net


See also translatewiki.net news page.

Stats

 * About 90 (+20) new users
 * About 335 (-10) translators made about 40.000 (+3.000) edits
 * About 90 (-10) translators reviewed about 10.000 (+300) translations

Sources:     

TwnMainPage
This MediaWiki extension provides the translatewiki.net main page.
 * Only localisation updates.

Deployments and other site related updates

 * Compact Language Links Beta feature is replaced by a user preference that is enabled by default in the following sites:
 * Wikipedia, #91 to the end (in terms of number of articles)
 * Wikiversity
 * Wikivoyage
 * Wikibooks
 * Wikinews
 * Wikiquote
 * Wiktionary (Exceptions: English (en), French (fr), Malagasy (mg), Russian (ru), Chinese (zh))
 * Kartik is working with TechOps to update Apertium service to Jessie along with new releases of language pairs from upstream.