/** * @param string $userName * * @return string HTML */ private function buildUserTalkLink($userName) { // @todo: localize this once we can localize namespaces on the repo $link = $this->repoLinker->getPageUrl("User_talk:{$userName}"); $text = wfMessage('talkpagelinktext')->text(); return $this->repoLinker->formatLink($link, $text); }