http://www.mediawiki.org/wiki/Special:Code/MediaWiki/72433

Revision: 72433
Author:   jeroendedauw
Date:     2010-09-05 14:29:31 +0000 (Sun, 05 Sep 2010)

Log Message:
-----------
Follow up to r72432

Modified Paths:
--------------
    trunk/extensions/Maps/Includes/Maps_Mapper.php
    trunk/extensions/Maps/Maps.php
    trunk/extensions/Maps/Services/GoogleMaps/Maps_GoogleMaps.php

Modified: trunk/extensions/Maps/Includes/Maps_Mapper.php
===================================================================
--- trunk/extensions/Maps/Includes/Maps_Mapper.php      2010-09-05 14:29:16 UTC 
(rev 72432)
+++ trunk/extensions/Maps/Includes/Maps_Mapper.php      2010-09-05 14:29:31 UTC 
(rev 72433)
@@ -17,9 +17,11 @@
         * or formatting functions are handled.
         */
        public static function initialize() {
+               /* TODO
                Validator::addValidationFunction( 'is_map_dimension', array( 
__CLASS__, 'isMapDimension' ) );
                Validator::addValidationFunction( 'is_location', array( 
__CLASS__, 'isLocation' ) );
                Validator::addValidationFunction( 'are_locations', array( 
__CLASS__, 'areLocations' ) );
+               */
 
                Validator::addOutputFormat( 'mapdimension', array( __CLASS__, 
'setMapDimension' ) );
                Validator::addOutputFormat( 'coordinateSet', array( __CLASS__, 
'formatLocation' ) );

Modified: trunk/extensions/Maps/Maps.php
===================================================================
--- trunk/extensions/Maps/Maps.php      2010-09-05 14:29:16 UTC (rev 72432)
+++ trunk/extensions/Maps/Maps.php      2010-09-05 14:29:31 UTC (rev 72433)
@@ -36,7 +36,7 @@
        echo '<b>Warning:</b> You need to have <a 
href="http://www.mediawiki.org/wiki/Extension:Validator";>Validator</a> 
installed in order to use <a 
href="http://www.mediawiki.org/wiki/Extension:Maps";>Maps</a>.';
 }
 else {
-       define( 'Maps_VERSION', '0.7 alpha-2' );
+       define( 'Maps_VERSION', '0.7 alpha-4' );
 
        // The different coordinate notations.
        define( 'Maps_COORDS_FLOAT', 'float' );

Modified: trunk/extensions/Maps/Services/GoogleMaps/Maps_GoogleMaps.php
===================================================================
--- trunk/extensions/Maps/Services/GoogleMaps/Maps_GoogleMaps.php       
2010-09-05 14:29:16 UTC (rev 72432)
+++ trunk/extensions/Maps/Services/GoogleMaps/Maps_GoogleMaps.php       
2010-09-05 14:29:31 UTC (rev 72433)
@@ -48,7 +48,8 @@
                Validator::addOutputFormat( 'gmaptype', array( __CLASS__, 
'setGMapType' ) );
                Validator::addOutputFormat( 'gmaptypes', array( __CLASS__, 
'setGMapTypes' ) );
                
-               Validator::addValidationFunction( 'is_google_overlay', array( 
__CLASS__, 'isGOverlay' ) );              
+               // TODO
+               //Validator::addValidationFunction( 'is_google_overlay', array( 
__CLASS__, 'isGOverlay' ) );            
                
                $allowedTypes = self::getTypeNames();
                



_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to