Index: trunk/phase3/includes/PageQueryPage.php |
— | — | @@ -17,9 +17,9 @@ |
18 | 18 | public function formatResult( $skin, $row ) { |
19 | 19 | global $wgContLang; |
20 | 20 | $title = Title::makeTitleSafe( $row->namespace, $row->title ); |
21 | | - $text = null; |
| 21 | + $text = $row->title; |
22 | 22 | if ($title instanceof Title) |
23 | | - $text = htmlspecialchars( $wgContLang->convert( $title->getPrefixedText() ) ); |
24 | | - return $skin->link( $title, $text, array(), array(), array('known', 'noclasses') ); |
| 23 | + $text = $wgContLang->convert( $title->getPrefixedText() ); |
| 24 | + return $skin->link( $title, htmlspecialchars($text), array(), array(), array('known', 'noclasses') ); |
25 | 25 | } |
26 | 26 | } |