4 * Variant of QueryPage which formats the result as a simple link to the page
8 abstract class PageQueryPage
extends QueryPage
{
10 * Format the result as a simple link to the page
13 * @param $row Object: result row
16 public function formatResult( $skin, $row ) {
19 $title = Title
::makeTitleSafe( $row->namespace, $row->title
);
22 if ( $title instanceof Title
) {
23 $text = $wgContLang->convert( $title->getPrefixedText() );
26 return Linker
::linkKnown( $title, htmlspecialchars( $text ) );