X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDummyLinker.php;h=ba24799818b9a7743b04d98539e1a03c3b3b4b30;hb=65054c94c2617a2d337344633b508ed510eb2885;hp=6545c4aac5c773cbf2f018ba743ec6bf68df71e4;hpb=90f599a5a2b46794a3002ee2f2563fc456a2fddb;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DummyLinker.php b/includes/DummyLinker.php index 6545c4aac5..ba24799818 100644 --- a/includes/DummyLinker.php +++ b/includes/DummyLinker.php @@ -47,7 +47,11 @@ class DummyLinker { ); } + /** + * @deprecated since 1.28, use LinkRenderer::getLinkClasses() instead + */ public function getLinkColour( $t, $threshold ) { + wfDeprecated( __METHOD__, '1.28' ); return Linker::getLinkColour( $t, $threshold ); } @@ -72,7 +76,7 @@ class DummyLinker { $html = null, $customAttribs = [], $query = [], - $options = [ 'known', 'noclasses' ] + $options = [ 'known' ] ) { return Linker::linkKnown( $target,