Page MenuHomePhabricator

Link suggestions in content translation sometimes missing
Closed, ResolvedPublic

Description

How to reproduce:

  1. Invoke content translation from [[en:Torch (machine learning)]] to translate to Hebrew
  2. Press on Lua
  3. expectation: suggestion to add a link to "לואה (שפת תכנות)" (Hebrew article for Lua)

actual: missing article

Event Timeline

Amire80 triaged this task as High priority.Oct 2 2016, 1:43 PM
Amire80 added a subscriber: Amire80.

I can reproduce this. This is very odd—the article about Lua exists in Hebrew and should be adapted.

High-priority: link adaptation is a pretty core functionality, and should be working.

This was a special case, not a general link adaptation failure or regression. The first paragraph of [[en:Torch (machine learning)]] had two links , one with target as LuaJIT and another with Lua (programing language), both points to same English wikipage: Lua (programing language).
While populating linkPairs, we put entry for redirect resolved source and left another and lookup for another failed.
Fixing..

Change 313962 had a related patch set uploaded (by Santhosh):
Links: Keep original and redirect resolved source title in linkpair cache

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

Change 313962 merged by jenkins-bot:
Links: Keep original and redirect resolved source title in linkpair cache

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

Arrbee added a subscriber: Arrbee.

Verified.