r74379 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r74378‎ | r74379 | r74380 >
Date:18:36, 6 October 2010
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Fixed some small issues
Modified paths:
  • /trunk/extensions/SemanticMaps/includes/queryprinters/SM_MapPrinter.php (modified) (history)
  • /trunk/extensions/SemanticMaps/includes/queryprinters/SM_QueryPrinters.php (modified) (history)

Diff [purge]

Index: trunk/extensions/SemanticMaps/includes/queryprinters/SM_QueryPrinters.php
@@ -62,6 +62,7 @@
6363 */
6464 public static function getParameterInfo() {
6565 global $egMapsDefaultServices, $egMapsAvailableGeoServices, $egMapsDefaultGeoService, $egMapsMapWidth, $egMapsMapHeight;
 66+ global $egMapsDefaultLabel, $egMapsDefaultTitle;
6667 global $smgQPForceShow, $smgQPShowTitle, $smgQPTemplate;
6768
6869 $params = MapsMapper::getCommonParameters();
Index: trunk/extensions/SemanticMaps/includes/queryprinters/SM_MapPrinter.php
@@ -202,7 +202,7 @@
203203 }
204204 else {
205205 $this->output = '<span class="errorbox">' .
206 - htmlspecialchars( wfMsgExt( 'validator-fatal-error', 'parsemag', $error->getMessage() ) ) .
 206+ htmlspecialchars( wfMsgExt( 'validator-fatal-error', 'parsemag', $fatalError->getMessage() ) ) .
207207 '</span>';
208208 }
209209

Status & tagging log