Jump to content

Fixing technical issue concerning named reference in content translation (Community Wishlist/W47)

Long-term opportunity
From Meta, a Wikimedia project coordination wiki

View all wishes.

Description

(I apologize if my poor English skills make this hard to read) (Note: After writing this, I realized that situation this error might be limited, but nevertheless I believe that this should be addressed) Currently, when articles that uses named references are translated using content translation, every syntax that invokes a named footnote becomes the syntax to become the same as the syntax it invokes. For example, every

‎<ref name="name" />

becomes

‎<ref name="name">content‎</ref>

This causes error messages that read "The named reference "name" was defined multiple times with different content (see the help page)." to appear multiple times.

Many articles in Wikipedia are translated from other languages. This is why reducing the burden of addressing this technical issue is important. Solving this problem will save us translators more time to contribute to Wikimedia projects.

As a solution to this problem I suggest the following design:

When translation using content translation states, every ‎<ref name="name" />

is replaced with

‎<ref name="name">content‎</ref>

When translation ends, every :‎<ref name="name">content‎</ref>

with same content, except for the one that first appear in source is replaced with :‎<ref name="name" />

Special rules apply when editing only a section of an article: if the rules described above is applied when editing only a seection, this could create two same named references in one article.

Assigned focus area

Unassigned

Type of wish
Bug report
Tags
Affected users

Translators using content translation

Other details
  • Created: 08:20, 25 July 2024
  • Last updated: 22:29, 13 October 2025
  • Author: Chirua (talk)
Voting

This wish currently has 4 supporters. Voting for this wish is open until it is completed.

Supporters of this wish
Support Chirua (talk) 08:20, 25 July 2024
Support Pppery (talk) 16:46, 10 October 2025
Support Good tool, but seems abandoned. Almost every translation I've seen in the last couple of years had this problem. Ponor (talk) 19:12, 7 February 2026
Support but see W376: Better article translation system for a broader take where this is just one of the problems Prototyperspective (talk) 19:07, 27 February 2026