summaryrefslogtreecommitdiff
path: root/includes/PageQueryPage.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2009-02-22 13:37:51 +0100
committerPierre Schmitz <pierre@archlinux.de>2009-02-22 13:37:51 +0100
commitb9b85843572bf283f48285001e276ba7e61b63f6 (patch)
tree4c6f4571552ada9ccfb4030481dcf77308f8b254 /includes/PageQueryPage.php
parentd9a20acc4e789cca747ad360d87ee3f3e7aa58c1 (diff)
updated to MediaWiki 1.14.0
Diffstat (limited to 'includes/PageQueryPage.php')
-rw-r--r--includes/PageQueryPage.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/includes/PageQueryPage.php b/includes/PageQueryPage.php
index 0d1789ee..a2091e8b 100644
--- a/includes/PageQueryPage.php
+++ b/includes/PageQueryPage.php
@@ -17,7 +17,9 @@ class PageQueryPage extends QueryPage {
public function formatResult( $skin, $row ) {
global $wgContLang;
$title = Title::makeTitleSafe( $row->namespace, $row->title );
- return $skin->makeKnownLinkObj( $title,
- htmlspecialchars( $wgContLang->convert( $title->getPrefixedText() ) ) );
+ $text = $row->title;
+ if ($title instanceof Title)
+ $text = $wgContLang->convert( $title->getPrefixedText() );
+ return $skin->link( $title, htmlspecialchars($text), array(), array(), array('known', 'noclasses') );
}
}