r94619 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94618‎ | r94619 | r94620 >
Date:11:05, 16 August 2011
Author:ialex
Status:ok
Tags:
Comment:
Per Reedy, follow-up r93758: SpecialPage::capturePath() now has incorrect signature. Removed the function rather than updating it, since it's not called at all and current behavior is incompatible with the old one.
Modified paths:
  • /trunk/phase3/includes/SpecialPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/SpecialPage.php
@@ -236,19 +236,6 @@
237237 }
238238
239239 /**
240 - * Just like executePath() except it returns the HTML instead of outputting it
241 - * Returns false if there was no such special page, or a title object if it was
242 - * a redirect.
243 - *
244 - * @param $title Title
245 - * @return String: HTML fragment
246 - * @deprecated since 1.18 call SpecialPageFactory method directly
247 - */
248 - static function capturePath( &$title ) {
249 - return SpecialPageFactory::capturePath( $title );
250 - }
251 -
252 - /**
253240 * Get the local name for a specified canonical name
254241 *
255242 * @param $name String

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r93758* (bug 15558) Allow includable special pages to be parameterized using wiki s...ialex15:40, 2 August 2011

Status & tagging log