Page MenuHomePhabricator

Templates and their parameters from Wikidata
Closed, ResolvedPublic

Description

Links targets in ContentTranslation are automatically translated using Wikidata. Why templates not? And also their parameters could be translated if we create properties/property maps for parameter alternatives in different languages.

Event Timeline

Amire80 subscribed.

This would be great; one of the greatest improvements for the ContentTranslation experience. However, the real blockers here are not so much in ContentTranslation itself, but in creating these property maps and in adapting Wikidata-based templates widely accross projects. Once that is done, ContentTranslation itself should otherwise be able to do it.

There is, however, this issue: T104005: ContentTranslation should auto-adapt templates that don't have parameters and have a directly corresponding template in the target language; there are a few related ones, but in principle, ContentTranslation will be able to handle Wikidata-based templates once they are adapted enough.

Amire80 triaged this task as Medium priority.Apr 20 2016, 1:32 PM
santhosh subscribed.

This was done in https://gerrit.wikimedia.org/r/#/c/292911/

Tempalate parameters are taken from mapping in CX or tempatedata definition as per https://gerrit.wikimedia.org/r/295898

More improvements to this is in discusion.