Remove deprecated getInterwikiLink(). Method was deprecated in r41377 (2008-09-29...
authorSiebrand Mazeland <siebrand@users.mediawiki.org>
Sun, 24 May 2009 09:05:49 +0000 (09:05 +0000)
committerSiebrand Mazeland <siebrand@users.mediawiki.org>
Sun, 24 May 2009 09:05:49 +0000 (09:05 +0000)
RELEASE-NOTES
includes/Title.php

index 0a68541..7e9a45a 100644 (file)
@@ -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 ==
 
index 3c03eba..66f42e3 100644 (file)
@@ -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.