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,
[],
$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();