Page MenuHomePhabricator

CX2: Allow users to add new categories of their choice
Closed, ResolvedPublic

Description

As part of the support for categories (T188605), translators may find convenient to add more categories to the page they are translated (beyond those added automatically from the source article, T177303).

To support this, an "Add categories" input is provided as part of the list of categories in the translation. The input will provide a list of relevant categories as the user types. In this way, users can type the name of a category and insert it to the list.

The functionality should be the same as the input from the Category panel in Visual editor shown below:

In this case, the autocomplete options will include initially as suggestions categories based on the source article. That is, if there is a category in the source article, for which an equivalent category exist in the target language but it is not included in the translation, it will be suggested.


To support this we may need to save categories as part of the drafts: T188238: Adapted categories are not saved along with translation

Event Timeline

Pginer-WMF triaged this task as Normal priority.
Pginer-WMF updated the task description. (Show Details)Mar 1 2018, 12:43 PM
Petar.petkovic renamed this task from CX2: Allow users to ad new categories of their choice to CX2: Allow users to add new categories of their choice.Mar 1 2018, 12:45 PM

Change 420009 had a related patch set uploaded (by Petar.petkovic; owner: Petar.petkovic):
[mediawiki/extensions/ContentTranslation@master] Allow users to add new categories of their choice

https://gerrit.wikimedia.org/r/420009

Change 420009 merged by jenkins-bot:
[mediawiki/extensions/ContentTranslation@master] Allow users to add new categories of their choice

https://gerrit.wikimedia.org/r/420009

Checked in cx2-testing:

  • Suggestions for Categories:

  • the Category was added:

Etonkovidova closed this task as Resolved.Mar 21 2018, 9:11 AM
Nikerabbit moved this task from QA to Done on the Language-2018-Jan-Mar board.Mar 21 2018, 9:47 AM