protected function makePageLink(Title $title = null, $parameters = array()) { global $wgContLang, $wgUserrightsInterwikiDelimiter; if (!$this->plaintext) { $text = $wgContLang->ucfirst($title->getText()); $parts = explode($wgUserrightsInterwikiDelimiter, $text, 2); if (count($parts) === 2) { $titleLink = WikiMap::foreignUserLink($parts[1], $parts[0], htmlspecialchars($title->getPrefixedText())); if ($titleLink !== false) { return $titleLink; } } } return parent::makePageLink($title, $parameters); }