Page MenuHomePhabricator

CX2: Create categories in the target wiki when new categories are created in the translation
Closed, InvalidPublic

Description

As part of the category support (T188605), users can add categories to the translation. As part of the category dialog, users can propose to create new categories that are not present in the target wiki. These categories are added to the list, and need to be created in the target wiki.

The last part remains to be done, and currently those categories would appear as red links requiring users to create them manually. As a result of this ticket such new categories should be created when the article is published.

Event Timeline

Pginer-WMF triaged this task as Medium priority.
Pginer-WMF lowered the priority of this task from Medium to Low.
Pginer-WMF moved this task from Backlog to Priority backlog on the Language-2018-Jan-Mar board.

If they are auto-created, they should probably be auto-linked in Wikidata to corresponding categories in the source article.

Translators really appreciate the automatic Wikidata linking for articles, and it will be great if we can do the same for categories.

If they are auto-created, they should probably be auto-linked in Wikidata to corresponding categories in the source article.

In this scenario, a source article has some categories (A, B and C), and the target article gets the equivalent ones (a, b, and c), but the user decides to create a new one (x). I don't know how we can find the equivalent category in the source wiki (X) based on just the name the user gave for a new category in the target wiki that didn't exist before.

Yeah, this will require some design. Maybe it justifies a separate task.

To me it makes a lot of sense that the translator will see the source categories and want to add something based on that.

Perhaps a design similar to the link card?..

It is not specified what "creating a category" means. Even for red categories, you can click them and see list of pages in that category, there just isn't any description.

image.png (1,386×396 px, 57 KB)

So to create a blue category, we need a description to place on the category page. I don't see designs here how to do that.

It is not specified what "creating a category" means. Even for red categories, you can click them and see list of pages in that category, there just isn't any description.

ok, I checked that this is the same behaviour for Visual Editor when adding a new category through the corresponding dialog. I think we can close the ticket then. Thanks for the input!