MediaWiki
REL1_19
|
00001 <?php 00002 00008 abstract 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 } 00024 return Linker::linkKnown( $title, htmlspecialchars( $text ) ); 00025 } 00026 }