Postponed on #2557113: Make t() return a TranslationWrapper object to remove reliance on a static, unpredictable safe list

Problem/Motivation

Translation->translate() can return an unsafe string. Once !placeholder is removed this is no longer necessary.

Proposed resolution

Remove the ability.

Remaining tasks

Wait for blockers to be committed.
Write patch and fix unit tests.

User interface changes

No

API changes

Translation->translate() only returns TranslationWrapper objects.

Comments

alexpott created an issue. See original summary.

stefan.r’s picture

lauriii’s picture

Status: Postponed » Closed (duplicate)

#2571695: Remove !placeholder and unsafe string return from SafeMarkup::format() requires removing ! from placeholdertrait. TranslatableString uses that also so marking this as duplicate.

Gábor Hojtsy’s picture

Issue tags: -sprint

No need to track on the sprint then :)