X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FDummyLinker.php;h=9aa6aeb056d57b2578fc40d814f966f3f052bbd2;hb=a5ea73070652d807afb780a5bd9c6614b5e5a872;hp=808a406d4c4c258fe937456a2b2f3442e41f0d34;hpb=b6ac6ab899cd9baaadfc41dc82b7c9bd8dd2d1bc;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/DummyLinker.php b/includes/DummyLinker.php index 808a406d4c..9aa6aeb056 100644 --- a/includes/DummyLinker.php +++ b/includes/DummyLinker.php @@ -5,48 +5,6 @@ */ class DummyLinker { - /** - * @deprecated since 1.27 - */ - public function getInterwikiLinkAttributes( $title, $unused = null, $class = 'external' ) { - wfDeprecated( __METHOD__, '1.27' ); - return Linker::getInterwikiLinkAttributes( - $title, - $unused, - $class - ); - } - - /** - * @deprecated since 1.27 - */ - public function getInternalLinkAttributes( $title, $unused = null, $class = '' ) { - wfDeprecated( __METHOD__, '1.27' ); - return Linker::getInternalLinkAttributes( - $title, - $unused, - $class - ); - } - - /** - * @deprecated since 1.27 - */ - public function getInternalLinkAttributesObj( - $nt, - $unused = null, - $class = '', - $title = false - ) { - wfDeprecated( __METHOD__, '1.27' ); - return Linker::getInternalLinkAttributesObj( - $nt, - $unused, - $class, - $title - ); - } - /** * @deprecated since 1.28, use LinkRenderer::getLinkClasses() instead */ @@ -453,12 +411,17 @@ class DummyLinker { ); } + /** + * @deprecated since 1.28, use TemplatesOnThisPageFormatter directly + */ public function formatTemplates( $templates, $preview = false, $section = false, $more = null ) { + wfDeprecated( __METHOD__, '1.28' ); + return Linker::formatTemplates( $templates, $preview,