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:

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

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.Oct 27 2019, 11:36 AM
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

Jpita added a subscriber: Jpita.Dec 12 2019, 12:10 PM

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

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.

santhosh removed santhosh as the assignee of this task.May 14 2020, 5:41 AM
FAR added a subscriber: FAR.Aug 11 2020, 9:30 PM