From 16f34b49941dedd38ac237ed69735d6bf436d9da Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Mon, 5 Sep 2011 20:48:14 +0000 Subject: [PATCH] Call Linker method statically; also changed it to linkKnown() --- includes/PageQueryPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) ); } } -- 2.20.1