References are important in Wikipedia and they may appear in many different circumstances (defined in a different section or inside a template, being available in the target language or not, etc.). This ticket focuses on supporting the basic case where a reference is defined in the section the user is translating, which currently does not seem well supported in Section Translation.
When translating the "Formation" section of the Moon article from English to Spanish in the test instance, I'm not able to access the content of any reference to edit them. For example, editing the second sentence of the section allows to select the first reference with the editor but a card (incorrectly) indicates it cannot be edited because it is defined inside another template (a known limitation of VE: T52896):
("Start from scratch approach" is illustrated but the issue also happens when using an MT system such as Apertium as shown in the video at the bottom of the ticket)
Looking at the original article that is not the case. Editing the source of the section you can notice the reference contents are there:
Switching to Visual Editor, the reference seems supported there:
Desktop | Mobile | Mobile (editing the template) |
---|---|---|
The expected result would be for the reference to be displayed and edited in Visual Editor also when used inside Section Translation.
The video below shows how none of the references in the example sentence shows the details also when using Apertium: