summaryrefslogtreecommitdiff
path: root/includes/PageQueryPage.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2011-06-22 11:28:20 +0200
committerPierre Schmitz <pierre@archlinux.de>2011-06-22 11:28:20 +0200
commit9db190c7e736ec8d063187d4241b59feaf7dc2d1 (patch)
tree46d1a0dee7febef5c2d57a9f7b972be16a163b3d /includes/PageQueryPage.php
parent78677c7bbdcc9739f6c10c75935898a20e1acd9e (diff)
update to MediaWiki 1.17.0
Diffstat (limited to 'includes/PageQueryPage.php')
-rw-r--r--includes/PageQueryPage.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/includes/PageQueryPage.php b/includes/PageQueryPage.php
index a2091e8b..892ff259 100644
--- a/includes/PageQueryPage.php
+++ b/includes/PageQueryPage.php
@@ -18,8 +18,9 @@ class PageQueryPage extends QueryPage {
global $wgContLang;
$title = Title::makeTitleSafe( $row->namespace, $row->title );
$text = $row->title;
- if ($title instanceof Title)
- $text = $wgContLang->convert( $title->getPrefixedText() );
- return $skin->link( $title, htmlspecialchars($text), array(), array(), array('known', 'noclasses') );
+ if ( $title instanceof Title ) {
+ $text = $wgContLang->convert( $title->getPrefixedText() );
+ }
+ return $skin->link( $title, htmlspecialchars( $text ), array(), array(), array('known', 'noclasses') );
}
}