= Problem
As a user when I am automatically redirected away from a page, I see a toast but there is no way to return to the page I was redirected from.
= Suggested solution
Primarily to service {T146596}, toast messages can also carry actions. Pass url and label as 2 additional parameters to the `Toast.show` function.
= Acceptance criteria
[] When I visit https://en.m.wikipedia.beta.wmflabs.org/wiki/Obama I see a toast. When I click on that toast I am taken to https://en.wikipedia.beta.wmflabs.org/w/index.php?title=Obama&redirect=no
[] Change the toast wording to make it clearer the toast is actionable. The new toast will still say:
> Redirected from \"$1\"
but it should be accompanied by the action
> Show redirect
= Design
{F29782378}
==== Other toast designs for reference
Default toast without action
https://zpl.io/1CDO7m
Short toast with one action
https://zpl.io/2kTf7Y
Loong toast with long action
https://zpl.io/rQqXy
Two line with action
https://zpl.io/CroBW
= Developer notes
We want to make this a generic capability so future features can also make use of it
[] Toast.show function should accept a link as a second parameter.
[] When clicking the toast the user is navigated to that link
[] When a toast has an associated action a 'show' label appears on the right hand side of the toast
[] Clicking the entire toast or show should take the user to the destination