Localisation updates from https://translatewiki.net.
[lhc/web/wiklou.git] / includes / specials / SpecialWhatlinkshere.php
index 0f3bea7..c2adf8d 100644 (file)
@@ -208,8 +208,8 @@ class SpecialWhatLinksHere extends IncludableSpecialPage {
                                        if ( $hidelinks || $hidetrans || $hideredirs || $hideimages ) {
                                                $out->addHTML( $this->getFilterPanel() );
                                        }
-                                       $msgKey = is_int( $namespace ) ? 'nolinkshere-ns-2' : 'nolinkshere-2';
-                                       $link = $this->getLinkRenderer()->makeKnownLink(
+                                       $msgKey = is_int( $namespace ) ? 'nolinkshere-ns' : 'nolinkshere';
+                                       $link = $this->getLinkRenderer()->makeLink(
                                                $this->target,
                                                null,
                                                [],
@@ -285,14 +285,14 @@ class SpecialWhatLinksHere extends IncludableSpecialPage {
                                $out->addHTML( $this->whatlinkshereForm() );
                                $out->addHTML( $this->getFilterPanel() );
 
-                               $link = $this->getLinkRenderer()->makeKnownLink(
+                               $link = $this->getLinkRenderer()->makeLink(
                                        $this->target,
                                        null,
                                        [],
                                        $this->target->isRedirect() ? [ 'redirect' => 'no' ] : []
                                );
 
-                               $msg = $this->msg( 'linkshere-2' )
+                               $msg = $this->msg( 'linkshere' )
                                        ->params( $this->target->getPrefixedText() )
                                        ->rawParams( $link )
                                        ->parseAsBlock();