/** * @deprecated since 1.27 */ public function getInterwikiLinkAttributes($title, $unused = null, $class = 'external') { wfDeprecated(__METHOD__, '1.27'); return Linker::getInterwikiLinkAttributes($title, $unused, $class); }
static function linkBegin($skin, Title $target, &$text, array &$attribs, &$query, &$options, &$ret) { if ($target->isExternal()) { $args = ''; $u = $target->getFullURL(); $link = $target->getPrefixedURL(); if ('' == $text) { $text = $target->getPrefixedText(); } $style = Linker::getInterwikiLinkAttributes($link, $text, 'extiw'); if ($text == 'RTENOTITLE') { // 2223 $text = $u = $link; $args .= '_fcknotitle="true" '; } $t = "<a {$args}href=\"{$u}\"{$style}>{$text}</a>"; wfProfileOut(__METHOD__); $ret = $t; return false; } return true; }