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
Comment #2
stefan.r CreditAttribution: stefan.r commentedComment #3
lauriii#2571695: Remove !placeholder and unsafe string return from SafeMarkup::format() requires removing ! from placeholdertrait. TranslatableString uses that also so marking this as duplicate.
Comment #4
Gábor HojtsyNo need to track on the sprint then :)