r96302 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r96301‎ | r96302 | r96303 >
Date:20:48, 5 September 2011
Author:ialex
Status:ok
Tags:
Comment:
Call Linker method statically; also changed it to linkKnown()
Modified paths:
  • /trunk/phase3/includes/PageQueryPage.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/PageQueryPage.php
@@ -21,6 +21,6 @@
2222 if ( $title instanceof Title ) {
2323 $text = $wgContLang->convert( $title->getPrefixedText() );
2424 }
25 - return $skin->link( $title, htmlspecialchars( $text ), array(), array(), array('known', 'noclasses') );
 25+ return Linker::linkKnown( $title, htmlspecialchars( $text ) );
2626 }
2727 }

Status & tagging log