Page MenuHomePhabricator

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

Assigned To
None
Authored By
Pginer-WMF
Oct 27 2019, 11:36 AM
Referenced Files
F31473613: image.png
Dec 12 2019, 12:10 PM
F31473611: image.png
Dec 12 2019, 12:10 PM
F31100240: image.png
Nov 19 2019, 8:35 AM
F30900681: Oct-27-2019 12-26-04.gif
Oct 27 2019, 11:36 AM
F30900673: Screenshot 2019-10-27 at 12.21.11.png
Oct 27 2019, 11:36 AM

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 triaged this task as Medium priority.
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.