Page MenuHomePhabricator

Add token for recurring donation failure link
Open, Needs TriagePublic

Description

The problem currently is that we are translating the $txtFrequency in the template so we can use the translated version in the text, but that means we are sending links like https://donate.wikimedia.org?wmf_medium=civi-mail&wmf_source=FY2526_FailedRecur&wmf_campaign=FailedRecur&frequency=régulier &uselang=fr (with the space even). If we replace the link with token, then we can separate the in-text version which should be translated from the url param which should not.

Event Timeline

Lars removed AKanji-WMF as the assignee of this task.
Lars moved this task from Triage to Current Sprint on the Fundraising-Backlog board.

Upstream PR to make this feasible without things getting ugly.

Change #1256405 had a related patch set uploaded (by Lars SG; author: Lars SG):

[wikimedia/fundraising/crm@master] Add workflow name to token context & Add prefetched entity data to TokenRow context

https://gerrit.wikimedia.org/r/1256405

Change #1256405 merged by Eileen:

[wikimedia/fundraising/crm@master] Add workflow name to token context & Add prefetched entity data to TokenRow context

https://gerrit.wikimedia.org/r/1256405