From: Aryeh Gregor Date: Tue, 5 Aug 2008 20:09:07 +0000 (+0000) Subject: Okay, let's not use wfDeprecated() when there are still several hundred uses througho... X-Git-Tag: 1.31.0-rc.0~46106 X-Git-Url: https://git.cyclocoop.org/%27.%24link.%27?a=commitdiff_plain;h=e3f12006c84786394aa6358d69daad942b5102a3;p=lhc%2Fweb%2Fwiklou.git Okay, let's not use wfDeprecated() when there are still several hundred uses throughout core code and major extensions. --- diff --git a/includes/Linker.php b/includes/Linker.php index 9cee79f2b3..e6874a069f 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -325,7 +325,6 @@ class Linker { * the end of the link. */ function makeLink( $title, $text = '', $query = '', $trail = '' ) { - wfDeprecated( __METHOD__ ); wfProfileIn( __METHOD__ ); $nt = Title::newFromText( $title ); if ( $nt instanceof Title ) { @@ -353,7 +352,6 @@ class Linker { * the end of the link. */ function makeKnownLink( $title, $text = '', $query = '', $trail = '', $prefix = '',$aprops = '') { - wfDeprecated( __METHOD__ ); $nt = Title::newFromText( $title ); if ( $nt instanceof Title ) { return $this->makeKnownLinkObj( $nt, $text, $query, $trail, $prefix , $aprops ); @@ -377,7 +375,6 @@ class Linker { * the end of the link. */ function makeBrokenLink( $title, $text = '', $query = '', $trail = '' ) { - wfDeprecated( __METHOD__ ); $nt = Title::newFromText( $title ); if ( $nt instanceof Title ) { return $this->makeBrokenLinkObj( $nt, $text, $query, $trail ); @@ -428,7 +425,6 @@ class Linker { * @param $prefix String: optional prefix. As trail, only before instead of after. */ function makeLinkObj( Title $nt, $text= '', $query = '', $trail = '', $prefix = '' ) { - wfDeprecated( __METHOD__ ); global $wgUser; wfProfileIn( __METHOD__ ); @@ -462,7 +458,6 @@ class Linker { * @return the a-element */ function makeKnownLinkObj( Title $title, $text = '', $query = '', $trail = '', $prefix = '' , $aprops = '', $style = '' ) { - wfDeprecated( __METHOD__ ); wfProfileIn( __METHOD__ ); if ( $text == '' ) { @@ -495,7 +490,6 @@ class Linker { * the end of the link. */ function makeBrokenLinkObj( Title $title, $text = '', $query = '', $trail = '', $prefix = '' ) { - wfDeprecated( __METHOD__ ); wfProfileIn( __METHOD__ ); list( $inside, $trail ) = Linker::splitTrail( $trail ); @@ -542,7 +536,6 @@ class Linker { * the end of the link. */ function makeColouredLinkObj( $nt, $colour, $text = '', $query = '', $trail = '', $prefix = '' ) { - wfDeprecated( __METHOD__ ); if($colour != ''){ $style = $this->getInternalLinkAttributesObj( $nt, $text, $colour ); } else $style = '';