Call Linker method statically; also changed it to linkKnown()
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Mon, 5 Sep 2011 20:48:14 +0000 (20:48 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Mon, 5 Sep 2011 20:48:14 +0000 (20:48 +0000)
includes/PageQueryPage.php

index 8390241..dc5e971 100644 (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 ) );
        }
 }