00001 <?php 00002 00008 class PageQueryPage extends QueryPage { 00009 00017 public function formatResult( $skin, $row ) { 00018 global $wgContLang; 00019 $title = Title::makeTitleSafe( $row->namespace, $row->title ); 00020 $text = $row->title; 00021 if ($title instanceof Title) 00022 $text = $wgContLang->convert( $title->getPrefixedText() ); 00023 return $skin->link( $title, htmlspecialchars($text), array(), array(), array('known', 'noclasses') ); 00024 } 00025 }