Index: trunk/extensions/BreadCrumbs/BreadCrumbsFunctions.php |
— | — | @@ -48,7 +48,8 @@ |
49 | 49 | # build the breadcrumbs trail: |
50 | 50 | $m_trail = '<div id="BreadCrumbsTrail">'; |
51 | 51 | for ( $i = 0; $i <= $m_count; $i++ ) { |
52 | | - $m_trail .= $m_skin->makeLink( $m_BreadCrumbs[$i] ); |
| 52 | + $title = Title:newFromText( $m_BreadCrumbs[$i] ); |
| 53 | + $m_trail .= Linker::link( $title, $m_BreadCrumbs[$i] ); |
53 | 54 | if ( $i < $m_count ) $m_trail .= $wgBreadCrumbsDelimiter; |
54 | 55 | } |
55 | 56 | $m_trail .= '</div>'; |