Call Linker method statically; also changed it to linkKnown()
This commit is contained in:
parent
4ea2f56165
commit
16f34b4994
1 changed files with 1 additions and 1 deletions
|
|
@ -21,6 +21,6 @@ abstract class PageQueryPage extends QueryPage {
|
|||
if ( $title instanceof Title ) {
|
||||
$text = $wgContLang->convert( $title->getPrefixedText() );
|
||||
}
|
||||
return $skin->link( $title, htmlspecialchars( $text ), array(), array(), array('known', 'noclasses') );
|
||||
return Linker::linkKnown( $title, htmlspecialchars( $text ) );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue