Page MenuHomePhabricator

Persist the published status with page ids
Open, MediumPublic

Description

Based on a discussion betweeen santhosh and Niklas the following things came up

  1. It is possible for a translator to publish and continue translation. That translation might not be published, leaving the translation status as 'draft'. This looses the the data that the translaton was once published. We need a permanent mechanism to track of publishing. This is required for
    1. For proper stats about publishing and draft
    2. To keep track of the page after publishing to watch for 'move/delete'. This also demans we need to persist the targetwikiid and pageid
  2. Niklas prposed a new table to keep track of #1, and the rough structure as ( translation_id, wiki_id, page_id)
  3. When translations in draft status is deleted, we are loosing valuable information about the source-target pairs, to avoid that instead of hard deleting the translation record from cx_translations, we need to make the status 'deleted'

This task need smaller subtasks for implementaiton.

Event Timeline

santhosh raised the priority of this task from to High.
santhosh updated the task description. (Show Details)
santhosh added subscribers: santhosh, Aklapper.
Arrbee set Security to None.
Amire80 lowered the priority of this task from High to Medium.Feb 25 2015, 12:33 PM
Amire80 added a subscriber: Amire80.
Amire80 raised the priority of this task from Medium to High.Feb 25 2015, 2:40 PM

Change 194046 had a related patch set uploaded (by Santhosh):
Change the status to delete while deleting instead of removing record

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

Change 194046 merged by jenkins-bot:
Change the status to "deleted" while deleting instead of removing record

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

Amire80 lowered the priority of this task from High to Medium.Mar 30 2015, 10:24 AM
Amire80 moved this task from Backlog to Bugs on the ContentTranslation-Release5 board.
Amire80 raised the priority of this task from Medium to High.Jun 12 2015, 12:57 PM
Amire80 lowered the priority of this task from High to Medium.Oct 12 2015, 9:04 PM

What's the status of this? Does this map to the parallel corpora work in any way?

It is possible for a translator to publish and continue translation. That translation might not be published, leaving the translation status as 'draft'. This looses the the data that the translaton was once published. We need a permanent mechanism to track of publishing.

cx_translations table has the revision Id of the source title and target title. But pageIds are not there. And still it is not easy to tell if the published article was deleted in target wiki from CX dashboard. We do track the deleted count using the change tag information

  1. When translations in draft status is deleted, we are loosing valuable information about the source-target pairs, to avoid that instead of hard deleting the translation record from cx_translations, we need to make the status 'deleted'

Done with https://gerrit.wikimedia.org/r/194046