From: Alexandre Emsenhuber Date: Mon, 5 Sep 2011 20:48:14 +0000 (+0000) Subject: Call Linker method statically; also changed it to linkKnown() X-Git-Tag: 1.31.0-rc.0~27892 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=16f34b49941dedd38ac237ed69735d6bf436d9da;p=lhc%2Fweb%2Fwiklou.git Call Linker method statically; also changed it to linkKnown() --- diff --git a/includes/PageQueryPage.php b/includes/PageQueryPage.php index 8390241f59..dc5e971d1b 100644 --- a/includes/PageQueryPage.php +++ b/includes/PageQueryPage.php @@ -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 ) ); } }