4 * Variant of QueryPage which formats the result as a simple link to the page
8 class PageQueryPage
extends QueryPage
{
11 * Format the result as a simple link to the page
14 * @param $row Object: result row
17 public function formatResult( $skin, $row ) {
19 $title = Title
::makeTitleSafe( $row->namespace, $row->title
);
20 return $skin->makeKnownLinkObj( $title,
21 htmlspecialchars( $wgContLang->convert( $title->getPrefixedText() ) ) );