Removed followRedirectText, unused
authorAaron Schulz <aaron@users.mediawiki.org>
Sat, 2 Jul 2011 00:20:11 +0000 (00:20 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Sat, 2 Jul 2011 00:20:11 +0000 (00:20 +0000)
includes/Article.php

index 47c540d..a163911 100644 (file)
@@ -125,18 +125,6 @@ class Article extends Page {
                $this->mRedirectedFrom = $from;
        }
 
-       /**
-        * Get the Title object this text redirects to
-        *
-        * @param $text string article content containing redirect info
-        * @return mixed false, Title of in-wiki target, or string with URL
-        * @deprecated since 1.17
-        */
-       public function followRedirectText( $text ) {
-               // recurse through to only get the final target
-               return $this->getRedirectURL( Title::newFromRedirectRecurse( $text ) );
-       }
-
        /**
         * Get the title object of the article
         * @return Title object of this page