From 9db190c7e736ec8d063187d4241b59feaf7dc2d1 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 22 Jun 2011 11:28:20 +0200 Subject: update to MediaWiki 1.17.0 --- includes/PageQueryPage.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'includes/PageQueryPage.php') 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') ); } } -- cgit v1.2.3-54-g00ecf