Merge "Use makeLink instead of makeKnownLink on Special:WhatLinksHere"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Thu, 31 May 2018 21:39:10 +0000 (21:39 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 31 May 2018 21:39:10 +0000 (21:39 +0000)
includes/specials/SpecialWhatlinkshere.php

index 0f3bea7..942346e 100644 (file)
@@ -209,7 +209,7 @@ class SpecialWhatLinksHere extends IncludableSpecialPage {
                                                $out->addHTML( $this->getFilterPanel() );
                                        }
                                        $msgKey = is_int( $namespace ) ? 'nolinkshere-ns-2' : 'nolinkshere-2';
-                                       $link = $this->getLinkRenderer()->makeKnownLink(
+                                       $link = $this->getLinkRenderer()->makeLink(
                                                $this->target,
                                                null,
                                                [],
@@ -285,7 +285,7 @@ class SpecialWhatLinksHere extends IncludableSpecialPage {
                                $out->addHTML( $this->whatlinkshereForm() );
                                $out->addHTML( $this->getFilterPanel() );
 
-                               $link = $this->getLinkRenderer()->makeKnownLink(
+                               $link = $this->getLinkRenderer()->makeLink(
                                        $this->target,
                                        null,
                                        [],