Aude has uploaded a new change for review. https://gerrit.wikimedia.org/r/172985
Change subject: Remove deprecated Linker::getExternalLinkAttributes method ...................................................................... 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 --- M includes/Linker.php 1 file changed, 0 insertions(+), 15 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/85/172985/1 diff --git a/includes/Linker.php b/includes/Linker.php index 40ebaea..876aa5f 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -37,21 +37,6 @@ 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. * * @param string $title The title text for the link, URL-encoded (???) but -- To view, visit https://gerrit.wikimedia.org/r/172985 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Id5ae9186b3a83672c8310adb5dfdaf07bfec3d74 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Aude <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
