Page MenuHomePhabricator

CX2: Should not repeat the same reference using the syntax <ref name="xxx">...</ref>
Open, MediumPublic


When the same reference is used several times in an article, use the short syntax rather than repeating it entirely several times with the same name, especially when it was properly formatted in the original text

Example on frwiki "VideoSport MK2": original translation

While in the original article, it's correctly done

Event Timeline

NicoV created this task.Jan 9 2019, 12:38 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 9 2019, 12:38 PM
Pginer-WMF triaged this task as Medium priority.Jan 21 2019, 2:28 PM
Pginer-WMF moved this task from Needs Triage to CX2 on the ContentTranslation board.

Based on the example from this conversation, the translation of "Oktay Rıfat Horozcu" from English to Spanish has another example of repeated content for a reference that appears twice (ref name="kultur"). The expected result would be for the reference contents to appear only in one of the instances and the other one to just use the same name.

jeblad added a subscriber: jeblad.Mar 22 2019, 2:01 PM

Seems like the short form is used inside a paragraph, but the first occurrence use the full form. (example)

Restricted Application added a subscriber: Liuxinyu970226. · View Herald TranscriptMar 22 2019, 2:01 PM