r73665 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r73664‎ | r73665 | r73666 >
Date:17:15, 24 September 2010
Author:jeroendedauw
Status:deferred
Tags:
Comment:
Changes for 0.7 - fixed small issue caused by parameter rename some commits back
Modified paths:
  • /trunk/extensions/Maps/includes/parserHooks/Maps_Geocode.php (modified) (history)
  • /trunk/extensions/Maps/includes/services/GoogleMaps/GoogleMaps.php (modified) (history)

Diff [purge]

Index: trunk/extensions/Maps/includes/services/GoogleMaps/GoogleMaps.php
@@ -33,9 +33,10 @@
3434 function efMapsInitGoogleMaps() {
3535 global $wgAutoloadClasses;
3636
37 - $wgAutoloadClasses['MapsGoogleMaps'] = dirname( __FILE__ ) . '/Maps_GoogleMaps.php';
38 - $wgAutoloadClasses['MapsGoogleMapsDispMap'] = dirname( __FILE__ ) . '/Maps_GoogleMapsDispMap.php';
39 - $wgAutoloadClasses['MapsGoogleMapsDispPoint'] = dirname( __FILE__ ) . '/Maps_GoogleMapsDispPoint.php';
 37+ $wgAutoloadClasses['MapsGoogleMaps'] = dirname( __FILE__ ) . '/Maps_GoogleMaps.php';
 38+ $wgAutoloadClasses['CriterionGoogleOverlay'] = dirname( __FILE__ ) . '/CriterionGoogleOverlay.php';
 39+ $wgAutoloadClasses['MapsGoogleMapsDispMap'] = dirname( __FILE__ ) . '/Maps_GoogleMapsDispMap.php';
 40+ $wgAutoloadClasses['MapsGoogleMapsDispPoint'] = dirname( __FILE__ ) . '/Maps_GoogleMapsDispPoint.php';
4041
4142 MapsMappingServices::registerService( 'googlemaps2', 'MapsGoogleMaps' );
4243 $googleMaps = MapsMappingServices::getServiceInstance( 'googlemaps2' );
Index: trunk/extensions/Maps/includes/parserHooks/Maps_Geocode.php
@@ -126,7 +126,7 @@
127127 * @return array
128128 */
129129 protected function getDefaultParameters() {
130 - return array( 'location', 'service', 'mappingservice' );
 130+ return array( 'location', 'geoservice', 'mappingservice' );
131131 }
132132
133133 /**

Follow-up revisions

RevisionCommit summaryAuthorDate
r73667CHanges for 0.7 - follow up to r73665jeroendedauw17:21, 24 September 2010

Status & tagging log