Page MenuHomePhabricator

CX2: Suggest parent categories for those not available in target Wiki
Open, NormalPublic

Description

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 updated the task description. (Show Details)
KartikMistry raised the priority of this task from to Needs Triage.
KartikMistry added a subscriber: KartikMistry.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 17 2015, 11:26 AM
Amire80 triaged this task as Normal 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.
Nizil added a subscriber: Nizil.Dec 6 2015, 9:03 PM
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.

Petar.petkovic moved this task from Bugs to CX2 on the ContentTranslation board.Apr 4 2018, 11:13 AM