https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113699
Revision: 113699
Author: wikinaut
Date: 2012-03-13 00:42:37 +0000 (Tue, 13 Mar 2012)
Log Message:
-----------
follow up r113648 . ad-hoc fix to avoid PHP warnings due to change in message
text handling.
Modified Paths:
--------------
trunk/extensions/GoogleMaps/GoogleMaps.body.php
trunk/extensions/GoogleMaps/GoogleMaps.php
Modified: trunk/extensions/GoogleMaps/GoogleMaps.body.php
===================================================================
--- trunk/extensions/GoogleMaps/GoogleMaps.body.php 2012-03-13 00:38:27 UTC
(rev 113698)
+++ trunk/extensions/GoogleMaps/GoogleMaps.body.php 2012-03-13 00:42:37 UTC
(rev 113699)
@@ -859,6 +859,10 @@
* @return string - the javascript for initializing the '_' variable
**/
function getMessageJS ( ) {
+
+ /* FIXME */
+ return "var _ = {};";
+
$translation = "var _ = { ";
foreach( array_keys( $this->mMessages["en"] ) as $key ) {
$translation .= "'$key':'" . addslashes(
$this->translateMessage( $key ) ) . "', ";
Modified: trunk/extensions/GoogleMaps/GoogleMaps.php
===================================================================
--- trunk/extensions/GoogleMaps/GoogleMaps.php 2012-03-13 00:38:27 UTC (rev
113698)
+++ trunk/extensions/GoogleMaps/GoogleMaps.php 2012-03-13 00:42:37 UTC (rev
113699)
@@ -5,7 +5,7 @@
# Copyright Evan Miller ([email protected])
# Modifications copyright Joshua Hodge
-# Version 0.9.42 2012-03-12
+# Version 0.9.43 2012-03-12
define('GOOGLE_MAPS_EXTENSION_VERSION', '0.9.43');
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs