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

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

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

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