r32976 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r32975‎ | r32976 | r32977 >
Date:18:57, 8 April 2008
Author:emiller
Status:old
Tags:
Comment:
Google Maps Extension: Fix rendering of tabbed balloons.
Modified paths:
  • /trunk/extensions/GoogleMaps/GoogleMaps.body.php (modified) (history)

Diff [purge]

Index: trunk/extensions/GoogleMaps/GoogleMaps.body.php
@@ -562,8 +562,8 @@
563563 $titleMaybeNonexistent = is_null($title) ? Title::makeTitleSafe(NS_MAIN, $pTitle) : $title;
564564 $skin = $wgUser->getSkin();
565565 $titleLink = is_null($titleMaybeNonexistent) ? '' : $skin->makeLinkObj($titleMaybeNonexistent);
566 - if (count($tabs)) {
567 - $tabs[count($tabs)-1]['gm-caption'] = $parsed;
 566+ if (count($pTabs)) {
 567+ $pTabs[count($pTabs)-1]['gm-caption'] = $parsed;
568568 $pExporter->addMarker( $pLat, $pLon, $pIcon, $pTitle, $titleLink,
569569 $pTabs, $parsedArticleText, $pLineColorSet );
570570 } else {

Status & tagging log