- $user->nickname)),
- 'title' => sprintf(_('%s timeline'), $user->nickname),
- 'link' => $profile->profileurl,
+ $this->target->getNickname())),
+ // TRANS: Message is used as link title. %s is a user nickname.
+ 'title' => sprintf(_('%s timeline'), $this->target->getNickname()),
+ 'link' => $this->target->getUrl(),
+ // TRANS: Message is used as link description. %1$s is a username, %2$s is a site name.