Page MenuHomePhabricator

Reference by name shown as missing despite successful adaptation
Open, MediumPublic

Description

References added by name seem to be misclassified as empty (T203160) or missing mandatory parameters (T206310). This means that correctly adapted references get lost when published because they are flagged as incomplete.

When translating this example page (based on the Achaemenid Macedonia article) from English to Spanish, a reference is included twice in the paragraph. The first instance (with all the details) is transferred successfully. However, the second instance (referencing by name) is shown in grey:

Screenshot 2019-10-27 at 12.21.11.png (235×805 px, 91 KB)

When the grey reference is accessed, the all the fields are filled:

Oct-27-2019 12-26-04.gif (420×640 px, 1 MB)

The expected behaviour id for references, even those added by name, to be shown as normal when they are not empty or missing mandatory parameters.

Event Timeline

Pginer-WMF created this task.
Pginer-WMF updated the task description. (Show Details)

Change 551724 had a related patch set uploaded (by Santhosh; owner: Santhosh):
[mediawiki/extensions/ContentTranslation@master] For reused reference use the adaptation info from original

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

The warning which can be seen is not expanded, but it still says "Missing reference", whereas no reference is missing.

Change 551724 merged by jenkins-bot:
[mediawiki/extensions/ContentTranslation@master] For reused reference use the adaptation info from original

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

https://ca.wikipedia.org/wiki/Usuari:Jpita23/T236615
@santhosh @Petar.petkovic the 2 references show up correctly on cx but once we publish, the second reference doesn't show.

source articletarget article after cx
image.png (548×932 px, 102 KB)
image.png (374×1 px, 87 KB)

https://ca.wikipedia.org/wiki/Usuari:Jpita23/T236615
@santhosh @Petar.petkovic the 2 references show up correctly on cx but once we publish, the second reference doesn't show.

Ok, so it seems that now the reference is rendered in the correct color, but it is still handled as if it was a missing reference (i.e., skipping it from publishing). Moving back to development.