From e0df568094a96a16d3e5f8f96e10e198013dd564 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Sun, 24 May 2009 09:05:49 +0000 Subject: [PATCH] Remove deprecated getInterwikiLink(). Method was deprecated in r41377 (2008-09-29) and is no longer used in current trunk or extensions. --- RELEASE-NOTES | 4 ++-- includes/Title.php | 12 ------------ 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 0a68541bc8..7e9a45ad7b 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -152,8 +152,8 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * (bug 14118) SpecialPage::getTitleFor does not return a localised name * (bug 18698) Renaming non entry point maintenance scripts from .inc.php to .inc -* Deprecated methods userCanCreate(), userCanEdit() and userCanMove() have been - removed +* Deprecated methods Title::getInterwikiLink, Title::userCanCreate(), + Title::userCanEdit() and Title::userCanMove() have been removed == API changes in 1.16 == diff --git a/includes/Title.php b/includes/Title.php index 3c03eba941..66f42e3ae9 100644 --- a/includes/Title.php +++ b/includes/Title.php @@ -467,18 +467,6 @@ class Title { return $name; } - /** - * Returns the URL associated with an interwiki prefix - * @param $key \type{\string} the interwiki prefix (e.g. "MeatBall") - * @return \type{\string} the associated URL, containing "$1", - * which should be replaced by an article title - * @static (arguably) - * @deprecated See Interwiki class - */ - public function getInterwikiLink( $key ) { - return Interwiki::fetch( $key )->getURL( ); - } - /** * Determine whether the object refers to a page within * this project. -- 2.20.1