Page MenuHomePhabricator

ContentTranslator tries to load an old published translation when starting a new translation of the same article
Open, Needs TriagePublic

Description

Some time ago I started translating
https://en.wikipedia.org/wiki/Word2vec
into Portuguese and now I wanted to continue it. As usual, T157862: Cannot edit a translation in ContentTranslation: "Failed to load saved translation" prevented me from doing so. So, I though I could just publish my draft translation as a user subpage
https://pt.wikipedia.org/wiki/User:He7d3r/Word2vec
and then start over without being affected by the bug above. However, this was not the case. In fact, after I typed "Word2vec" again to start the translation again, I got the same errors, as if the old translation were still being used (this was indeed the case, as I was able to publish the inaccessible translation again as a user subpage). The extension didn't even try to load the current version of the English article: it used the same one from previous translation attempt). There is a screencast at F12154022 (the warning appears ~17 seconds after I start the process).

Event Timeline

He7d3r created this task.Dec 30 2017, 8:02 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptDec 30 2017, 8:02 PM
He7d3r updated the task description. (Show Details)Dec 30 2017, 8:26 PM
Ata awarded a token.Mar 10 2018, 9:45 PM
Ata added a subscriber: Ata.
Arrbee renamed this task from ContentTranslator tries to load an old published translation when starting a new translation of the same article to [to triage] ContentTranslator tries to load an old published translation when starting a new translation of the same article.Aug 6 2018, 11:05 AM
Arrbee moved this task from Needs Triage to Check & Move on the ContentTranslation board.
Arrbee renamed this task from [to triage] ContentTranslator tries to load an old published translation when starting a new translation of the same article to ContentTranslator tries to load an old published translation when starting a new translation of the same article.Aug 17 2018, 11:40 AM

This is still happening, now with an old translation of "Rational root theorem" to Portuguese

I checked the status of these two translations: Word2vec and Rational root theorem

Word2vec

Rational root theorem

So, the translations were not deleted. But, as @He7d3r noticed the translation are of old revision of the articles. The oldid in the links is the translation_source_revision_id in cx_translations:
https://en.wikipedia.org/w/index.php?title=Word2vec&type=revision&diff=855726398&oldid=779268408
https://en.wikipedia.org/w/index.php?title=Rational_root_theorem&type=revision&diff=847944599&oldid=748898192