r50952 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r50951‎ | r50952 | r50953 >
Date:09:05, 24 May 2009
Author:siebrand
Status:ok
Tags:
Comment:
Remove deprecated getInterwikiLink(). Method was deprecated in r41377 (2008-09-29) and is no longer used in current trunk or extensions.
Modified paths:
  • /trunk/phase3/RELEASE-NOTES (modified) (history)
  • /trunk/phase3/includes/Title.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Title.php
@@ -468,18 +468,6 @@
469469 }
470470
471471 /**
472 - * Returns the URL associated with an interwiki prefix
473 - * @param $key \type{\string} the interwiki prefix (e.g. "MeatBall")
474 - * @return \type{\string} the associated URL, containing "$1",
475 - * which should be replaced by an article title
476 - * @static (arguably)
477 - * @deprecated See Interwiki class
478 - */
479 - public function getInterwikiLink( $key ) {
480 - return Interwiki::fetch( $key )->getURL( );
481 - }
482 -
483 - /**
484472 * Determine whether the object refers to a page within
485473 * this project.
486474 *
Index: trunk/phase3/RELEASE-NOTES
@@ -152,8 +152,8 @@
153153 * (bug 14118) SpecialPage::getTitleFor does not return a localised name
154154 * (bug 18698) Renaming non entry point maintenance scripts from .inc.php to
155155 .inc
156 -* Deprecated methods userCanCreate(), userCanEdit() and userCanMove() have been
157 - removed
 156+* Deprecated methods Title::getInterwikiLink, Title::userCanCreate(),
 157+ Title::userCanEdit() and Title::userCanMove() have been removed
158158
159159 == API changes in 1.16 ==
160160

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r41377New format for accessing Interwiki data. Replaced all old ways within core I ...mattj10:08, 29 September 2008

Status & tagging log