r89159 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r89158‎ | r89159 | r89160 >
Date:08:19, 30 May 2011
Author:siebrand
Status:deferred
Tags:
Comment:
Restore compatibility with trunk. Skin::makeLink() was removed.
Modified paths:
  • /trunk/extensions/BreadCrumbs/BreadCrumbsFunctions.php (modified) (history)

Diff [purge]

Index: trunk/extensions/BreadCrumbs/BreadCrumbsFunctions.php
@@ -48,7 +48,8 @@
4949 # build the breadcrumbs trail:
5050 $m_trail = '<div id="BreadCrumbsTrail">';
5151 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] );
5354 if ( $i < $m_count ) $m_trail .= $wgBreadCrumbsDelimiter;
5455 }
5556 $m_trail .= '</div>';

Follow-up revisions

RevisionCommit summaryAuthorDate
r89175Follow-up r89159:...ialex16:01, 30 May 2011

Status & tagging log