Index: trunk/extensions/IndexFunction/SpecialIndex.php |
— | — | @@ -26,8 +26,9 @@ |
27 | 27 | return $ret; |
28 | 28 | } else { |
29 | 29 | $ret = Xml::openElement( 'tr' ); |
| 30 | + $targettitle = Title::makeTitle( $row->ns, $row->title ); |
30 | 31 | $title = SpecialPage::getTitleFor( 'Index', $row->title ); |
31 | | - $link = $sk->link( $title, $row->title, array( 'class'=>'mw-index' ), array(), array( 'known', 'noclasses' ) ); |
| 32 | + $link = $sk->link( $title, $targettitle->getPrefixedText(), array( 'class'=>'mw-index' ), array(), array( 'known', 'noclasses' ) ); |
32 | 33 | |
33 | 34 | $jsid = $this->mJSid; |
34 | 35 | $expandTitle = wfMsgHtml( 'index-expand-detail' ); |