Page MenuHomePhabricator

"Do not invalidate translations" checkbox at [[Special:PageTranslation]] should be checked by default if change does not require updating translations
Open, MediumPublicFeature

Description

Original bug title:
"Do not invalidate translations" checkbox at [[Special:PageTranslation]] should be checked by default if change does not require updating translations

(taling about "This page has changes since it was last marked for translation." where "marked for translation" points to the page with the translation units and diffs)

This happens e.g. if you change a variable:
text in translatable section <tvar>500</> -->
text in translatable section <tvar>501</>


Version: unspecified
Severity: enhancement
See Also: T46328: Replace outdated translations with source text on translation pages

Details

Reference
bz50103

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 22 2014, 1:58 AM
bzimport set Reference to bz50103.
bzimport added a subscriber: Unknown Object (MLST).

Seems to make sense: since bug 44328, the invalidation changed meaning and should now happen less frequently. One of the requirements for page translation, according to docs, is that the page has to be reasonably stable, so most changes to translation units are expected to be minor.
Reversing the default of the checkboxes would be consistent; the translation administrator will always need to use judgement of course.

Will not be prioritized, because I suspect this will be a,potentially vet difficult and complex algorithm, with relatively little value. Feel free to submit patches that we will happily review.

Related URL: https://gerrit.wikimedia.org/r/70219 (Gerrit Change Iaddd5de75c415b63830e22d9d60446c9252142c8)

Related URL: https://gerrit.wikimedia.org/r/70219 (Gerrit Change Iaddd5de75c415b63830e22d9d60446c9252142c8)

https://gerrit.wikimedia.org/r/70219 (Gerrit Change Iaddd5de75c415b63830e22d9d60446c9252142c8) | change ABANDONED [by Nemo bis]

Tacsipacsi changed the subtype of this task from "Task" to "Feature Request".
Tacsipacsi subscribed.
Tacsipacsi added a subscriber: Pppery.

Implementation note: compare the result of TranslationUnit::getTextWithVariables() and a similar method for $oldText. This would also work when the tvar syntax is upgraded (from <tvar|1></> to <tvar name="1"></tvar>). TranslationUnit::$type should remain to be changed, because it should still be possible to fuzzy these translations.

Pppery raised the priority of this task from Lowest to Medium.Feb 2 2024, 4:36 PM

(raising priority to match the more recently-assessed duplicate that was merged here)