Page MenuHomePhabricator

Translation restore: Do not attempt adding orphan section unless source article is old revision
Closed, ResolvedPublic

Description

We are attempting orphan section fitting in lastest revision and if that fails we load old revision of source. This can be improved by attempting the orphan section adding only if the original revision does not fit the sections properly

So the improvised translation reload steps are:

  1. Try to find matching source section ids and restore translation against it
  2. Try to find matching sequence Id in source and restore translation against it
  3. Load the source article's revision that was used for the translation. and attempt step #1 and #2
  4. If the source article is old revision, add orphan sections in translation column when #1 and #2 failed.

Event Timeline

santhosh created this task.Mar 17 2016, 7:14 AM

Change 276715 had a related patch set uploaded (by Santhosh):
Do not attempt adding orphan section unless source article is old revision

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

santhosh moved this task from Backlog to In Review on the LE-CX8-Sprint 4 board.Mar 17 2016, 7:15 AM
Amire80 moved this task from Needs Triage to CX8 on the ContentTranslation board.Mar 17 2016, 7:59 AM

Change 276715 merged by jenkins-bot:
Do not attempt adding orphan section unless source article is old revision

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

Arrbee moved this task from QA to Done on the Language-Q4-2016-Sprint 1 board.Apr 19 2016, 4:50 AM