r91339 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91338‎ | r91339 | r91340 >
Date:00:20, 2 July 2011
Author:aaron
Status:ok
Tags:
Comment:
Removed followRedirectText, unused
Modified paths:
  • /trunk/phase3/includes/Article.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Article.php
@@ -126,18 +126,6 @@
127127 }
128128
129129 /**
130 - * Get the Title object this text redirects to
131 - *
132 - * @param $text string article content containing redirect info
133 - * @return mixed false, Title of in-wiki target, or string with URL
134 - * @deprecated since 1.17
135 - */
136 - public function followRedirectText( $text ) {
137 - // recurse through to only get the final target
138 - return $this->getRedirectURL( Title::newFromRedirectRecurse( $text ) );
139 - }
140 -
141 - /**
142130 * Get the title object of the article
143131 * @return Title object of this page
144132 */

Status & tagging log