Page MenuHomePhabricator

Consider preventing a page to be marked when two tvar with same name have different content
Open, LowPublicBUG REPORT

Description

From 40e616a (T274881), Special:PageTranslation?do=mark warns when there is several translation variables (tvar) with the same name, but with different contents.

Since:

  • the translation admin can miss that warning when there is many units in the page;
  • I don’t see any usecase where we may want a tvar to override another one;

I propose to make this warning to prevent the page to be marked for translation until the issue has been fixed (name changed, or content made identical).

Event Timeline

Pols12 renamed this task from Two tvar with different content should not be able to have the same name (regression) to Consider preventing a page to be marked when two tvar with same name have different content.May 21 2023, 6:22 PM
Pols12 removed a project: Regression.
Pols12 updated the task description. (Show Details)

Maybe not a regression, I think I missed the warning in my case.