Page MenuHomePhabricator

Translation page is no more updated while creating or editing translation units
Closed, ResolvedPublicBUG REPORT

Description

NOTE: The issue has been fixed. All outdated translation pages have been updated.

**List of steps to reproduce:

  • Open a translatable page on Meta (example)
  • Click on Translate to open Special:Translate
  • Edit existing translation units or create new one

What happens?:
Translation page is not updated (example).

What should have happened instead?:
Each edit on translation unit pages should also happen on translation page.

Probably the same cause than T288683.

Event Timeline

Change 712039 had a related patch set uploaded (by Abijeet Patro; author: Abijeet Patro):

[mediawiki/extensions/Translate@master] TranslationPage: Use Title::getPrefixedDBkey when extracting messages

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

abi_ triaged this task as Unbreak Now! priority.
abi_ moved this task from Backlog to page translation on the MediaWiki-extensions-Translate board.

FYI, in my case, the page is not only not updated, but all existing translations revert to English.

Change 712039 merged by jenkins-bot:

[mediawiki/extensions/Translate@master] TranslationPage: Use Title::getPrefixedDBkey when extracting messages

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

Related patch has been merged. To test:

Step: Translate some strings here: https://meta.wikimedia.org/w/index.php?title=Special:Translate&group=page-User%3AAPatro+(WMF)%2FSandbox+Test&action=page&filter= to a language of your choice (say en-gb)
Observation: Once the TranslateRenderJob has run (should not take more than a minute or two at max), the translation page (eg: https://meta.wikimedia.org/wiki/User:APatro_(WMF)/Sandbox_Test/en-gb) content should be updated according to the translation made.

Change 711718 had a related patch set uploaded (by Jforrester; author: Abijeet Patro):

[mediawiki/extensions/Translate@wmf/1.37.0-wmf.18] TranslationPage: Use Title::getPrefixedDBkey when extracting messages

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

Change 711718 merged by jenkins-bot:

[mediawiki/extensions/Translate@wmf/1.37.0-wmf.18] TranslationPage: Use Title::getPrefixedDBkey when extracting messages

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

Mentioned in SAL (#wikimedia-operations) [2021-08-12T19:43:12Z] <twentyafterfour@deploy1002> Synchronized php-1.37.0-wmf.18/extensions/Translate/src/PageTranslation/TranslationPage.php: sync I2f46abb20145630c27449ce57f1256e92f440144 which should fix T288683 & T288700 thus unblocking the train: T281159 (duration: 01m 07s)

Actually, contrary to T288700, this bug seems to have never been fixed.

@Pols12, do you have an example of a translation after around 19:45 UTC that didn’t result in updating the corresponding page? All pages linked in this task look OK for me. It may be that some translations created/edited before 19:45 don’t appear yet (a maintenance script should fix those, but there are some software issues on the server running the maintenance script, so it’s slower than we initially thought), but the bug report was about pages breaking, not about already broken pages not fixing themselves.

Oh, this is coming:

Jobqueue is now busy with running the refresh jobs.

We just have to wait, if we all try to refresh all pages in the same time, we just increase the queue.

Thanks @Tacsipacsi : I only checked my own contributions, but watching all edits on Meta, we can see there are indeed edits which are coming.

Another,
why is a none warning in meta? Meta doesn't work total right more hours, but user have a none info + a info: All will work right after 12+ hours later.

Me doesn't work a translated page right, but plus string is not update in strings list, only if i click on string to change. URL: https://meta.wikimedia.org/w/index.php?title=Special:Translate&showMessage=Movement_Strategy%2FSupport_Environmental_Sustainability_Practices%2F2&group=page-Movement+Strategy%2FSupport+Environmental+Sustainability+Practices&language=sk

Indeed. The script that schedules refresh of all translatable pages is already running, and should eliminate broken pages soon.

It's already running for Meta (the jobs should finish within a couple of hours), for the last two remaining wikis (Commons and MediaWiki.org) I'll start it when I wake up. Other wikis should hopefully be all fixed (except private ones, which I will do when I wake up).

Another,
why is a none warning in meta? Meta doesn't work total right more hours, but user have a none info + a info: All will work right after 12+ hours later.

Me doesn't work a translated page right, but plus string is not update in strings list, only if i click on string to change. URL: https://meta.wikimedia.org/w/index.php?title=Special:Translate&showMessage=Movement_Strategy%2FSupport_Environmental_Sustainability_Practices%2F2&group=page-Movement+Strategy%2FSupport+Environmental+Sustainability+Practices&language=sk

EN: Unfortunately, I do not understand your message. Can you rephrase it (or say in Slovak)?

CS: Bohužel, vaší zprávě nerozumím. Mohl byste to prosím říci znovu jinými slovy (případně ve slovenštině)?

SK: Prečo, keď sú dlhšie problémy, nie je bežný používateľ o tom informovaný a prípadne tiež oboznámený, že kedy to bude asi v poriadku?

Zbytok správy už nie je veľmi dôležitý, nakoľko ste nás oboznámili ste s aktuálnym stavom.

A translate pages work right.

A problems are only with create new page. It's need to wait (It don't create new page faster and update of language labels is more wait or what be). Example: https://meta.wikimedia.org/wiki/Movement_Strategy/Funding_for_Underrepresented_Communities/sk.

Status update: Translation pages now do update, albeit very slowly (processing time is more than 6 hours as-of now). That's because of fixing T288683 on all Translate-enabled wikis, which increases the number of translate-related jobs in the queue by a lot. That should clear itself as soon as the jobs are completed.

Status update: Translation pages now do update, albeit very slowly (processing time is more than 6 hours as-of now). That's because of fixing T288683 on all Translate-enabled wikis, which increases the number of translate-related jobs in the queue by a lot. That should clear itself as soon as the jobs are completed.

All jobs that I scheduled were successfully completed, Translation extension should work normally now. Closing as resolved, as there's nothing else to do here.