From: aude Date: Thu, 13 Nov 2014 13:39:16 +0000 (+0100) Subject: Remove deprecated Linker::getExternalLinkAttributes method X-Git-Tag: 1.31.0-rc.0~13313 X-Git-Url: http://git.cyclocoop.org/data/Fool?a=commitdiff_plain;h=203c5baf120c2f754c679f897b5228f953174178;p=lhc%2Fweb%2Fwiklou.git Remove deprecated Linker::getExternalLinkAttributes method deprecated since 1.18 and unused anywhere else in core or all the extensions in gerrit: https://github.com/search?utf8=%E2%9C%93&q=getExternalLinkAttributes+%40wikimedia&type=Code&ref=searchresults Change-Id: Id5ae9186b3a83672c8310adb5dfdaf07bfec3d74 --- diff --git a/includes/Linker.php b/includes/Linker.php index 40ebaea70f..876aa5f642 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -36,21 +36,6 @@ class Linker { const TOOL_LINKS_NOBLOCK = 1; const TOOL_LINKS_EMAIL = 2; - /** - * Get the appropriate HTML attributes to add to the "a" element of an - * external link, as created by [wikisyntax]. - * - * @param string $class The contents of the class attribute; if an empty - * string is passed, which is the default value, defaults to 'external'. - * @return string - * @deprecated since 1.18 Just pass the external class directly to something - * using Html::expandAttributes. - */ - static function getExternalLinkAttributes( $class = 'external' ) { - wfDeprecated( __METHOD__, '1.18' ); - return self::getLinkAttributesInternal( '', $class ); - } - /** * Get the appropriate HTML attributes to add to the "a" element of an interwiki link. *