Call Linker method statically; also changed it to linkKnown()

This commit is contained in:
Alexandre Emsenhuber 2011-09-05 20:48:14 +00:00
parent 4ea2f56165
commit 16f34b4994

View file

@ -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 ) );
}
}