Page MenuHomePhabricator

CX2: Suggest parent categories for those not available in target Wiki
Closed, DeclinedPublic


Gujarati Wikipedia (for example) has not all categories like English Wikipedia. If user is translating article about French Actor, the "French Actors" category won't be adapted as it isn't available in Gujarati Wikipedia. But, parent category of French Actors, Actors is available.

This was requested in this comment from Gujarati Wikipedia

Proposed solution

Considering that version 2 of Content Translation allows users to add any category (T188615), we can extend the auto-complete suggestions to show parent categories for those categories that could not be adapted (only if those parent categories have a corresponding category in the target wiki and it has not been already added to the article).

This process will be done only for one level (i.e., not recursively) to keep things simple. So in the case that parent categories cannot be adapted, we won't explore their parent categories further.

With this approach, it is easy for users to enrich the classification of their translations while still keeping the control on what gets added automatically and why.

Event Timeline

KartikMistry raised the priority of this task from to Needs Triage.
KartikMistry updated the task description. (Show Details)
KartikMistry added a subscriber: KartikMistry.
Amire80 triaged this task as Medium priority.Aug 19 2015, 7:09 AM
Amire80 set Security to None.
Amire80 moved this task from Needs Triage to CX7 on the ContentTranslation board.
Pginer-WMF renamed this task from Adapt parent category if no category available in target Wiki to CX2: Suggest parent categories for those not available in target Wiki.Apr 4 2018, 10:15 AM
Pginer-WMF updated the task description. (Show Details)
Pginer-WMF added a subscriber: Pginer-WMF.

This seems easier to be supported in the next version of CX, so I adjusted the description accordingly.

With the new version of Content Translation we improved the category support users can add any category they want to, which provides a path forward for cases where the initial mapping was not the best. Ideally, we could make the category mapping more advanced but I think there are other aspects more central to the translation process to be improved.