X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FDummyLinker.php;h=ba1233e546969f3a38ee6b3f77335ed11df52a28;hb=904049846c5b24d9d0cba907a61768bd27d2f226;hp=79584209337cd1a815e7bb784e59b92c9f9950ae;hpb=da18714599713986754a882541a6384c32123e7e;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DummyLinker.php b/includes/DummyLinker.php index 7958420933..ba1233e546 100644 --- a/includes/DummyLinker.php +++ b/includes/DummyLinker.php @@ -5,14 +5,6 @@ */ class DummyLinker { - /** - * @deprecated since 1.28, use LinkRenderer::getLinkClasses() instead - */ - public function getLinkColour( $t, $threshold ) { - wfDeprecated( __METHOD__, '1.28' ); - return Linker::getLinkColour( $t, $threshold ); - } - public function link( $target, $html = null, @@ -353,11 +345,11 @@ class DummyLinker { return Linker::tocLineEnd(); } - public function tocList( $toc, $lang = false ) { + public function tocList( $toc, $lang = null ) { return Linker::tocList( $toc, $lang ); } - public function generateTOC( $tree, $lang = false ) { + public function generateTOC( $tree, $lang = null ) { return Linker::generateTOC( $tree, $lang ); }