From: Siebrand Mazeland Date: Sun, 24 May 2009 09:05:49 +0000 (+0000) Subject: Remove deprecated getInterwikiLink(). Method was deprecated in r41377 (2008-09-29... X-Git-Tag: 1.31.0-rc.0~41669 X-Git-Url: http://git.cyclocoop.org/%22.%20generer_url_ecrire%28%22sites_tous%22%2C%22%22%29.%20%22?a=commitdiff_plain;h=e0df568094a96a16d3e5f8f96e10e198013dd564;p=lhc%2Fweb%2Fwiklou.git Remove deprecated getInterwikiLink(). Method was deprecated in r41377 (2008-09-29) and is no longer used in current trunk or extensions. --- 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.