r58955 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r58954‎ | r58955 | r58956 >
Date:16:51, 12 November 2009
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Modified paths:
  • /trunk/extensions/Maps/ParserFunctions/DisplayMap/Maps_DisplayMap.php (modified) (history)
  • /trunk/extensions/Maps/ParserFunctions/DisplayPoint/Maps_DisplayPoint.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Maps/ParserFunctions/DisplayPoint/Maps_DisplayPoint.php
@@ -109,7 +109,7 @@
110110 elseif (trim($coords) == "" && (count($geoFails) > 0 || count($coordFails) > 0)) {
111111 if (count($coordFails) > 0) $output = '<i>' . wfMsgExt( 'maps_unrecognized_coords', array( 'parsemag' ), $wgLang->listToText( $coordFails ), count( $coordFails ) ) . '</i>';
112112 if (count($geoFails) > 0) $output = '<i>' . wfMsgExt( 'maps_geocoding_failed', array( 'parsemag' ), $wgLang->listToText( $geoFails ), count( $geoFails ) ) . '</i>';
113 - $output .= '<i>' . wfMsgExt('maps_map_cannot_be_displayed') .'</i>';
 113+ $output .= '<i>' . wfMsg('maps_map_cannot_be_displayed') .'</i>';
114114 }
115115 else {
116116 $output = '<i>'.wfMsg( 'maps_coordinates_missing' ).'</i>';
Index: trunk/extensions/Maps/ParserFunctions/DisplayMap/Maps_DisplayMap.php
@@ -108,7 +108,7 @@
109109 elseif (trim($coords) == "" && (count($geoFails) > 0 || count($coordFails) > 0)) {
110110 if (count($coordFails) > 0) $output = '<i>' . wfMsgExt( 'maps_unrecognized_coords', array( 'parsemag' ), $wgLang->listToText( $coordFails ), count( $coordFails ) ) . '</i>';
111111 if (count($geoFails) > 0) $output = '<i>' . wfMsgExt( 'maps_geocoding_failed', array( 'parsemag' ), $wgLang->listToText( $geoFails ), count( $geoFails ) ) . '</i>';
112 - $output .= '<i>' . wfMsgExt('maps_map_cannot_be_displayed') .'</i>';
 112+ $output .= '<i>' . wfMsg('maps_map_cannot_be_displayed') .'</i>';
113113 }
114114 else {
115115 $output = '<i>'.wfMsg( 'maps_coordinates_missing' ).'</i>';

Status & tagging log